mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
Revert "hv: More changes to enable GPU passthru"
This reverts commit 8d50d40ff8.
This commit is contained in:
@@ -489,7 +489,7 @@ int ept_mmap(struct vm *vm, uint64_t hpa,
|
||||
* to force snooping of PCIe devices if the page
|
||||
* is cachable
|
||||
*/
|
||||
if ((prot & IA32E_EPT_MT_MASK) != IA32E_EPT_UNCACHED && iommu_snoop)
|
||||
if ((prot & IA32E_EPT_MT_MASK) != IA32E_EPT_UNCACHED)
|
||||
prot |= IA32E_EPT_SNOOP_CTRL;
|
||||
map_mem(&map_params, (void *)hpa,
|
||||
(void *)gpa, size, prot);
|
||||
|
||||
Reference in New Issue
Block a user