Re: [PATCH] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-07 Thread Hong H. Pham
There is a typo in the v2 patch, please disregard it. The v3 patch with the correction will follow. Thanks, Hong On 12/06/2013 11:15 AM, Hong H. Pham wrote: Hi Aneesh, On 12/06/2013 05:38 AM, Aneesh Kumar K.V wrote: can you also specifiy the config details here. ie, 4K page size functions

Re: [PATCH] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-06 Thread Aneesh Kumar K.V
Hong H. Pham hong.p...@windriver.com writes: In pte_alloc_one(), pgtable_page_ctor() is passed an address that has not been converted by page_address() to the newly allocated PTE page. When the PTE is freed, __pte_free_tlb() calls pgtable_page_dtor() with an address to the PTE page that has

Re: [PATCH] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-06 Thread Hong H. Pham
Hi Aneesh, On 12/06/2013 05:38 AM, Aneesh Kumar K.V wrote: can you also specifiy the config details here. ie, 4K page size functions are broken ? My PPC64 config has SMP and 4K page size enabled. I re-tested with 64K page size, and the problem is not present. I have added a note that this

[PATCH] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-05 Thread Hong H. Pham
In pte_alloc_one(), pgtable_page_ctor() is passed an address that has not been converted by page_address() to the newly allocated PTE page. When the PTE is freed, __pte_free_tlb() calls pgtable_page_dtor() with an address to the PTE page that has been converted by page_address(). The mismatch in