[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8a1b7f4b-de14-90fe-2efa-789882d28702@c-s.fr>
Date: Thu, 16 Jan 2020 10:34:05 +0100
From: Christophe Leroy <christophe.leroy@....fr>
To: Daniel Axtens <dja@...ens.net>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, linuxppc-dev@...ts.ozlabs.org,
kasan-dev@...glegroups.com, aneesh.kumar@...ux.ibm.com,
bsingharora@...il.com
Subject: Re: [PATCH v5 0/4] KASAN for powerpc64 radix
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
Powered by blists - more mailing lists