* [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable
@ 2025-03-26 20:01 Niklas Cassel
2025-03-28 12:21 ` Krzysztof Wilczyński
2025-04-02 7:50 ` Manivannan Sadhasivam
0 siblings, 2 replies; 5+ messages in thread
From: Niklas Cassel @ 2025-03-26 20:01 UTC (permalink / raw)
To: Shawn Lin, Lorenzo Pieralisi, Krzysztof Wilczyński,
Manivannan Sadhasivam, Rob Herring, Bjorn Helgaas, Heiko Stuebner
Cc: Niklas Cassel, linux-pci, linux-rockchip, linux-arm-kernel
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 <cassel@kernel.org>
---
drivers/pci/controller/pcie-rockchip-ep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/controller/pcie-rockchip-ep.c b/drivers/pci/controller/pcie-rockchip-ep.c
index 85ea36df2f59a..626f6b31b0f66 100644
--- a/drivers/pci/controller/pcie-rockchip-ep.c
+++ b/drivers/pci/controller/pcie-rockchip-ep.c
@@ -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,
};
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable
2025-03-26 20:01 [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable Niklas Cassel
@ 2025-03-28 12:21 ` Krzysztof Wilczyński
2025-03-28 12:36 ` Krzysztof Wilczyński
2025-04-02 7:50 ` Manivannan Sadhasivam
1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Wilczyński @ 2025-03-28 12:21 UTC (permalink / raw)
To: Niklas Cassel
Cc: Shawn Lin, Lorenzo Pieralisi, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Heiko Stuebner, linux-pci, linux-rockchip,
linux-arm-kernel
Hello,
> 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/20250318103330.1840678-6-cassel@kernel.org
Thank you!
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable
2025-03-28 12:21 ` Krzysztof Wilczyński
@ 2025-03-28 12:36 ` Krzysztof Wilczyński
2025-04-09 8:07 ` Niklas Cassel
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Wilczyński @ 2025-03-28 12:36 UTC (permalink / raw)
To: Niklas Cassel
Cc: Shawn Lin, Lorenzo Pieralisi, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Heiko Stuebner, linux-pci, linux-rockchip,
linux-arm-kernel
Hello,
> > 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/20250318103330.1840678-6-cassel@kernel.org
>
> Thank you!
That said, Bjorn is preparing this Pull Request, this might not make the
cut at this time.
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable
2025-03-26 20:01 [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable Niklas Cassel
2025-03-28 12:21 ` Krzysztof Wilczyński
@ 2025-04-02 7:50 ` Manivannan Sadhasivam
1 sibling, 0 replies; 5+ messages in thread
From: Manivannan Sadhasivam @ 2025-04-02 7:50 UTC (permalink / raw)
To: Niklas Cassel
Cc: Shawn Lin, Lorenzo Pieralisi, Krzysztof Wilczyński,
Rob Herring, Bjorn Helgaas, Heiko Stuebner, linux-pci,
linux-rockchip, linux-arm-kernel
On Wed, Mar 26, 2025 at 09:01:16PM +0100, Niklas Cassel wrote:
> 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 <cassel@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
- Mani
> ---
> drivers/pci/controller/pcie-rockchip-ep.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/controller/pcie-rockchip-ep.c b/drivers/pci/controller/pcie-rockchip-ep.c
> index 85ea36df2f59a..626f6b31b0f66 100644
> --- a/drivers/pci/controller/pcie-rockchip-ep.c
> +++ b/drivers/pci/controller/pcie-rockchip-ep.c
> @@ -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,
> };
>
> --
> 2.49.0
>
--
மணிவண்ணன் சதாசிவம்
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable
2025-03-28 12:36 ` Krzysztof Wilczyński
@ 2025-04-09 8:07 ` Niklas Cassel
0 siblings, 0 replies; 5+ messages in thread
From: Niklas Cassel @ 2025-04-09 8:07 UTC (permalink / raw)
To: Krzysztof Wilczyński
Cc: Shawn Lin, Lorenzo Pieralisi, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Heiko Stuebner, linux-pci, linux-rockchip,
linux-arm-kernel
Hello Krzysztof,
On Fri, Mar 28, 2025 at 09:36:14PM +0900, Krzysztof Wilczyński wrote:
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-04-09 8:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26 20:01 [PATCH] PCI: rockchip-ep: Mark RK3399 as intx_capable Niklas Cassel
2025-03-28 12:21 ` Krzysztof Wilczyński
2025-03-28 12:36 ` Krzysztof Wilczyński
2025-04-09 8:07 ` Niklas Cassel
2025-04-02 7:50 ` Manivannan Sadhasivam
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).