Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-20 Thread Alexander Graf
Am 20.05.2011 um 23:40 schrieb Andreas Färber : > Am 20.05.2011 um 22:24 schrieb Alexander Graf: > >> Am 20.05.2011 um 21:10 schrieb Andreas Färber : >> >>> Next breakage... :( >>> >>> Am 10.05.2011 um 00:15 schrieb Alexander Graf: >>> Most of the code to support e500 style MMUs is alrea

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-20 Thread Andreas Färber
Am 20.05.2011 um 22:24 schrieb Alexander Graf: Am 20.05.2011 um 21:10 schrieb Andreas Färber : Next breakage... :( Am 10.05.2011 um 00:15 schrieb Alexander Graf: Most of the code to support e500 style MMUs is already in place, but we're missing on some of the special TLB0-TLB1 handling co

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-20 Thread Alexander Graf
Am 20.05.2011 um 21:10 schrieb Andreas Färber : > Hey Alex, > > Next breakage... :( > > Am 10.05.2011 um 00:15 schrieb Alexander Graf: > >> Most of the code to support e500 style MMUs is already in place, but >> we're missing on some of the special TLB0-TLB1 handling code and slightly >> diffe

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-20 Thread Andreas Färber
Hey Alex, Next breakage... :( Am 10.05.2011 um 00:15 schrieb Alexander Graf: Most of the code to support e500 style MMUs is already in place, but we're missing on some of the special TLB0-TLB1 handling code and slightly different TLB modification. This patch adds support for the FSL style

[Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-09 Thread Alexander Graf
Most of the code to support e500 style MMUs is already in place, but we're missing on some of the special TLB0-TLB1 handling code and slightly different TLB modification. This patch adds support for the FSL style MMU. Signed-off-by: Alexander Graf --- v1 -> v2: - fix linux-user build - op

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-09 Thread Scott Wood
On Mon, 9 May 2011 21:36:12 +0200 Alexander Graf wrote: > > On 09.05.2011, at 21:27, Scott Wood wrote: > > > On Sat, 7 May 2011 23:36:29 +0200 > > Alexander Graf wrote: > > > >> On 07.05.2011, at 00:25, Scott Wood wrote: > +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-09 Thread Alexander Graf
On 09.05.2011, at 21:27, Scott Wood wrote: > On Sat, 7 May 2011 23:36:29 +0200 > Alexander Graf wrote: > >> On 07.05.2011, at 00:25, Scott Wood wrote: +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong address_lo) >>> >>> What is address_hi? >>> >>> From gen_tlbsx_bo

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-09 Thread Scott Wood
On Sat, 7 May 2011 23:36:29 +0200 Alexander Graf wrote: > On 07.05.2011, at 00:25, Scott Wood wrote: > >> +void helper_booke206_tlbsx(target_ulong address_hi, target_ulong > >> address_lo) > > > > What is address_hi? > > > > From gen_tlbsx_booke206() it looks like these two arguments correspon

[Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-07 Thread Alexander Graf
Most of the code to support e500 style MMUs is already in place, but we're missing on some of the special TLB0-TLB1 handling code and slightly different TLB modification. This patch adds support for the FSL style MMU. Signed-off-by: Alexander Graf --- v1 -> v2: - fix linux-user build - op

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-07 Thread Alexander Graf
On 07.05.2011, at 00:25, Scott Wood wrote: > On Fri, 6 May 2011 14:00:35 +0200 > Alexander Graf wrote: > >> +static inline void booke206_flush_tlb_one(ppc_tlb_t *tlb, int num) >> +{ >> +int i; >> + >> +for (i = 0; i < num; i++) { >> +if ((tlb[i].tlbe.prot & PAGE_VALID) && >> +

Re: [Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-06 Thread Scott Wood
On Fri, 6 May 2011 14:00:35 +0200 Alexander Graf wrote: > +static inline void booke206_flush_tlb_one(ppc_tlb_t *tlb, int num) > +{ > +int i; > + > +for (i = 0; i < num; i++) { > +if ((tlb[i].tlbe.prot & PAGE_VALID) && > + !(tlb[i].tlbe.attr & MAS1_IPROT)) { > +

[Qemu-devel] [PATCH 5/7] PPC: Implement e500 (FSL) MMU

2011-05-06 Thread Alexander Graf
Most of the code to support e500 style MMUs is already in place, but we're missing on some of the special TLB0-TLB1 handling code and slightly different TLB modification. This patch adds support for the FSL style MMU. Signed-off-by: Alexander Graf --- v1 -> v2: - fix linux-user build - op