All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Harmstone <mark@harmstone.com>
To: will@kernel.org, robin.murphy@arm.com, joro@8bytes.org,
	dmitry.baryshkov@linaro.org, quic_saipraka@quicinc.com,
	konrad.dybcio@linaro.org, quic_bjorande@quicinc.com,
	a39.skl@gmail.com, robdclark@chromium.org, mani@kernel.org,
	linux-arm-kernel@lists.infradead.org
Cc: Mark Harmstone <mark@harmstone.com>
Subject: [PATCH] iommu/arm-smmu-qcom: Add ACPI entry for HP SC7180 laptop
Date: Sat, 17 Jun 2023 14:08:07 +0100	[thread overview]
Message-ID: <20230617130807.29460-1-mark@harmstone.com> (raw)

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@harmstone.com>
---
 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
-- 
2.39.3


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

             reply	other threads:[~2023-06-17 13:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17 13:08 Mark Harmstone [this message]
2023-06-19  9:35 ` [PATCH] iommu/arm-smmu-qcom: Add ACPI entry for HP SC7180 laptop Konrad Dybcio
2023-06-19 18:52   ` Mark Harmstone
2023-06-19 22:44     ` Konrad Dybcio
2023-06-20 18:39     ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230617130807.29460-1-mark@harmstone.com \
    --to=mark@harmstone.com \
    --cc=a39.skl@gmail.com \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=joro@8bytes.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=quic_bjorande@quicinc.com \
    --cc=quic_saipraka@quicinc.com \
    --cc=robdclark@chromium.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.