Re: [Qemu-devel] [PATCH] target-ppc: Use right page size with hash table lookup

2015-01-29 Thread Alexander Graf
On 29.01.15 01:48, David Gibson wrote: > On Mon, Jan 26, 2015 at 07:51:58PM +0530, Aneesh Kumar K.V wrote: >> We look at two sizes specified in ISA (4K, 64K). If not found matching, >> we consider it 16MB. >> >> Without this patch we would fail to lookup address above 16MB range. >> Below 16MB ha

Re: [Qemu-devel] [PATCH] target-ppc: Use right page size with hash table lookup

2015-01-28 Thread David Gibson
On Mon, Jan 26, 2015 at 07:51:58PM +0530, Aneesh Kumar K.V wrote: > We look at two sizes specified in ISA (4K, 64K). If not found matching, > we consider it 16MB. > > Without this patch we would fail to lookup address above 16MB range. > Below 16MB happened to work before because the kernel have a

[Qemu-devel] [PATCH] target-ppc: Use right page size with hash table lookup

2015-01-26 Thread Aneesh Kumar K.V
We look at two sizes specified in ISA (4K, 64K). If not found matching, we consider it 16MB. Without this patch we would fail to lookup address above 16MB range. Below 16MB happened to work before because the kernel have a liner mapping and we always looked up hash for 0xc000. The actu