[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c922696adf78e8243f6aab8619278170@codeaurora.org>
Date: Thu, 09 Jul 2020 10:51:50 +0530
From: Sai Prakash Ranjan <saiprakash.ranjan@...eaurora.org>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Marc Zyngier <maz@...nel.org>,
Steven Price <steven.price@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Mark Brown <broonie@...nel.org>,
James Morse <james.morse@....com>,
Mark Rutland <mark.rutland@....com>,
Andrew Scull <ascull@...gle.com>
Subject: Re: [PATCH] arm64: Add missing sentinel to erratum_1463225
Hi Florian,
On 2020-07-09 10:43, Florian Fainelli wrote:
> When the erratum_1463225 array was introduced a sentinel at the end was
> missing thus causing a KASAN: global-out-of-bounds in
> is_affected_midr_range_list on arm64 error.
>
> Link:
> https://lore.kernel.org/linux-arm-kernel/CA+G9fYs3EavpU89-rTQfqQ9GgxAMgMAk7jiiVrfP0yxj5s+Q6g@mail.gmail.com/
> Fixes: a9e821b89daa ("arm64: Add KRYO4XX gold CPU cores to erratum
> list 1463225 and 1418040")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
> ---
> arch/arm64/kernel/cpu_errata.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/kernel/cpu_errata.c
> b/arch/arm64/kernel/cpu_errata.c
> index 8e302dc093d0..79728bfb5351 100644
> --- a/arch/arm64/kernel/cpu_errata.c
> +++ b/arch/arm64/kernel/cpu_errata.c
> @@ -782,6 +782,7 @@ static const struct midr_range erratum_1463225[] =
> {
> MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 1),
> /* Kryo4xx Gold (rcpe to rfpf) => (r0p0 to r3p1) */
> MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xf),
> + {},
> };
> #endif
My bad missing this, thanks for the fix.
Reviewed-by: Sai Prakash Ranjan <saiprakash.ranjan@...eaurora.org>
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member
of Code Aurora Forum, hosted by The Linux Foundation
Powered by blists - more mailing lists