[PATCH v2 0/3] arm-smmu-qcom: Create qcom_smmu_impl for ACPI boot

Shawn Guo shawn.guo at linaro.org
Mon Apr 26 01:41:49 BST 2021


On Fri, Apr 02, 2021 at 11:55:59AM +0800, Shawn Guo wrote:
> The arm-smmu-qcom driver needs to hook up qcom_smmu_impl for booting up
> Snapdragon platforms.  Such hook-up is being done for DT boot by
> matching compatibles.  The series tries to handle the hook-up for ACPI
> boot by looking at model identifier, which is figured out by IORT driver
> using acpi_match_platform_list() helper.  It helps to get Debian
> installer booting with ACPI work for Qualcomm SC8180X based laptops like
> Lenovo Flex 5G.
> 
> Changes for v2:
> - Rather than using asl_compiler_id in IORT table, follow suggestion
>   from Robin Murphy to use acpi_match_platform_list() to match platform.

How does this version look?  Any comments?

Shawn

> Shawn Guo (3):
>   ACPI/IORT: Consolidate use of SMMU device platdata
>   ACPI/IORT: Add Qualcomm Snapdragon platforms to iort_plat_info[]
>   iommu/arm-smmu-qcom: hook up qcom_smmu_impl for ACPI boot
> 
>  drivers/acpi/arm64/iort.c                   | 36 +++++++++------------
>  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c |  6 +++-
>  drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c  |  9 ++++++
>  drivers/iommu/arm/arm-smmu/arm-smmu.c       |  9 ++++--
>  drivers/perf/arm_smmuv3_pmu.c               |  8 +++--
>  include/linux/acpi_iort.h                   | 12 +++++--
>  6 files changed, 51 insertions(+), 29 deletions(-)
> 
> -- 
> 2.17.1
> 



More information about the linux-arm-kernel mailing list