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

From: Jacob Pan
Date: Thu Apr 11 2024 - 14:41:29 EST


Hi Thomas,

On Thu, 11 Apr 2024 18:54:29 +0200, Thomas Gleixner <tglx@xxxxxxxxxxxxx>
wrote:

> 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...
Good point, forgot FRED is merged :)

Will add an entry to entry_fred.c. I would not be able to test performance
though.

Thanks,

Jacob