[PATCH] iommu/arm-smmu-qcom: Add ACPI entry for HP SC7180 laptop

Konrad Dybcio konrad.dybcio at linaro.org
Mon Jun 19 02:35:50 PDT 2023


On 17.06.2023 15:08, Mark Harmstone wrote:
> Add an ACPI platform entry for the "HP 4G LTE Laptop 14-eg0xxx", HP's
> ACPI-based SC7180 laptop.
> 
> The relevant lines in the IORT table:
> 
> [000h 0000   4]                    Signature : "IORT"    [IO Remapping Table]
> [004h 0004   4]                 Table Length : 00000E20
> [008h 0008   1]                     Revision : 00
> [009h 0009   1]                     Checksum : 73
> [00Ah 0010   6]                       Oem ID : "HPQOEM"
> [010h 0016   8]                 Oem Table ID : "SLIC-MPC"
> [018h 0024   4]                 Oem Revision : 00008913
> [01Ch 0028   4]              Asl Compiler ID : "HP  "
> [020h 0032   4]        Asl Compiler Revision : 00000001
> 
> Signed-off-by: Mark Harmstone <mark at harmstone.com>
> ---
Just FYI, ACPI support for Snapdragons isn't very good, as the ACPI tables
are very lackluster.. You may want to try using FDT.

Acked-by: Konrad Dybcio <konrad.dybcio at linaro.org>

Konrad
>  drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> index c71afda79d64..37760a38c5da 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -541,6 +541,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
>  static struct acpi_platform_list qcom_acpi_platlist[] = {
>  	{ "LENOVO", "CB-01   ", 0x8180, ACPI_SIG_IORT, equal, "QCOM SMMU" },
>  	{ "QCOM  ", "QCOMEDK2", 0x8180, ACPI_SIG_IORT, equal, "QCOM SMMU" },
> +	{ "HPQOEM", "SLIC-MPC", 0x8913, ACPI_SIG_IORT, equal, "QCOM SMMU" },
>  	{ }
>  };
>  #endif



More information about the linux-arm-kernel mailing list