Re: [PATCH 2/2] arm64: add KASan support

2015-04-17 Thread David Keitel
On 04/15/2015 11:04 AM, Andrey Ryabinin wrote: > I've pushed the most fresh thing that I have in git: > git://github.com/aryabinin/linux.git kasan/arm64v1 > > It's the same patches with two simple but important fixes on top of it. Thanks, the two commits do fix compilation issues that I've

Re: [PATCH 2/2] arm64: add KASan support

2015-04-17 Thread David Keitel
On 04/15/2015 11:04 AM, Andrey Ryabinin wrote: I've pushed the most fresh thing that I have in git: git://github.com/aryabinin/linux.git kasan/arm64v1 It's the same patches with two simple but important fixes on top of it. Thanks, the two commits do fix compilation issues that I've had

Re: [PATCH 2/2] arm64: add KASan support

2015-04-14 Thread David Keitel
>>> + pgd = __pgd(__pa(kasan_zero_pmd) | PAGE_KERNEL); >>> +#else >>> + pgd = __pgd(__pa(kasan_zero_pte) | PAGE_KERNEL); >>> +#endif >>> + >>> + for (i = pgd_index(start); start < end; i++) { >>> + set_pgd([i], pgd); >>> + start += PGDIR_SIZE; >>> + } >>> +} >> >> Same

Re: [PATCH 2/2] arm64: add KASan support

2015-04-14 Thread David Keitel
+ pgd = __pgd(__pa(kasan_zero_pmd) | PAGE_KERNEL); +#else + pgd = __pgd(__pa(kasan_zero_pte) | PAGE_KERNEL); +#endif + + for (i = pgd_index(start); start end; i++) { + set_pgd(pgdp[i], pgd); + start += PGDIR_SIZE; + } +} Same problem as above with