[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ecbc7651-82c4-6518-d4a9-dbdbdf833b5b@arm.com>
Date: Thu, 21 Jan 2021 17:43:27 +0000
From: Vincenzo Frascino <vincenzo.frascino@....com>
To: Mark Rutland <mark.rutland@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kasan-dev@...glegroups.com,
Andrey Konovalov <andreyknvl@...gle.com>,
Leon Romanovsky <leonro@...lanox.com>,
Alexander Potapenko <glider@...gle.com>,
Catalin Marinas <catalin.marinas@....com>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Will Deacon <will@...nel.org>,
Dmitry Vyukov <dvyukov@...gle.com>,
Ard Biesheuvel <ardb@...nel.org>
Subject: Re: [PATCH v2 1/2] arm64: Fix kernel address detection of
__is_lm_address()
On 1/21/21 4:02 PM, Vincenzo Frascino wrote:
>> I think it'd be worth checking, if we're going to use this in common
>> code.
>>
> Ok, I will run some tests and let you know.
>
I checked on x86_64 and ppc64 (they both have KASAN implementation):
I added the following:
printk("%s: %d\n", __func__, virt_addr_valid(0));
in x86_64: sounds/last.c
in pp64: arch/powerpc/kernel/setup-common.c
and in both the cases the output is 0 (false) when the same in arm64 is 1
(true). Therefore I think we should proceed with the change.
--
Regards,
Vincenzo
Powered by blists - more mailing lists