[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <0bb462748c0a08dbf1db103d2a96b80c71412817.1494585645.git.robin.murphy@arm.com>
Date: Fri, 12 May 2017 11:41:41 +0100
From: Robin Murphy <robin.murphy@....com>
To: will.deacon@....com, rjw@...ysocki.net
Cc: iommu@...ts.linux-foundation.org,
linux-arm-kernel@...ts.infradead.org, linux-acpi@...r.kernel.org,
devel@...ica.org, linux-kernel@...r.kernel.org,
gakula@...iumnetworks.com, linu.cherian@...ium.com,
lorenzo.pieralisi@....com, hanjun.guo@...aro.org,
john.garry@...wei.com, shameerali.kolothum.thodi@...wei.com,
gabriele.paoloni@...wei.com, Robert Moore <robert.moore@...el.com>,
Lv Zheng <lv.zheng@...el.com>
Subject: [PATCH 1/2] acpica: iort: Update SMMU models for IORT rev. C
IORT revision C has been published with a number of new SMMU
implementation identifiers; define them.
CC: Rafael J. Wysocki <rjw@...ysocki.net>
CC: Robert Moore <robert.moore@...el.com>
CC: Lv Zheng <lv.zheng@...el.com>
Signed-off-by: Robin Murphy <robin.murphy@....com>
---
include/acpi/actbl2.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 7aee9fb3bd1f..0242be07f292 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -777,6 +777,8 @@ struct acpi_iort_smmu {
#define ACPI_IORT_SMMU_V2 0x00000001 /* Generic SMMUv2 */
#define ACPI_IORT_SMMU_CORELINK_MMU400 0x00000002 /* ARM Corelink MMU-400 */
#define ACPI_IORT_SMMU_CORELINK_MMU500 0x00000003 /* ARM Corelink MMU-500 */
+#define ACPI_IORT_SMMU_CORELINK_MMU401 0x00000004 /* ARM Corelink MMU-401 */
+#define ACPI_IORT_SMMU_CAVIUM_SMMUV2 0x00000005 /* Cavium ThunderX SMMUv2 */
/* Masks for Flags field above */
@@ -795,6 +797,12 @@ struct acpi_iort_smmu_v3 {
u32 sync_gsiv;
};
+/* Values for Model field above */
+
+#define ACPI_IORT_SMMU_V3 0x00000000 /* Generic SMMUv3 */
+#define ACPI_IORT_SMMU_HISILICON_HI161X 0x00000001 /* HiSilicon Hi161x SMMUv3 */
+#define ACPI_IORT_SMMU_CAVIUM_CN99XX 0x00000002 /* Cavium CN99xx SMMUv3 */
+
/* Masks for Flags field above */
#define ACPI_IORT_SMMU_V3_COHACC_OVERRIDE (1)
--
2.12.2.dirty
Powered by blists - more mailing lists