Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c522f596 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/arm-smmu: Fix SMR mask extraction for bootloader programmed SMRs"

parents 22e7b8f5 8b27d233
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4422,7 +4422,7 @@ static int arm_smmu_handoff_cbs(struct arm_smmu_device *smmu)
		if (!(raw_smr & SMR_VALID))
		if (!(raw_smr & SMR_VALID))
			continue;
			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.id = FIELD_GET(SMR_ID, raw_smr);
		smr.valid = true;
		smr.valid = true;