Re: [PATCH v2 08/13] x86/irq: Install posted MSI notification handler

From: Thomas Gleixner
Date: Thu Apr 11 2024 - 14:06:25 EST


On Fri, Apr 05 2024 at 15:31, Jacob Pan wrote:
>
> #ifdef CONFIG_SMP
> diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c
> index fc37c8d83daf..f445bec516a0 100644
> --- a/arch/x86/kernel/idt.c
> +++ b/arch/x86/kernel/idt.c
> @@ -163,6 +163,9 @@ static const __initconst struct idt_data apic_idts[] = {
> # endif
> INTG(SPURIOUS_APIC_VECTOR, asm_sysvec_spurious_apic_interrupt),
> INTG(ERROR_APIC_VECTOR, asm_sysvec_error_interrupt),
> +# ifdef CONFIG_X86_POSTED_MSI
> + INTG(POSTED_MSI_NOTIFICATION_VECTOR, asm_sysvec_posted_msi_notification),
> +# endif
> #endif
> };

Obviously lacks FRED support...