All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhou Wang <wangzhou1@hisilicon.com>
To: <linux-pci@vger.kernel.org>
Cc: <gabriele.paoloni@huawei.com>,
	"liudongdong (C)" <liudongdong3@huawei.com>,
	Wei Xu <xuwei5@hisilicon.com>, <zhangzhihai@hisilicon.com>,
	<jiashi.lin@hisilicon.com>, <wangzhou1@hisilicon.com>
Subject: Help about MSI support in PCI Express Bus support driver
Date: Thu, 22 Dec 2016 16:51:29 +0800	[thread overview]
Message-ID: <585B9411.7050006@hisilicon.com> (raw)

Hi All,

I have noticed that MSI support in PCI Express Bus support driver does not match
with the PCIe spec.

In function init_service_irqs, we get interrupts of all PCIe port services.
We only use one MSI for all the PCIe port services, which does not match with
PCIe3.0 spec.

Interrupt Message Number bits are used to indicate which MSI vector will be used
for a PCIe port service. The related definitions can be found in 6.2.4.1.2 for AER,
6.7.3.4 for hotplug, 6.2.10.1 for DPC, 6.1.6 for PME.

So do we have a plan to fix this feature? just like what we did in pcie_port_enable_msix.
Please let me know if I missed something.

It will be very appreciated if anyone can share ideas about this problem!

Thanks,
Zhou


             reply	other threads:[~2016-12-22  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22  8:51 Zhou Wang [this message]
2016-12-22 21:28 ` Help about MSI support in PCI Express Bus support driver Bjorn Helgaas

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=585B9411.7050006@hisilicon.com \
    --to=wangzhou1@hisilicon.com \
    --cc=gabriele.paoloni@huawei.com \
    --cc=jiashi.lin@hisilicon.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=liudongdong3@huawei.com \
    --cc=xuwei5@hisilicon.com \
    --cc=zhangzhihai@hisilicon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.