Re: [PATCH] arm64: kernel: Add module symbols _text, _etext.

2020-07-09 Thread Christoph Hellwig
On Thu, Jul 09, 2020 at 10:49:51AM +0100, Will Deacon wrote: > On Thu, Jul 09, 2020 at 05:23:45PM +0900, sanggil2@samsung.com wrote: > > From: Sanggil Kim > > > > We have a solution to protect kernel code section(autually from _text to > > _etext) by not MMU. In order to do this, we have to k

Re: [PATCH] arm64: kernel: Add module symbols _text, _etext.

2020-07-09 Thread Will Deacon
On Thu, Jul 09, 2020 at 05:23:45PM +0900, sanggil2@samsung.com wrote: > From: Sanggil Kim > > We have a solution to protect kernel code section(autually from _text to > _etext) by not MMU. In order to do this, we have to know the addresses > of _text and _etext at runtime. Interesting! Can y

[PATCH] arm64: kernel: Add module symbols _text, _etext.

2020-07-09 Thread sanggil2 . kim
From: Sanggil Kim We have a solution to protect kernel code section(autually from _text to _etext) by not MMU. In order to do this, we have to know the addresses of _text and _etext at runtime. Signed-off-by: Sanggil Kim --- arch/arm64/kernel/head.S | 3 +++ 1 file changed, 3 insertions(+) di