Re: [Qemu-devel] [PATCH 1/1] target/ppc: correct htab shift for hash on radix

2017-11-12 Thread David Gibson
On Mon, Nov 06, 2017 at 02:14:35PM +1100, Sam Bobroff wrote: > KVM HV will soon support running a guest in hash mode on a POWER9 host > running in radix mode (see [1]), however the guest currently fails to > boot. > > This is because the "htab_shift" value (the size of the MMU's hash > table) is a

[Qemu-devel] [PATCH 1/1] target/ppc: correct htab shift for hash on radix

2017-11-05 Thread Sam Bobroff
KVM HV will soon support running a guest in hash mode on a POWER9 host running in radix mode (see [1]), however the guest currently fails to boot. This is because the "htab_shift" value (the size of the MMU's hash table) is added to the device tree before KVM has had a chance to change it. If the