Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-15 Thread Scott Wood
On 05/09/2012 05:54 AM, Fabien Chouteau wrote: On 05/07/2012 06:28 PM, Alexander Graf wrote: Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't change any guest facing behavior :o. My bad, The problem comes from my

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-15 Thread Fabien Chouteau
On 05/15/2012 05:28 PM, Scott Wood wrote: On 05/09/2012 05:54 AM, Fabien Chouteau wrote: On 05/07/2012 06:28 PM, Alexander Graf wrote: Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't change any guest facing behavior :o. My

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-15 Thread Scott Wood
On 05/15/2012 11:50 AM, Fabien Chouteau wrote: On 05/15/2012 05:28 PM, Scott Wood wrote: On 05/09/2012 05:54 AM, Fabien Chouteau wrote: On 05/07/2012 06:28 PM, Alexander Graf wrote: Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-09 Thread Fabien Chouteau
On 05/07/2012 06:28 PM, Alexander Graf wrote: Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't change any guest facing behavior :o. My bad, The problem comes from my initialization of tlb entries at board reset. I use

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-07 Thread Fabien Chouteau
Hi Scott, I'm a little bit late, but this patch is not compatible with e500. In fact all the modification breaks e500v2 MMU support. What kind PPC core are you working on? Regards, On 07/08/2011 01:44 AM, Scott Wood wrote: This definition is backward compatible with MAV=1.0 as long as the

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-07 Thread Alexander Graf
Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't change any guest facing behavior :o. Alex On 07.05.2012, at 17:47, Fabien Chouteau wrote: Hi Scott, I'm a little bit late, but this patch is not compatible with e500. In fact

Re: [Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2012-05-07 Thread Andreas Färber
Am 07.05.2012 18:28, schrieb Alexander Graf: Hi Fabien, Could you please elaborate a bit on the case that broke for you with these? The patches shouldn't change any guest facing behavior :o. Alex On 07.05.2012, at 17:47, Fabien Chouteau wrote: Hi Scott, I'm a little bit late,

[Qemu-devel] [PATCH 3/4] ppc: booke206: use MAV=2.0 TSIZE definition, fix 4G pages

2011-07-07 Thread Scott Wood
This definition is backward compatible with MAV=1.0 as long as the guest does not set reserved bits in MAS1/MAS4. Also, fix the shift in booke206_tlb_to_page_size -- it's the base that should be able to hold a 4G page size, not the shift count. Signed-off-by: Scott Wood scottw...@freescale.com