lkml.org 
[lkml]   [2020]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 0/4] KASAN for powerpc64 radix
From
Date


Le 09/01/2020 à 08:08, Daniel Axtens a écrit :
> Building on the work of Christophe, Aneesh and Balbir, I've ported
> KASAN to 64-bit Book3S kernels running on the Radix MMU.
>
> This provides full inline instrumentation on radix, but does require
> that you be able to specify the amount of physically contiguous memory
> on the system at compile time. More details in patch 4.

This might be a stupid idea as I don't know ppc64 much. IIUC, PPC64
kernel can be relocated, there is no requirement to have it at address
0. Therefore, would it be possible to put the KASAN shadow mem at the
begining of the physical memory, instead of putting it at the end ?
That way, you wouldn't need to know the amount of memory at compile time
because KASAN shadow mem would always be at address 0.

Christophe

\
 
 \ /
  Last update: 2020-01-16 10:35    [W:0.211 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site