On Wed, May 02, 2018 at 02:07:21PM +1000, Alexey Kardashevskiy wrote:
This is to allow the guest to use big host IOMMU pages even when
the exact page size (i.e. 16MB) is not supported by the host
(i.e.P9).
Thanks for implementing this, it will make a bunch of things rather easier.
Please comment. Thanks.
Alexey Kardashevskiy (2):
KVM: PPC: Use correct page shift in H_STUFF_TCE
KVM: PPC: Allow backing bigger guest IOMMU pages with smaller physical
pages
arch/powerpc/kvm/book3s_64_vio.c | 68 +++++++++++++++++++++++++++++--------
arch/powerpc/kvm/book3s_64_vio_hv.c | 54 +++++++++++++++++++++++++----
2 files changed, 100 insertions(+), 22 deletions(-)
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson