]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI/IORT: Add PMCG platform information for HiSilicon HIP10/11
authorYicong Yang <yangyicong@hisilicon.com>
Wed, 31 Jul 2024 09:26:58 +0000 (17:26 +0800)
committerWill Deacon <will@kernel.org>
Tue, 20 Aug 2024 13:14:07 +0000 (14:14 +0100)
HiSilicon HIP10/11 platforms using the same SMMU PMCG with HIP09
and thus suffers the same erratum. List them in the PMCG platform
information list without introducing a new SMMU PMCG Model.

Update the silicon-errata.rst as well.

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20240731092658.11012-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/arch/arm64/silicon-errata.rst
drivers/acpi/arm64/iort.c

index 50327c05be8d1b77fc7af27c695dbb97740cbca1..35892c28d83151840ce15f6012bef49fbdb39a27 100644 (file)
@@ -249,8 +249,8 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | Hisilicon      | Hip08 SMMU PMCG | #162001800      | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
-| Hisilicon      | Hip08 SMMU PMCG | #162001900      | N/A                         |
-|                | Hip09 SMMU PMCG |                 |                             |
+| Hisilicon      | Hip{08,09,10,10C| #162001900      | N/A                         |
+|                | ,11} SMMU PMCG  |                 |                             |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
 | Qualcomm Tech. | Kryo/Falkor v1  | E1003           | QCOM_FALKOR_ERRATUM_1003    |
index 034d303c3df147cdc63da2bc246b5cb73408a5f2..4c745a26226b2757ea464e0f713b9938bb87fac9 100644 (file)
@@ -1703,6 +1703,13 @@ static struct acpi_platform_list pmcg_plat_info[] __initdata = {
        /* HiSilicon Hip09 Platform */
        {"HISI  ", "HIP09   ", 0, ACPI_SIG_IORT, greater_than_or_equal,
         "Erratum #162001900", IORT_SMMU_V3_PMCG_HISI_HIP09},
+       /* HiSilicon Hip10/11 Platform uses the same SMMU IP with Hip09 */
+       {"HISI  ", "HIP10   ", 0, ACPI_SIG_IORT, greater_than_or_equal,
+        "Erratum #162001900", IORT_SMMU_V3_PMCG_HISI_HIP09},
+       {"HISI  ", "HIP10C  ", 0, ACPI_SIG_IORT, greater_than_or_equal,
+        "Erratum #162001900", IORT_SMMU_V3_PMCG_HISI_HIP09},
+       {"HISI  ", "HIP11   ", 0, ACPI_SIG_IORT, greater_than_or_equal,
+        "Erratum #162001900", IORT_SMMU_V3_PMCG_HISI_HIP09},
        { }
 };