[PATCH kernel v2] KVM: PPC: Fix TCE handling for VFIO
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Apr 24 22:15:20 AEST 2022
On Wed, 20 Apr 2022 15:08:40 +1000, Alexey Kardashevskiy wrote:
> The LoPAPR spec defines a guest visible IOMMU with a variable page size.
> Currently QEMU advertises 4K, 64K, 2M, 16MB pages, a Linux VM picks
> the biggest (16MB). In the case of a passed though PCI device, there is
> a hardware IOMMU which does not support all pages sizes from the above -
> P8 cannot do 2MB and P9 cannot do 16MB. So for each emulated
> 16M IOMMU page we may create several smaller mappings ("TCEs") in
> the hardware IOMMU.
>
> [...]
Applied to powerpc/fixes.
[1/1] KVM: PPC: Fix TCE handling for VFIO
https://git.kernel.org/powerpc/c/26a62b750a4e6364b0393562f66759b1494c3a01
cheers
More information about the Linuxppc-dev
mailing list