Re: [Qemu-devel] [PATCH 1/2] ppc: Add proper real mode translation support

2016-06-28 Thread David Gibson
On Wed, Jun 29, 2016 at 12:59:05PM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2016-06-29 at 12:41 +1000, David Gibson wrote: > > > +    /* Actually we don't support unbounded RMA anymore since > > we > > > + * added proper emulation of HV mode. The max we can get > > is > > > + 

Re: [Qemu-devel] [PATCH 1/2] ppc: Add proper real mode translation support

2016-06-28 Thread Benjamin Herrenschmidt
On Wed, 2016-06-29 at 12:41 +1000, David Gibson wrote: > > +    /* Actually we don't support unbounded RMA anymore since > we > > + * added proper emulation of HV mode. The max we can get > is > > + * 16G which also happens to be what we configure for PAPR > > + * mode s

Re: [Qemu-devel] [PATCH 1/2] ppc: Add proper real mode translation support

2016-06-28 Thread David Gibson
On Tue, Jun 28, 2016 at 08:48:33AM +0200, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt > > This adds proper support for translating real mode addresses based > on the combination of HV and LPCR bits. This handles HRMOR offset > for hypervisor real mode, and both RMA and VRMA modes for g

[Qemu-devel] [PATCH 1/2] ppc: Add proper real mode translation support

2016-06-27 Thread Cédric Le Goater
From: Benjamin Herrenschmidt This adds proper support for translating real mode addresses based on the combination of HV and LPCR bits. This handles HRMOR offset for hypervisor real mode, and both RMA and VRMA modes for guest real mode. PAPR mode adjusts the offsets appropriately to match the RMA