Re: [PATCH kernel 1/2] KVM: PPC: Use correct page shift in H_STUFF_TCE

2018-05-02 Thread David Gibson
On Wed, May 02, 2018 at 02:07:22PM +1000, Alexey Kardashevskiy wrote: > The other TCE handlers use page shift from the guest visible TCE table > (described by kvmppc_spapr_tce_iommu_table) so let's make H_STUFF_TCE > handlers do the same thing. > > This should cause no behavioral change now but so

[PATCH kernel 1/2] KVM: PPC: Use correct page shift in H_STUFF_TCE

2018-05-01 Thread Alexey Kardashevskiy
The other TCE handlers use page shift from the guest visible TCE table (described by kvmppc_spapr_tce_iommu_table) so let's make H_STUFF_TCE handlers do the same thing. This should cause no behavioral change now but soon we will allow the iommu_table::it_page_shift being different from from the em