raiden00pl opened a new pull request, #20484:
URL: https://github.com/apache/nuttx/pull/20484

   ## Summary
   
   arch/x86_64/intel64: attach shared vector handlers only once.
   
   The vector table is shared by all CPUs, but the fault, debug and SMP
   IPI handlers were attached again on every CPU (up_irqinitialize(),
   x86_64_hwdebug_init() and x86_64_ap_boot()). With CONFIG_IRQCHAIN this
   adds duplicate chain entries per CPU and exhausts the IRQ chain pool,
   so later irq_attach() calls from drivers fail with -ENOMEM.
   
   Attach these handlers once, on CPU0. The SMP IPI handler prototypes
   move to intel64.h, under CONFIG_SMP.
   
   ## Impact
   
   fix issue when CONFIG_IRQCHAIN=y and SMP are enabled for intel64
   
   ## Testing
   
   qemu-intel64 with CAN and NIC that share the same legacy PCI interrupt works 
correctly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to