diff options
author | Robert Richter <rrichter@cavium.com> | 2017-06-22 21:20:54 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-23 18:58:03 +0200 |
commit | 12275bf0a4deb690a5dc9903d207060737b7bae6 (patch) | |
tree | c608d7f40f35a2b7c432a6060c0327aaf2a4d856 /drivers/acpi/arm64 | |
parent | iommu/io-pgtable-arm: Use dma_wmb() instead of wmb() when publishing table (diff) | |
download | linux-12275bf0a4deb690a5dc9903d207060737b7bae6.tar.xz linux-12275bf0a4deb690a5dc9903d207060737b7bae6.zip |
iommu/arm-smmu-v3, acpi: Add temporary Cavium SMMU-V3 IORT model number definitions
The model number is already defined in acpica and we are actually
waiting for the acpi maintainers to include it:
https://github.com/acpica/acpica/commit/d00a4eb86e64
Adding those temporary definitions until the change makes it into
include/acpi/actbl2.h. Once that is done this patch can be reverted.
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/acpi/arm64')
-rw-r--r-- | drivers/acpi/arm64/iort.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index c5fecf97ee2f..da225710b009 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -31,6 +31,11 @@ #define IORT_IOMMU_TYPE ((1 << ACPI_IORT_NODE_SMMU) | \ (1 << ACPI_IORT_NODE_SMMU_V3)) +/* Until ACPICA headers cover IORT rev. C */ +#ifndef ACPI_IORT_SMMU_V3_CAVIUM_CN99XX +#define ACPI_IORT_SMMU_V3_CAVIUM_CN99XX 0x2 +#endif + struct iort_its_msi_chip { struct list_head list; struct fwnode_handle *fw_node; |