Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 01/23/2012 06:28 PM, Scott Wood wrote: On 01/20/2012 08:43 PM, Alexander Graf wrote: Am 20.01.2012 um 21:01 schrieb Scott Wood: I'm not sure what happens when you write an entry to TLB1 with an invalid TSIZE. What it says, the ISA means it's implementation dependent. What e500mc actually

Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/20/2012 08:43 PM, Alexander Graf wrote: > > > Am 20.01.2012 um 21:01 schrieb Scott Wood : >> I'm not sure what happens when you write >> an entry to TLB1 with an invalid TSIZE. > > What it says, the ISA means it's implementation dependent. What e500mc > actually implements is an different

Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-20 Thread Alexander Graf
Am 20.01.2012 um 21:01 schrieb Scott Wood : > On 01/20/2012 07:21 AM, Alexander Graf wrote: >> When setting a TLB entry, we need to check if the TLB we're putting it in >> actually supports the given size. According to the 2.06 PowerPC ISA, a >> value that's out of range results in the minimum p

Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-20 Thread Scott Wood
On 01/20/2012 07:21 AM, Alexander Graf wrote: > When setting a TLB entry, we need to check if the TLB we're putting it in > actually supports the given size. According to the 2.06 PowerPC ISA, a > value that's out of range results in the minimum page size for the TLB > to be used. The ISA says, "I

[Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-20 Thread Alexander Graf
When setting a TLB entry, we need to check if the TLB we're putting it in actually supports the given size. According to the 2.06 PowerPC ISA, a value that's out of range results in the minimum page size for the TLB to be used. Signed-off-by: Alexander Graf --- v1 -> v2: - fix min/max check