From: Hao Wu Date: Tue, 1 Aug 2017 03:45:33 +0000 (+0800) Subject: IntelSiliconPkg/IntelVTdDxe: Fix typo for VTd IOTLB domain ID X-Git-Tag: edk2-stable201903~3742 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f5046945b668403a9800e686f804a3ea1e9e79d7;hp=edc65fc4d83a7083ed139c00b8669c959a7fae8f IntelSiliconPkg/IntelVTdDxe: Fix typo for VTd IOTLB domain ID Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Jiewen Yao --- diff --git a/IntelSiliconPkg/IntelVTdDxe/VtdReg.c b/IntelSiliconPkg/IntelVTdDxe/VtdReg.c index 456a039bcd..d19aea2cc1 100644 --- a/IntelSiliconPkg/IntelVTdDxe/VtdReg.c +++ b/IntelSiliconPkg/IntelVTdDxe/VtdReg.c @@ -158,7 +158,7 @@ InvalidateVtdIOTLBDomain ( Reg64 &= ((~B_IOTLB_REG_IVT) & (~B_IOTLB_REG_IIRG_MASK)); Reg64 |= (B_IOTLB_REG_IVT | V_IOTLB_REG_IIRG_DOMAIN); - Reg64 |= DomainIdentifier; + Reg64 |= LShiftU64 (DomainIdentifier, 32); MmioWrite64 (mVtdUnitInformation[VtdIndex].VtdUnitBaseAddress + (mVtdUnitInformation[VtdIndex].ECapReg.Bits.IRO * 16) + R_IOTLB_REG, Reg64); do {