The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] arm64/fpsimd: Remove duplicate SYS_SVCR read
@ 2022-06-29  5:10 Schspa Shi
  2022-06-29  9:33 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Schspa Shi @ 2022-06-29  5:10 UTC (permalink / raw)
  To: catalin.marinas, will
  Cc: broonie, maz, bigeasy, geert+renesas, linux-arm-kernel,
	linux-kernel, Schspa Shi

It seems to be a typo, remove the duplicate SYS_SVCR read.

Signed-off-by: Schspa Shi <schspa@gmail.com>
---
 arch/arm64/kernel/fpsimd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
index aecf3071efdd..dd63ffc3a2fa 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
@@ -445,7 +445,6 @@ static void fpsimd_save(void)
 
 	if (system_supports_sme()) {
 		u64 *svcr = last->svcr;
-		*svcr = read_sysreg_s(SYS_SVCR);
 
 		*svcr = read_sysreg_s(SYS_SVCR);
 
-- 
2.29.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-29  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29  5:10 [PATCH] arm64/fpsimd: Remove duplicate SYS_SVCR read Schspa Shi
2022-06-29  9:33 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox