mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "iommu/arm-smmu: Fix SMR mask extraction for bootloader programmed SMRs"
This commit is contained in:
commit
c522f59658
1 changed files with 1 additions and 1 deletions
|
|
@ -4422,7 +4422,7 @@ static int arm_smmu_handoff_cbs(struct arm_smmu_device *smmu)
|
|||
if (!(raw_smr & SMR_VALID))
|
||||
continue;
|
||||
|
||||
smr.mask = FIELD_GET(SMR_MASK, raw_smr);
|
||||
smr.mask = FIELD_GET(SMR_MASK, raw_smr & ~SMR_VALID);
|
||||
smr.id = FIELD_GET(SMR_ID, raw_smr);
|
||||
smr.valid = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue