linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Affinity on non MSI-X interrupts
@ 2018-02-23 19:17 valmiki
  0 siblings, 0 replies; only message in thread
From: valmiki @ 2018-02-23 19:17 UTC (permalink / raw)
  To: linux-pci, Linux Kernel Mailing List; +Cc: Bjorn Helgaas, sbodomerle, rjui

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-23 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 19:17 Affinity on non MSI-X interrupts valmiki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).