Affinity on non MSI-X interrupts

From: valmiki
Date: Fri Feb 23 2018 - 14:17:08 EST


Hi,

Does multi MSI interrupts will also be set and routed by affinity ?

In drivers/pci/host/pcie-iproc-msi.c interrupt handler there is do while loop.
head = iproc_msi_read_reg(msi, IPROC_MSI_EQ_HEAD,
eq) & IPROC_MSI_EQ_MASK;
do {
tail = iproc_msi_read_reg(msi, IPROC_MSI_EQ_TAIL,
eq) & IPROC_MSI_EQ_MASK;

.....
}


*/
} while (true);

What happens if two multi MSI cards are connected and continuously running traffic ? Will this handler ever come out? wont this stall CPU ?
Will the interrupts be routed to different CPU's in this case also?

Regards,
Valmiki


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus