devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] arm64: qcom: sa8775p: add cache coherency support for SA8775P
@ 2023-11-15 12:36 Mrinmay Sarkar
  2023-11-15 12:36 ` [PATCH v3 1/3] PCI: qcom: Enable cache coherency for SA8775P RC Mrinmay Sarkar
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mrinmay Sarkar @ 2023-11-15 12:36 UTC (permalink / raw)
  To: agross, andersson, krzysztof.kozlowski+dt, conor+dt,
	konrad.dybcio, mani, robh+dt
  Cc: quic_shazhuss, quic_nitegupt, quic_ramkri, quic_nayiluri,
	dmitry.baryshkov, robh, quic_krichai, quic_vbadigan, quic_parass,
	quic_schintav, quic_shijjose, Mrinmay Sarkar, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas, linux-arm-msm,
	devicetree, linux-kernel, linux-pci

In a multiprocessor system cache snooping maintains the consistency
of caches. Snooping logic is disabled from HW on this platform.
Cache coherency doesn’t work without enabling this logic.

This series is to enable cache snooping logic in both RC and EP
driver and add the "dma-coherent" property in dtsi to support
cache coherency in 8775 platform.

To verify this series we required [1]

[1] https://lore.kernel.org/all/1699669982-7691-1-git-send-email-quic_msarkar@quicinc.com/

v2 -> v3:
- update commit message(8755 -> 8775).

v1 -> v2:
- update cover letter with explanation.
- define each of these bits and ORing at usage time rather than
  directly writing value in register.

Mrinmay Sarkar (3):
  PCI: qcom: Enable cache coherency for SA8775P RC
  PCI: qcom-ep: Enable cache coherency for SA8775P EP
  arm64: dts: qcom: sa8775p: Mark PCIe controller as cache coherent

 arch/arm64/boot/dts/qcom/sa8775p.dtsi     |  1 +
 drivers/pci/controller/dwc/pcie-qcom-ep.c | 10 ++++++++++
 drivers/pci/controller/dwc/pcie-qcom.c    | 13 +++++++++++++
 3 files changed, 24 insertions(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-11-21 14:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-15 12:36 [PATCH v3 0/3] arm64: qcom: sa8775p: add cache coherency support for SA8775P Mrinmay Sarkar
2023-11-15 12:36 ` [PATCH v3 1/3] PCI: qcom: Enable cache coherency for SA8775P RC Mrinmay Sarkar
2023-11-15 13:18   ` Dmitry Baryshkov
2023-11-15 13:21     ` Dmitry Baryshkov
2023-11-17  8:10       ` Manivannan Sadhasivam
2023-11-17  8:19   ` Manivannan Sadhasivam
2023-11-15 12:37 ` [PATCH v3 2/3] PCI: qcom-ep: Enable cache coherency for SA8775P EP Mrinmay Sarkar
2023-11-17  9:05   ` Manivannan Sadhasivam
2023-11-15 12:37 ` [PATCH v3 3/3] arm64: dts: qcom: sa8775p: Mark PCIe controller as cache coherent Mrinmay Sarkar
2023-11-17  9:06   ` Manivannan Sadhasivam
2023-11-21 14:36     ` Mrinmay Sarkar

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).