[PATCH 00/23] arm64: dts: qcom: Add 'global' IRQ to supported SoCs

Manivannan Sadhasivam via B4 Relay posted 23 patches 11 months, 2 weeks ago
.../devicetree/bindings/pci/qcom,pcie-sa8775p.yaml | 10 ++--
.../devicetree/bindings/pci/qcom,pcie-sc7280.yaml  |  9 ++--
.../devicetree/bindings/pci/qcom,pcie-sc8180x.yaml | 10 ++--
.../devicetree/bindings/pci/qcom,pcie-sm8150.yaml  |  9 ++--
.../devicetree/bindings/pci/qcom,pcie-sm8250.yaml  |  9 ++--
.../devicetree/bindings/pci/qcom,pcie-sm8350.yaml  |  9 ++--
.../devicetree/bindings/pci/qcom,pcie.yaml         | 14 ++++--
arch/arm64/boot/dts/qcom/ipq6018.dtsi              | 20 +++++++-
arch/arm64/boot/dts/qcom/ipq8074.dtsi              | 40 ++++++++++++++--
arch/arm64/boot/dts/qcom/msm8996.dtsi              | 54 +++++++++++++++++++---
arch/arm64/boot/dts/qcom/msm8998.dtsi              | 20 +++++++-
arch/arm64/boot/dts/qcom/sa8775p.dtsi              | 28 ++++++++---
arch/arm64/boot/dts/qcom/sar2130p.dtsi             | 12 +++--
arch/arm64/boot/dts/qcom/sc7280.dtsi               | 14 ++++--
arch/arm64/boot/dts/qcom/sc8180x.dtsi              | 24 ++++++----
arch/arm64/boot/dts/qcom/sdm845.dtsi               | 40 ++++++++++++++--
arch/arm64/boot/dts/qcom/sm8150.dtsi               | 12 +++--
arch/arm64/boot/dts/qcom/sm8250.dtsi               | 18 +++++---
arch/arm64/boot/dts/qcom/sm8350.dtsi               | 12 +++--
arch/arm64/boot/dts/qcom/x1e80100.dtsi             | 18 +++++---
20 files changed, 300 insertions(+), 82 deletions(-)
[PATCH 00/23] arm64: dts: qcom: Add 'global' IRQ to supported SoCs
Posted by Manivannan Sadhasivam via B4 Relay 11 months, 2 weeks ago
Hi,

This series adds the Qualcomm specific 'global' IRQ to the supported SoCs.
This IRQ is used to receive the PCIe controller and link specific events
such as Link Up/Down, MSI, PTM etc... in the driver. Support for this IRQ
was already added to the pcie-qcom driver. So enabling this IRQ would allow
the driver to enumerate the endpoint device and also retrain the link when
the device is removed [1] without user intervention.

This series also adds missing MSI SPI IRQ to some of the SoCs.

Testing
=======

This series was tested on Qualcomm RB5 board based on SM8250 SoC and
Qualcomm Ride MX board based on SA8775p SoC.

NOTE
====

I've left a few SoCs in the tree like QCS404, SC8280XP due to lack of
documentation. Those will be added later.

[1] https://lore.kernel.org/linux-pci/20250221172309.120009-1-manivannan.sadhasivam@linaro.org/

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
Manivannan Sadhasivam (23):
      dt-bindings: PCI: qcom,pcie-sm8150: Add 'global' interrupt
      arm64: dts: qcom: sm8150: Add 'global' PCIe interrupt
      dt-bindings: PCI: qcom,pcie-sm8250: Add 'global' interrupt
      arm64: dts: qcom: sm8250: Add 'global' PCIe interrupt
      dt-bindings: PCI: qcom,pcie-sm8350: Add 'global' interrupt
      arm64: dts: qcom: sm8350: Add 'global' PCIe interrupt
      dt-bindings: PCI: qcom,pcie-sa8775p: Add 'global' interrupt
      arm64: dts: qcom: sa8775p: Add 'global' PCIe interrupt
      dt-bindings: PCI: qcom,pcie-sc7280: Add 'global' interrupt
      arm64: dts: qcom: sc7280: Add 'global' PCIe interrupt
      dt-bindings: PCI: qcom: Add 'global' interrupt for SDM845 SoC
      arm64: dts: qcom: sdm845: Add missing MSI and 'global' IRQs
      arm64: dts: qcom: msm8996: Add missing MSI SPI interrupts
      dt-bindings: PCI: qcom: Allow MSM8998 to use 8 MSI and one 'global' interrupt
      arm64: dts: qcom: msm8998: Add missing MSI and 'global' IRQs
      dt-bindings: PCI: qcom: Allow IPQ8074 to use 8 MSI and one 'global' interrupt
      arm64: dts: qcom: ipq8074: Add missing MSI and 'global' IRQs
      dt-bindings: PCI: qcom: Allow IPQ6018 to use 8 MSI and one 'global' interrupt
      arm64: dts: qcom: ipq6018: Add missing MSI and 'global' IRQs
      dt-bindings: PCI: qcom,pcie-sc8180x: Add 'global' interrupt
      arm64: dts: qcom: sc8180x: Add 'global' PCIe interrupt
      arm64: dts: qcom: sar2130p: Add 'global' PCIe interrupt
      arm64: dts: qcom: x1e80100: Add missing 'global' PCIe interrupt

 .../devicetree/bindings/pci/qcom,pcie-sa8775p.yaml | 10 ++--
 .../devicetree/bindings/pci/qcom,pcie-sc7280.yaml  |  9 ++--
 .../devicetree/bindings/pci/qcom,pcie-sc8180x.yaml | 10 ++--
 .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml  |  9 ++--
 .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml  |  9 ++--
 .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml  |  9 ++--
 .../devicetree/bindings/pci/qcom,pcie.yaml         | 14 ++++--
 arch/arm64/boot/dts/qcom/ipq6018.dtsi              | 20 +++++++-
 arch/arm64/boot/dts/qcom/ipq8074.dtsi              | 40 ++++++++++++++--
 arch/arm64/boot/dts/qcom/msm8996.dtsi              | 54 +++++++++++++++++++---
 arch/arm64/boot/dts/qcom/msm8998.dtsi              | 20 +++++++-
 arch/arm64/boot/dts/qcom/sa8775p.dtsi              | 28 ++++++++---
 arch/arm64/boot/dts/qcom/sar2130p.dtsi             | 12 +++--
 arch/arm64/boot/dts/qcom/sc7280.dtsi               | 14 ++++--
 arch/arm64/boot/dts/qcom/sc8180x.dtsi              | 24 ++++++----
 arch/arm64/boot/dts/qcom/sdm845.dtsi               | 40 ++++++++++++++--
 arch/arm64/boot/dts/qcom/sm8150.dtsi               | 12 +++--
 arch/arm64/boot/dts/qcom/sm8250.dtsi               | 18 +++++---
 arch/arm64/boot/dts/qcom/sm8350.dtsi               | 12 +++--
 arch/arm64/boot/dts/qcom/x1e80100.dtsi             | 18 +++++---
 20 files changed, 300 insertions(+), 82 deletions(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250227-pcie-global-irq-dd1cd5688d71

Best regards,
-- 
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Re: [PATCH 00/23] arm64: dts: qcom: Add 'global' IRQ to supported SoCs
Posted by Dmitry Baryshkov 11 months, 2 weeks ago
On Thu, Feb 27, 2025 at 07:10:42PM +0530, Manivannan Sadhasivam via B4 Relay wrote:
> Hi,
> 
> This series adds the Qualcomm specific 'global' IRQ to the supported SoCs.
> This IRQ is used to receive the PCIe controller and link specific events
> such as Link Up/Down, MSI, PTM etc... in the driver. Support for this IRQ
> was already added to the pcie-qcom driver. So enabling this IRQ would allow
> the driver to enumerate the endpoint device and also retrain the link when
> the device is removed [1] without user intervention.
> 
> This series also adds missing MSI SPI IRQ to some of the SoCs.
> 
> Testing
> =======
> 
> This series was tested on Qualcomm RB5 board based on SM8250 SoC and
> Qualcomm Ride MX board based on SA8775p SoC.
> 
> NOTE
> ====
> 
> I've left a few SoCs in the tree like QCS404, SC8280XP due to lack of
> documentation. Those will be added later.

Also IPQ9574. For the series:

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> 
> [1] https://lore.kernel.org/linux-pci/20250221172309.120009-1-manivannan.sadhasivam@linaro.org/
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
> Manivannan Sadhasivam (23):
>       dt-bindings: PCI: qcom,pcie-sm8150: Add 'global' interrupt
>       arm64: dts: qcom: sm8150: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sm8250: Add 'global' interrupt
>       arm64: dts: qcom: sm8250: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sm8350: Add 'global' interrupt
>       arm64: dts: qcom: sm8350: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sa8775p: Add 'global' interrupt
>       arm64: dts: qcom: sa8775p: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sc7280: Add 'global' interrupt
>       arm64: dts: qcom: sc7280: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom: Add 'global' interrupt for SDM845 SoC
>       arm64: dts: qcom: sdm845: Add missing MSI and 'global' IRQs
>       arm64: dts: qcom: msm8996: Add missing MSI SPI interrupts
>       dt-bindings: PCI: qcom: Allow MSM8998 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: msm8998: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom: Allow IPQ8074 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: ipq8074: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom: Allow IPQ6018 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: ipq6018: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom,pcie-sc8180x: Add 'global' interrupt
>       arm64: dts: qcom: sc8180x: Add 'global' PCIe interrupt
>       arm64: dts: qcom: sar2130p: Add 'global' PCIe interrupt
>       arm64: dts: qcom: x1e80100: Add missing 'global' PCIe interrupt
> 
>  .../devicetree/bindings/pci/qcom,pcie-sa8775p.yaml | 10 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sc7280.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sc8180x.yaml | 10 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie.yaml         | 14 ++++--
>  arch/arm64/boot/dts/qcom/ipq6018.dtsi              | 20 +++++++-
>  arch/arm64/boot/dts/qcom/ipq8074.dtsi              | 40 ++++++++++++++--
>  arch/arm64/boot/dts/qcom/msm8996.dtsi              | 54 +++++++++++++++++++---
>  arch/arm64/boot/dts/qcom/msm8998.dtsi              | 20 +++++++-
>  arch/arm64/boot/dts/qcom/sa8775p.dtsi              | 28 ++++++++---
>  arch/arm64/boot/dts/qcom/sar2130p.dtsi             | 12 +++--
>  arch/arm64/boot/dts/qcom/sc7280.dtsi               | 14 ++++--
>  arch/arm64/boot/dts/qcom/sc8180x.dtsi              | 24 ++++++----
>  arch/arm64/boot/dts/qcom/sdm845.dtsi               | 40 ++++++++++++++--
>  arch/arm64/boot/dts/qcom/sm8150.dtsi               | 12 +++--
>  arch/arm64/boot/dts/qcom/sm8250.dtsi               | 18 +++++---
>  arch/arm64/boot/dts/qcom/sm8350.dtsi               | 12 +++--
>  arch/arm64/boot/dts/qcom/x1e80100.dtsi             | 18 +++++---
>  20 files changed, 300 insertions(+), 82 deletions(-)
> ---
> base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
> change-id: 20250227-pcie-global-irq-dd1cd5688d71
> 
> Best regards,
> -- 
> Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> 
> 

-- 
With best wishes
Dmitry
Re: [PATCH 00/23] arm64: dts: qcom: Add 'global' IRQ to supported SoCs
Posted by Manivannan Sadhasivam 9 months, 3 weeks ago
On Thu, Feb 27, 2025 at 07:10:42PM +0530, Manivannan Sadhasivam via B4 Relay wrote:
> Hi,
> 
> This series adds the Qualcomm specific 'global' IRQ to the supported SoCs.
> This IRQ is used to receive the PCIe controller and link specific events
> such as Link Up/Down, MSI, PTM etc... in the driver. Support for this IRQ
> was already added to the pcie-qcom driver. So enabling this IRQ would allow
> the driver to enumerate the endpoint device and also retrain the link when
> the device is removed [1] without user intervention.
> 
> This series also adds missing MSI SPI IRQ to some of the SoCs.
> 
> Testing
> =======
> 
> This series was tested on Qualcomm RB5 board based on SM8250 SoC and
> Qualcomm Ride MX board based on SA8775p SoC.
> 
> NOTE
> ====
> 
> I've left a few SoCs in the tree like QCS404, SC8280XP due to lack of
> documentation. Those will be added later.
> 
> [1] https://lore.kernel.org/linux-pci/20250221172309.120009-1-manivannan.sadhasivam@linaro.org/
> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Applied the bindings patches to pci/dt-bindings!

- Mani

> ---
> Manivannan Sadhasivam (23):
>       dt-bindings: PCI: qcom,pcie-sm8150: Add 'global' interrupt
>       arm64: dts: qcom: sm8150: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sm8250: Add 'global' interrupt
>       arm64: dts: qcom: sm8250: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sm8350: Add 'global' interrupt
>       arm64: dts: qcom: sm8350: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sa8775p: Add 'global' interrupt
>       arm64: dts: qcom: sa8775p: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom,pcie-sc7280: Add 'global' interrupt
>       arm64: dts: qcom: sc7280: Add 'global' PCIe interrupt
>       dt-bindings: PCI: qcom: Add 'global' interrupt for SDM845 SoC
>       arm64: dts: qcom: sdm845: Add missing MSI and 'global' IRQs
>       arm64: dts: qcom: msm8996: Add missing MSI SPI interrupts
>       dt-bindings: PCI: qcom: Allow MSM8998 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: msm8998: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom: Allow IPQ8074 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: ipq8074: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom: Allow IPQ6018 to use 8 MSI and one 'global' interrupt
>       arm64: dts: qcom: ipq6018: Add missing MSI and 'global' IRQs
>       dt-bindings: PCI: qcom,pcie-sc8180x: Add 'global' interrupt
>       arm64: dts: qcom: sc8180x: Add 'global' PCIe interrupt
>       arm64: dts: qcom: sar2130p: Add 'global' PCIe interrupt
>       arm64: dts: qcom: x1e80100: Add missing 'global' PCIe interrupt
> 
>  .../devicetree/bindings/pci/qcom,pcie-sa8775p.yaml | 10 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sc7280.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sc8180x.yaml | 10 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8150.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8250.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie-sm8350.yaml  |  9 ++--
>  .../devicetree/bindings/pci/qcom,pcie.yaml         | 14 ++++--
>  arch/arm64/boot/dts/qcom/ipq6018.dtsi              | 20 +++++++-
>  arch/arm64/boot/dts/qcom/ipq8074.dtsi              | 40 ++++++++++++++--
>  arch/arm64/boot/dts/qcom/msm8996.dtsi              | 54 +++++++++++++++++++---
>  arch/arm64/boot/dts/qcom/msm8998.dtsi              | 20 +++++++-
>  arch/arm64/boot/dts/qcom/sa8775p.dtsi              | 28 ++++++++---
>  arch/arm64/boot/dts/qcom/sar2130p.dtsi             | 12 +++--
>  arch/arm64/boot/dts/qcom/sc7280.dtsi               | 14 ++++--
>  arch/arm64/boot/dts/qcom/sc8180x.dtsi              | 24 ++++++----
>  arch/arm64/boot/dts/qcom/sdm845.dtsi               | 40 ++++++++++++++--
>  arch/arm64/boot/dts/qcom/sm8150.dtsi               | 12 +++--
>  arch/arm64/boot/dts/qcom/sm8250.dtsi               | 18 +++++---
>  arch/arm64/boot/dts/qcom/sm8350.dtsi               | 12 +++--
>  arch/arm64/boot/dts/qcom/x1e80100.dtsi             | 18 +++++---
>  20 files changed, 300 insertions(+), 82 deletions(-)
> ---
> base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
> change-id: 20250227-pcie-global-irq-dd1cd5688d71
> 
> Best regards,
> -- 
> Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> 
> 

-- 
மணிவண்ணன் சதாசிவம்
Re: (subset) [PATCH 00/23] arm64: dts: qcom: Add 'global' IRQ to supported SoCs
Posted by Bjorn Andersson 8 months ago
On Thu, 27 Feb 2025 19:10:42 +0530, Manivannan Sadhasivam wrote:
> This series adds the Qualcomm specific 'global' IRQ to the supported SoCs.
> This IRQ is used to receive the PCIe controller and link specific events
> such as Link Up/Down, MSI, PTM etc... in the driver. Support for this IRQ
> was already added to the pcie-qcom driver. So enabling this IRQ would allow
> the driver to enumerate the endpoint device and also retrain the link when
> the device is removed [1] without user intervention.
> 
> [...]

Applied, thanks!

[02/23] arm64: dts: qcom: sm8150: Add 'global' PCIe interrupt
        commit: b151de3b3543b2f6cef9cfd5e54775a846c6b48b
[04/23] arm64: dts: qcom: sm8250: Add 'global' PCIe interrupt
        commit: 0ea9df0b968832674c3728459ae4f5699ef3cea5
[06/23] arm64: dts: qcom: sm8350: Add 'global' PCIe interrupt
        commit: 28b49abaaa003a5dee499cb60cc2021e967ca0fd
[08/23] arm64: dts: qcom: sa8775p: Add 'global' PCIe interrupt
        commit: b83843df74f22f5b3c1ea315bf58bccca768c0ce
[10/23] arm64: dts: qcom: sc7280: Add 'global' PCIe interrupt
        commit: 423704cc7fdfcc4b013c9f46596cf54b9b7acff2
[12/23] arm64: dts: qcom: sdm845: Add missing MSI and 'global' IRQs
        commit: 469cda30e4c29a1dc2fd855200baa0f1bec31eb9
[13/23] arm64: dts: qcom: msm8996: Add missing MSI SPI interrupts
        commit: 7256eee44e63adc8875e12dea64d0f7ca595d257
[15/23] arm64: dts: qcom: msm8998: Add missing MSI and 'global' IRQs
        commit: c2c4c10a00b7eafde1198dcdba9a97aa06af5177
[17/23] arm64: dts: qcom: ipq8074: Add missing MSI and 'global' IRQs
        commit: b6b20109ccb5dba2331b12ca7748dda4041191e7
[19/23] arm64: dts: qcom: ipq6018: Add missing MSI and 'global' IRQs
        commit: b1830bdc0fe67754e0f9103b8dfc16d847632498
[21/23] arm64: dts: qcom: sc8180x: Add 'global' PCIe interrupt
        commit: 9c786d24f1da819186b420dcd8a7ca096832ea9c
[22/23] arm64: dts: qcom: sar2130p: Add 'global' PCIe interrupt
        commit: 34d10f33472347dec0c4a078e9cd77aa92be2776
[23/23] arm64: dts: qcom: x1e80100: Add missing 'global' PCIe interrupt
        commit: 4ba960e75bab4a4e5f328d22a7a9b253abd3c214

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>