Re: [PATCH kernel] KVM: PPC: Do not warn when userspace asked for too big TCE table

2022-07-09 Thread Michael Ellerman
On Tue, 28 Jun 2022 18:02:28 +1000, Alexey Kardashevskiy wrote: > KVM manages emulated TCE tables for guest LIOBNs by a two level table > which maps up to 128TiB with 16MB IOMMU pages (enabled in QEMU by default) > and MAX_ORDER=11 (the kernel's default). Note that the last level of > the table is

[PATCH kernel] KVM: PPC: Do not warn when userspace asked for too big TCE table

2022-06-28 Thread Alexey Kardashevskiy
KVM manages emulated TCE tables for guest LIOBNs by a two level table which maps up to 128TiB with 16MB IOMMU pages (enabled in QEMU by default) and MAX_ORDER=11 (the kernel's default). Note that the last level of the table is allocated when actual TCE is updated. However these tables are created