mbox series

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

Message ID 20250227-pcie-global-irq-v1-0-2b70a7819d1e@linaro.org (mailing list archive)
Headers show
Series arm64: dts: qcom: Add 'global' IRQ to supported SoCs | expand

Message

Manivannan Sadhasivam via B4 Relay Feb. 27, 2025, 1:40 p.m. UTC
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,

Comments

Dmitry Baryshkov Feb. 27, 2025, 2:54 p.m. UTC | #1
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>
> 
>