Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'iommu-fixes-v4.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu

Joerg writes:
"IOMMU Fix for Linux v4.19-rc6

One important fix:
- Fix a memory leak with AMD IOMMU when SME is active and a VM
has assigned devices. In that case the complete guest memory
will be leaked without this fix."

* tag 'iommu-fixes-v4.19-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
iommu/amd: Clear memory encryption mask from physical address

+1 -1
+1 -1
drivers/iommu/amd_iommu.c
··· 3069 3069 return 0; 3070 3070 3071 3071 offset_mask = pte_pgsize - 1; 3072 - __pte = *pte & PM_ADDR_MASK; 3072 + __pte = __sme_clr(*pte & PM_ADDR_MASK); 3073 3073 3074 3074 return (__pte & ~offset_mask) | (iova & offset_mask); 3075 3075 }