Support for per-page tables requires the SMMU aparture to be setup, on some targets this is done statically in firmware, on others it's expected to be requested in runtime by the driver, through a SCM call. Marking the series as RFT, as this has been tested on a few different modern platforms, but only with Qualcomm presence in EL2. I did receive Tested-by from Konrad and Jessica, not picking these up, as I change the firmware call pattern in this version by introducing a "is_available" check. Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxxxx> --- Changes in v2: - Added a check to see if the SCM call is available, to avoid possibly error prints. - Link to v1: https://lore.kernel.org/r/20241002-adreno-smmu-aparture-v1-0-e9a63c9ccef5@xxxxxxxxxxxxxxxx --- Bjorn Andersson (2): firmware: qcom: scm: Introduce CP_SMMU_APERTURE_ID drm/msm/adreno: Setup SMMU aparture for per-process page table drivers/firmware/qcom/qcom_scm.c | 26 ++++++++++++++++++++++++++ drivers/firmware/qcom/qcom_scm.h | 1 + drivers/gpu/drm/msm/adreno/adreno_gpu.c | 11 +++++++++++ include/linux/firmware/qcom/qcom_scm.h | 2 ++ 4 files changed, 40 insertions(+) --- base-commit: 929beafbe7acce3267c06115e13e03ff6e50548a change-id: 20241002-adreno-smmu-aparture-fe7d5a1cb834 Best regards, -- Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxxxx>