Re: [PATCH] x86_64: clear IO_APIC before enabing apic error vector. v2

Adrian Bunk
2008-01-01T23:17:38Z

On Sun, Dec 30, 2007 at 04:56:35PM -0800, Yinghai Lu wrote:
> On Dec 30, 2007 4:28 PM, Adrian Bunk <bunk@kernel.org> wrote:
>...
> > Sorry for the dumb question, but what in
> >
> > + if (!smp_processor_id() && !skip_ioapic_setup && nr_ioapics)
> > + enable_IO_APIC();
> >
> > guarantees that this call doesn't happen when you hotplug CPU 0 ?
>
> so we can hotplug cpu0 or the bsp?

Honestly I don't know the amd64 architecture well enough for telling
whether the hardware allows it or not.

> YH

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed