iommu/arm-smmu: avoid using ASID 0
Thulium has a hardware errata that requires that we avoid using ASID 0. Implement the workaround in the SMMU driver. Change-Id: Ia44ab1b385450994641c5f5ccb3dba4a462a8033 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
parent
64bfe1d2be
commit
fd8292fee2
1 changed files with 2 additions and 2 deletions
|
@ -474,8 +474,8 @@ struct arm_smmu_cfg {
|
|||
};
|
||||
#define INVALID_IRPTNDX 0xff
|
||||
|
||||
#define ARM_SMMU_CB_ASID(cfg) ((cfg)->cbndx)
|
||||
#define ARM_SMMU_CB_VMID(cfg) ((cfg)->cbndx + 1)
|
||||
#define ARM_SMMU_CB_ASID(cfg) ((cfg)->cbndx + 1)
|
||||
#define ARM_SMMU_CB_VMID(cfg) ((cfg)->cbndx + 2)
|
||||
|
||||
struct arm_smmu_domain {
|
||||
struct arm_smmu_device *smmu;
|
||||
|
|
Loading…
Add table
Reference in a new issue