Re: [PATCH 1/2] arm64: Move handling of erratum 1418040 into C code
From: Sai Prakash Ranjan <hidden>
Date: 2020-07-28 11:06:17
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@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 <redacted> -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel