[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <183ee3f1-5e2e-4512-6300-cc804e2baa4e@linux.com>
Date: Wed, 14 Dec 2016 01:07:51 +0300
From: Alexander Popov <alex.popov@...ux.com>
To: Will Deacon <will.deacon@....com>
Cc: Catalin Marinas <catalin.marinas@....com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh@...nel.org>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
AKASHI Takahiro <takahiro.akashi@...aro.org>,
Jon Masters <jcm@...hat.com>,
David Daney <david.daney@...ium.com>,
Ganapatrao Kulkarni <gkulkarni@...iumnetworks.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Dmitry Vyukov <dvyukov@...gle.com>,
Nicolai Stange <nicstange@...il.com>,
James Morse <james.morse@....com>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Andrey Konovalov <andreyknvl@...gle.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
syzkaller <syzkaller@...glegroups.com>,
Quentin Casasnovas <quentin.casasnovas@...cle.com>
Subject: Re: [PATCH 1/2] arm64: setup: introduce kaslr_offset()
On 12.12.2016 14:29, Will Deacon wrote:
> On Sun, Dec 11, 2016 at 03:50:55AM +0300, Alexander Popov wrote:
>> Introduce kaslr_offset() similarly to x86_64 for fixing kcov.
>>
>> Signed-off-by: Alexander Popov <alex.popov@...ux.com>
>> ---
>> arch/arm64/include/asm/setup.h | 19 +++++++++++++++++++
>> arch/arm64/include/uapi/asm/setup.h | 4 ++--
>> arch/arm64/kernel/setup.c | 8 ++++----
>> 3 files changed, 25 insertions(+), 6 deletions(-)
>> create mode 100644 arch/arm64/include/asm/setup.h
>
> You could probably just stick this in asm/memory.h, since that's where
> kimage_vaddr is declared and it would save adding a new header file.
Thanks, Will. I'll do that.
--
Alexander
Powered by blists - more mailing lists