PCI: rockchip-ep: Mark RK3399 as intx_capable
PATCH 1/1 PCI: rockchip-ep: Mark RK3399 as intx_capable
RK3399 can raise INTx interrupts, as can be seen by rockchip_pcie_ep_send_intx_irq().
This is also in line with the register description of PCIE_CLIENT_LEGACY_INT_CTRL, section "17.6.3 PCIe Client Detail Register Description" of the RK3399 TRM.
Thus, mark RK3399 as intx_capable.
--- drivers/pci/controller/pcie-rockchip-ep.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/controller/pcie-rockchip-ep.c +1 -0
@@ -694,6 +694,7 @@ static const struct pci_epc_features rockchip_pcie_epc_features = { .linkup_notifier = true, .msi_capable = true, .msix_capable = false, + .intx_capable = true, .align = ROCKCHIP_PCIE_AT_SIZE_ALIGN, };
Signature · 1 line
2.49.0
Hello,
Quoted 8 lines
RK3399 can raise INTx interrupts, as can be seen by
rockchip_pcie_ep_send_intx_irq().This is also in line with the register description of
PCIE_CLIENT_LEGACY_INT_CTRL, section "17.6.3 PCIe Client Detail Register Description" of the RK3399 TRM.Thus, mark RK3399 as
intx_capable.
Replaced the following commit:
e55c67837a8c ("PCI: dw-rockchip: Endpoint mode cannot raise INTx interrupts")
With this one directly on the "endpoint-test" branch. This is per the conversation at:
https://lore.kernel.org/linux-pci/[email protected]
Thank you!
Krzysztof
Hello,
Quoted 11 lines
Quoted 8 lines
RK3399 can raise INTx interrupts, as can be seen by
rockchip_pcie_ep_send_intx_irq().This is also in line with the register description of
PCIE_CLIENT_LEGACY_INT_CTRL, section "17.6.3 PCIe Client Detail Register Description" of the RK3399 TRM.Thus, mark RK3399 as
intx_capable.Replaced the following commit:
Quoted 8 lines
e55c67837a8c("PCI: dw-rockchip: Endpoint mode cannot raise INTx interrupts")With this one directly on the "endpoint-test" branch. This is per the conversation at:
https://lore.kernel.org/linux-pci/[email protected]
Thank you!
That said, Bjorn is preparing this Pull Request, this might not make the cut at this time.
Krzysztof
Hello Krzysztof,
Quoted 3 lines · Krzysztof Wilczyński
That said, Bjorn is preparing this Pull Request, this might not make the cut at this time.
-rc1 is out.
Any chance to get this queued up now? (So that it doesn't get lost.)
Kind regards,
Niklas
Quoted 10 lines · Niklas Cassel
RK3399 can raise INTx interrupts, as can be seen by
rockchip_pcie_ep_send_intx_irq().This is also in line with the register description of
PCIE_CLIENT_LEGACY_INT_CTRL, section "17.6.3 PCIe Client Detail Register Description" of the RK3399 TRM.Thus, mark RK3399 as
intx_capable.Signed-off-by Niklas Cassel <[email protected]>
- Mani
Quoted 19 lines
--- drivers/pci/controller/pcie-rockchip-ep.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/controller/pcie-rockchip-ep.c +1
-0@@ -694,6 +694,7 @@ static const struct pci_epc_features rockchip_pcie_epc_features = { .linkup_notifier = true, .msi_capable = true, .msix_capable = false, + .intx_capable = true, .align = ROCKCHIP_PCIE_AT_SIZE_ALIGN, };Signature · 1 line
2.49.0
Signature · 1 line
மணிவண்ணன் சதாசிவம்