Re: [PATCH 3/3] x86/irq: update first_system_vector only when X86_LOCAL_PIC is on
From: Jianyu Zhan
Date: Sun Mar 13 2016 - 03:42:00 EST
On Sun, Mar 13, 2016 at 3:25 PM, Jianyu Zhan <nasa4836@xxxxxxxxx> wrote:
> My purpose of posting this patch set is trying to make the system vector layout
> reveal this fact.
>
> we have SMP system vector defined first( these may rely on or not rely
> on CONFIG_X86_LOCAL_APIC),
>
> then comes the CONFIG_X86_LOCAL_APIC dependent vector definition.
>
> then comes the rest vector definition that not only depends on
> CONFIG_X86_LOCAL_APIC, but
> also others(like MCE, virtualization).
>
> Among these stands out IRQ_WORK, which neither depends on SMP nor
> CONFIG_X86_LOCAL_APIC.
>
My wording is incorrect, should be like this:
The new system vector layout:
First, two special vector: spurious and error.
Second, we have SMP system vector defined first( these implicitly
reply on CONFIG_X86_LOCAL_APIC),
Third, comes the CONFIG_X86_LOCAL_APIC dependent vector definition,
but not necessary
SMP dependent.( Among these stands out IRQ_WORK, which neither
depends on SMP nor
CONFIG_X86_LOCAL_APIC.)
Finally, comes the rest vector definition that not only depends on
CONFIG_X86_LOCAL_APIC, but
also others(like MCE, virtualization).
Regards,
Jianyu Zhan