Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: interrupts on APs



On Wed, Dec 07, 2011 at 11:50:22AM +0000, Matthias Scheler wrote:
> On Wed, Dec 07, 2011 at 04:05:34AM +0000, YAMAMOTO Takashi wrote:
> > > Did anyone looks at what linux is doing in this area ? they have
> > > cpu/chipset/motherboard blaklists for a lot of things ...
> > 
> > only think i'm aware of is the "no_irq_affinity" quirk for E7520/7320/7525.
> > from their comment:
> > 
> >         /* BIOS may enable hardware IRQ balancing for
> >          * E7520/E7320/E7525(revision ID 0x9 and below)
> >          * based platforms.
> >          * Disable SW irqbalance/affinity on those platforms.
> >          */
> > 
> > can anyone test on those hardware?
> 
> I've got a Dual Core machine with an Intel E7230 chipset:
> 
>       HP ProLiant ML110 G4 (1.0)
>       [...]
>       pchb0: Intel E7230 Host (rev. 0xc0)
> 
> But I would need a patch for "netbsd-5".

I think it's the same as with -HEAD: just change:
#if 0
                        if (ci == NULL ||
                            ci->ci_nintrhand > lci->ci_nintrhand) {
                                ci = lci;
                        }
#else
                       ci = &cpu_info_primary;
#endif

to #if 1 in x86/x86/intr.c

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index