mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: valmiki <valmikibow@gmail.com>
To: linux-pci <linux-pci@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
	sbodomerle@gmail.com, rjui@broadcom.com
Subject: Affinity on non MSI-X interrupts
Date: Sat, 24 Feb 2018 00:47:00 +0530	[thread overview]
Message-ID: <714a8d82-c4b0-9661-5b78-ed0d87a0a5fc@gmail.com> (raw)

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

                 reply	other threads:[~2018-02-23 19:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=714a8d82-c4b0-9661-5b78-ed0d87a0a5fc@gmail.com \
    --to=valmikibow@gmail.com \
    --cc=helgaas@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=rjui@broadcom.com \
    --cc=sbodomerle@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®