Re: [PATCH v4 4/4] target/ppc: Add support for Radix partition-scoped translation

2020-04-08 Thread Cédric Le Goater
>>> -*raddr = g_raddr; >>> +/* >>> + * Perform partition-scoped translation if !HV or HV access to >>> + * quadrants 1 or 2. Translates a guest real address to a host >>> + * real address. >>> + */ >>> +if ((lpid != 0) || (!cpu->vhyp && !msr_hv)) { >> >> This check is

Re: [PATCH v4 4/4] target/ppc: Add support for Radix partition-scoped translation

2020-04-07 Thread David Gibson
On Fri, Apr 03, 2020 at 05:11:29PM +0200, Greg Kurz wrote: > On Fri, 3 Apr 2020 16:00:56 +0200 > Cédric Le Goater wrote: > > > The Radix tree translation model currently supports process-scoped > > translation for the PowerNV machine (Hypervisor mode) and for the > > pSeries machine (Guest

Re: [PATCH v4 4/4] target/ppc: Add support for Radix partition-scoped translation

2020-04-03 Thread Greg Kurz
On Fri, 3 Apr 2020 16:00:56 +0200 Cédric Le Goater wrote: > The Radix tree translation model currently supports process-scoped > translation for the PowerNV machine (Hypervisor mode) and for the > pSeries machine (Guest mode). Guests running under an emulated > Hypervisor (PowerNV machine)