Re: [PATCH V2 10/10] powerpc/mm: kasan: Add kasan support for ppc64

2017-10-12 Thread Balbir Singh
On Fri, Oct 13, 2017 at 12:48 AM, KHUSHAL GUMGAONKAR wrote: > Hi Aneesh, > > I have gone through your KASan patch for ppc64 and ported the same changes > on my PPC platform but I am facing deadlock and terminal becomes > unresponsive. Was this supposed to come to

Re: [PATCH V2 10/10] powerpc/mm: kasan: Add kasan support for ppc64

2017-10-12 Thread KHUSHAL GUMGAONKAR
Hi Aneesh, I have gone through your KASan patch for ppc64 and ported the same changes on my PPC platform but I am facing deadlock and terminal becomes unresponsive.I saw some false printk recursion which you have mentioned in mail chain. I followed all the points mentioned in your discussion

Re: [PATCH V2 10/10] powerpc/mm: kasan: Add kasan support for ppc64

2015-08-27 Thread Andrey Ryabinin
2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com: + k_start = (unsigned long)kasan_mem_to_shadow(start); + k_end = (unsigned long)kasan_mem_to_shadow(end); + for (; k_start k_end; k_start += page_size) { +

[PATCH V2 10/10] powerpc/mm: kasan: Add kasan support for ppc64

2015-08-26 Thread Aneesh Kumar K.V
We use the region with region ID 0xe as the kasan shadow region. Since we use hash page table, we can't have the early zero page based shadow region support. Hence we disable kasan in the early code and runtime enable this. We could imporve the condition using static keys. (but that is for a later