From: Stefan Roese <sr@denx.de>
To: linux-pci@vger.kernel.org
Subject: [PATCH v4 0/2] Add support to register platform service IRQ
Date: Fri, 14 Jan 2022 08:58:32 +0100 [thread overview]
Message-ID: <20220114075834.1938409-1-sr@denx.de> (raw)
Some platforms have dedicated IRQ lines for platform-specific System Errors
like AER/PME etc. The root complex on these platform will use these seperate
IRQ lines to report AER/PME etc., interrupts and will not generate
MSI/MSI-X/INTx interrupts for these services.
These patches will add new method for these kind of platforms to register the
platform IRQ number with respective PCIe services.
Changes in v4 (Stefan):
- Remove 2nd check for PCI_EXP_TYPE_ROOT_PORT
- Change init_platform_service_irqs() from void to return int
Changes in v3 (Stefan):
- Restructure patches from 4 patches in v2 to now 2 patches in v3
- Rename of functions names
- init_platform_service_irqs() now uses "struct pci_dev *" instead of
"struct pci_host_bridge *"
- pcie_init_platform_service_irqs() is called before pcie_init_service_irqs()
- Use more PCIe spec terminology as suggested by Bjorn (hopefully enough, I
don't have the spec at hand)
Bharat Kumar Gogada (2):
PCI/portdrv: Add option to setup IRQs for platform-specific Service
Errors
PCI: xilinx-nwl: Add method to init_platform_service_irqs hook
drivers/pci/controller/pcie-xilinx-nwl.c | 18 +++++++++++
drivers/pci/pcie/portdrv_core.c | 39 +++++++++++++++++++++++-
include/linux/pci.h | 2 ++
3 files changed, 58 insertions(+), 1 deletion(-)
--
2.34.1
next reply other threads:[~2022-01-14 7:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 7:58 Stefan Roese [this message]
2022-01-14 7:58 ` [PATCH v4 1/2] PCI/portdrv: Add option to setup IRQs for platform-specific Service Errors Stefan Roese
2022-01-14 11:46 ` Pali Rohár
2022-05-28 0:09 ` Bjorn Helgaas
2022-05-30 8:18 ` Stefan Roese
2022-05-30 8:32 ` Pali Rohár
2022-05-31 21:31 ` Bjorn Helgaas
2022-05-31 22:57 ` Pali Rohár
2022-06-01 11:47 ` Stefan Roese
2022-06-01 11:53 ` Pali Rohár
2022-06-08 18:39 ` Bjorn Helgaas
2022-01-14 7:58 ` [PATCH v4 2/2] PCI: xilinx-nwl: Add method to init_platform_service_irqs hook Stefan Roese
2022-01-14 11:48 ` Pali Rohár
2022-01-14 12:13 ` Stefan Roese
2022-01-14 12:34 ` Pali Rohár
2022-01-14 17:03 ` Stefan Roese
2022-03-24 16:52 ` [PATCH v4 0/2] Add support to register platform service IRQ Stefan Roese
2022-03-31 15:30 ` Bjorn Helgaas
2022-04-01 6:28 ` Stefan Roese
2022-04-01 12:35 ` 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=20220114075834.1938409-1-sr@denx.de \
--to=sr@denx.de \
--cc=linux-pci@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).