[PATCH 1/2] arm64: Move handling of erratum 1418040 into C code
Sai Prakash Ranjan
saiprakash.ranjan at codeaurora.org
Tue Jul 28 07:04:48 EDT 2020
On 2020-07-28 14:51, Marc Zyngier wrote:
> Instead of dealing with erratum 1418040 on each entry and exit,
> let's move the handling to __switch_to() instead, which has
> several advantages:
>
> - It can be applied when it matters (switching between 32 and 64
> bit tasks).
> - It is written in C (yay!)
> - It can rely on static keys rather than alternatives
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
> arch/arm64/kernel/entry.S | 21 ---------------------
> arch/arm64/kernel/process.c | 29 +++++++++++++++++++++++++++++
> 2 files changed, 29 insertions(+), 21 deletions(-)
>
Thanks Marc, tested the series on SC7180 and SM8150 SoCs which are
affected by this erratum.
Tested-by: Sai Prakash Ranjan <saiprakash.ranjan at codeaurora.org>
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member
of Code Aurora Forum, hosted by The Linux Foundation
More information about the linux-arm-kernel
mailing list