Re: [PATCH kernel] KVM: PPC: Fix hardware and emulated TCE tables matching

2018-07-17 Thread Paul Mackerras
On Wed, Jun 20, 2018 at 06:42:58PM +1000, Alexey Kardashevskiy wrote: > When attaching a hardware table to LIOBN in KVM, we match table parameters > such as page size, table offset and table size. However the tables are > created via very different paths - VFIO and KVM - and the VFIO path goes > th

Re: [PATCH kernel] KVM: PPC: Fix hardware and emulated TCE tables matching

2018-06-21 Thread David Gibson
On Wed, Jun 20, 2018 at 06:42:58PM +1000, Alexey Kardashevskiy wrote: > When attaching a hardware table to LIOBN in KVM, we match table parameters > such as page size, table offset and table size. However the tables are > created via very different paths - VFIO and KVM - and the VFIO path goes > th

[PATCH kernel] KVM: PPC: Fix hardware and emulated TCE tables matching

2018-06-20 Thread Alexey Kardashevskiy
When attaching a hardware table to LIOBN in KVM, we match table parameters such as page size, table offset and table size. However the tables are created via very different paths - VFIO and KVM - and the VFIO path goes through the platform code which has minimum TCE page size requirement (which is