]> git.proxmox.com Git - mirror_edk2.git/commit
IntelSiliconPkg/IntelVTdDxe: Do global invalidation before boot
authorZhichao Gao <zhichao.gao@intel.com>
Thu, 9 May 2019 03:11:55 +0000 (11:11 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 10 May 2019 00:34:45 +0000 (08:34 +0800)
commit30a888b5a0a01eb9ce79b46af9937e997a30ae5c
tree5bab054ef0ab73c2f56767ddf3cab75a14a418f2
parent0a506fc7ab8b5df2944d2e4602a46fbef57edc82
IntelSiliconPkg/IntelVTdDxe: Do global invalidation before boot

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1547

V2:
Abandon V1.
Do global invalidation of context-cache and IOTLB at
ExitBootServices.

V1:
Only doing IOTLB invalidation would cause a BSOD
'DRIVER_VERIFIER_DMA_VIOLATION' while changing the second
level page entry's attributes. So always do the global
invalidation of context-cache and IOTLB.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.c
IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmaProtection.h