Merge "iommu/arm-smmu: avoid using ASID 0"
This commit is contained in:
commit
ef48422a4a
|
@ -388,8 +388,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…
Reference in New Issue