Re: [Qemu-devel] [PATCH 3/3] target/ppc: generalize check on radix when in HV mode

2018-02-02 Thread Cédric Le Goater
On 02/02/2018 03:43 AM, Suraj Jitindar Singh wrote: > On Wed, 2018-01-31 at 09:27 +0100, Cédric Le Goater wrote: >> On a POWER9 processor, the first doubleword of the PTCR indicates >> whether the partition uses HPT or Radix Trees translation. Use that >> bit to check for radix mode on powernv QEMU

Re: [Qemu-devel] [PATCH 3/3] target/ppc: generalize check on radix when in HV mode

2018-02-01 Thread Suraj Jitindar Singh
On Wed, 2018-01-31 at 09:27 +0100, Cédric Le Goater wrote: > On a POWER9 processor, the first doubleword of the PTCR indicates > whether the partition uses HPT or Radix Trees translation. Use that > bit to check for radix mode on powernv QEMU machines. The above isn't quite right. On a POWER9 pro

[Qemu-devel] [PATCH 3/3] target/ppc: generalize check on radix when in HV mode

2018-01-31 Thread Cédric Le Goater
On a POWER9 processor, the first doubleword of the PTCR indicates whether the partition uses HPT or Radix Trees translation. Use that bit to check for radix mode on powernv QEMU machines. Signed-off-by: Cédric Le Goater --- target/ppc/mmu-book3s-v3.c | 17 - target/ppc/mmu-book3