From: Srinath Mannam <srinath.mannam@broadcom.com>
To: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Ray Jui <rjui@broadcom.com>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Andrew Murray <andrew.murray@arm.com>,
Arnd Bergmann <arnd@arndb.de>
Cc: bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Srinath Mannam <srinath.mannam@broadcom.com>
Subject: [PATCH v4 0/6] PAXB INTx support with proper model
Date: Fri, 20 Dec 2019 09:24:12 +0530 [thread overview]
Message-ID: <1576814058-30003-1-git-send-email-srinath.mannam@broadcom.com> (raw)
This patch series adds PCIe legacy interrupt (INTx) support to the iProc
PCIe driver by modeling it with its own IRQ domain. All 4 interrupts INTA,
INTB, INTC, INTD share the same interrupt line connected to the GIC
in the system. This is now modeled by using its own IRQ domain.
Also update all relevant devicetree files to adapt to the new model.
This patch set is based on Linux-5.5-rc1.
Changes from v3:
- Addressed Andrew Murray's comments
- Add change to dispose VIRQ when disabling INTx
Changes from v2:
- Addressed Lorenzo's comments
- Corrected INTx to PIN mapping.
Changes from v1:
- Addressed Rob, Lorenzo, Arnd's comments
- Used child node for interrupt controller.
- Addressed Andy Shevchenko's comments
- Replaced while loop with do-while.
Ray Jui (6):
dt-bindings: pci: Update iProc PCI binding for INTx support
PCI: iproc: Add INTx support with better modeling
arm: dts: Change PCIe INTx mapping for Cygnus
arm: dts: Change PCIe INTx mapping for NSP
arm: dts: Change PCIe INTx mapping for HR2
arm64: dts: Change PCIe INTx mapping for NS2
.../devicetree/bindings/pci/brcm,iproc-pcie.txt | 48 +++++++--
arch/arm/boot/dts/bcm-cygnus.dtsi | 30 +++++-
arch/arm/boot/dts/bcm-hr2.dtsi | 30 +++++-
arch/arm/boot/dts/bcm-nsp.dtsi | 45 +++++++--
arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 28 +++++-
drivers/pci/controller/pcie-iproc.c | 108 ++++++++++++++++++++-
drivers/pci/controller/pcie-iproc.h | 6 ++
7 files changed, 268 insertions(+), 27 deletions(-)
--
2.7.4
next reply other threads:[~2019-12-20 3:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-20 3:54 Srinath Mannam [this message]
2019-12-20 3:54 ` [PATCH v4 1/6] dt-bindings: pci: Update iProc PCI binding for INTx support Srinath Mannam
2019-12-20 3:54 ` [PATCH v4 2/6] PCI: iproc: Add INTx support with better modeling Srinath Mannam
2020-01-06 12:38 ` Andrew Murray
2020-01-14 15:37 ` Lorenzo Pieralisi
2019-12-20 3:54 ` [PATCH v4 3/6] arm: dts: Change PCIe INTx mapping for Cygnus Srinath Mannam
2019-12-20 3:54 ` [PATCH v4 4/6] arm: dts: Change PCIe INTx mapping for NSP Srinath Mannam
2019-12-20 3:54 ` [PATCH v4 5/6] arm: dts: Change PCIe INTx mapping for HR2 Srinath Mannam
2019-12-20 3:54 ` [PATCH v4 6/6] arm64: dts: Change PCIe INTx mapping for NS2 Srinath Mannam
2020-01-06 19:25 ` [PATCH v4 0/6] PAXB INTx support with proper model Florian Fainelli
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=1576814058-30003-1-git-send-email-srinath.mannam@broadcom.com \
--to=srinath.mannam@broadcom.com \
--cc=andrew.murray@arm.com \
--cc=andy.shevchenko@gmail.com \
--cc=arnd@arndb.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=mark.rutland@arm.com \
--cc=rjui@broadcom.com \
--cc=robh+dt@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).