linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] iommu/arm-smmu: introduction of ACTLR implementation for Qualcomm SoCs
@ 2023-11-27 14:54 Bibek Kumar Patro
  2023-11-27 14:54 ` [PATCH v3 1/4] iommu/arm-smmu: introduction of ACTLR for custom prefetcher settings Bibek Kumar Patro
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Bibek Kumar Patro @ 2023-11-27 14:54 UTC (permalink / raw)
  To: will, robin.murphy, joro, dmitry.baryshkov, a39.skl,
	konrad.dybcio, quic_bjorande, mani, quic_eberman, robdclark,
	u.kleine-koenig, robh, vladimir.oltean, quic_pkondeti,
	quic_molvera
  Cc: linux-arm-msm, linux-arm-kernel, iommu, linux-kernel,
	qipl.kernel.upstream, Bibek Kumar Patro

This patch series consist of three parts and covers the following:

1. Introduce intital set of driver changes to implement ACTLR register
   for custom prefetcher settings in Qualcomm SoCs.

2. Add ACTLR data and implementation operations for SM8550.

3. Add ACTLR data and implementation operations for SC7280.

4. Re-enable context caching for Qualcomm SoCs to retain prefetcher
   settings during reset and runtime suspend.

Changes in v3 from v2:
 New addition:
 - Include patch 3/4 for adding ACTLR support and data for SC7280.
 - Add driver changes for actlr support in gpu smmu.
 - Add target wise actlr data and implementation ops for gpu smmu.
 Changes to incorporate suggestions from Robin as follows:
 - Match the ACTLR values with individual corresponding SID instead
   of assuming that any SMR will be programmed to match a superset of
   the data.
 - Instead of replicating each elements from qcom_smmu_match_data to
   qcom_smmu structre during smmu device creation, replace the
   replicated members with qcom_smmu_match_data structure inside
   qcom_smmu structre and handle the dereference in places that
   requires them.
 Changes to incorporate suggestions from Dmitry and Konrad as follows:
 - Maintain actlr table inside a single structure instead of
   nested structure.
 - Rename prefetch defines to more appropriately describe their behavior.
 - Remove SM8550 specific implementation ops and roll back to default
   qcom_smmu_500_impl implementation ops.
 - Add back the removed comments which are NAK.
 - Fix commit description for patch 4/4.
 Link to v2:
https://lore.kernel.org/all/20231114135654.30475-1-quic_bibekkum@quicinc.com/

Changes in v2 from v1:
 - Incorporated suggestions on v1 from Dmitry,Konrad,Pratyush.
 - Added defines for ACTLR values.
 - Linked sm8550 implementation structure to corresponding
   compatible string.
 - Repackaged actlr value set implementation to separate function.
 - Fixed indentation errors.
 - Link to v1:
https://lore.kernel.org/all/20231103215124.1095-1-quic_bibekkum@quicinc.com/

Changes in v1 from RFC:
 - Incorporated suggestion form Robin on RFC
 - Moved the actlr data table into driver, instead of maintaining
   it inside soc specific DT and piggybacking on exisiting iommus
   property (iommu = <SID, MASK, ACTLR>) to set this value during
   smmu probe.
 - Link to RFC:
https://lore.kernel.org/all/a01e7e60-6ead-4a9e-ba90-22a8a6bbd03f@quicinc.com/

Bibek Kumar Patro (4):
  iommu/arm-smmu: introduction of ACTLR for custom prefetcher settings
  iommu/arm-smmu: add ACTLR data and support for SM8550
  iommu/arm-smmu: add ACTLR data and support for SC7280
  iommu/arm-smmu: re-enable context caching in smmu reset operation

 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 185 ++++++++++++++++++++-
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h |   6 +-
 drivers/iommu/arm/arm-smmu/arm-smmu.c      |   5 +-
 drivers/iommu/arm/arm-smmu/arm-smmu.h      |   5 +
 4 files changed, 193 insertions(+), 8 deletions(-)

--
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-12-01 10:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 14:54 [PATCH v3 0/4] iommu/arm-smmu: introduction of ACTLR implementation for Qualcomm SoCs Bibek Kumar Patro
2023-11-27 14:54 ` [PATCH v3 1/4] iommu/arm-smmu: introduction of ACTLR for custom prefetcher settings Bibek Kumar Patro
2023-11-27 15:33   ` Konrad Dybcio
2023-11-29 11:47     ` Bibek Kumar Patro
2023-11-27 16:07   ` Dmitry Baryshkov
2023-11-29  8:43     ` Bibek Kumar Patro
2023-11-29 12:04     ` Bibek Kumar Patro
2023-11-28  3:01   ` Bjorn Andersson
2023-11-29  8:44     ` Bibek Kumar Patro
2023-12-01 10:09   ` kernel test robot
2023-11-27 14:54 ` [PATCH v3 2/4] iommu/arm-smmu: add ACTLR data and support for SM8550 Bibek Kumar Patro
2023-11-27 15:34   ` Konrad Dybcio
2023-11-27 14:54 ` [PATCH v3 3/4] iommu/arm-smmu: add ACTLR data and support for SC7280 Bibek Kumar Patro
2023-11-27 15:35   ` Konrad Dybcio
2023-11-29  6:14     ` Bibek Kumar Patro
2023-11-27 14:54 ` [PATCH v3 4/4] iommu/arm-smmu: re-enable context caching in smmu reset operation Bibek Kumar Patro

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