Skip to contentSkip to conversation

arm64/fpsimd: Remove duplicate SYS_SVCR read

PATCH Applied Schspa Shi 2 participants 2 messages Jun 29, 2022 arm64

lore
Share & tools
lore

Schspa Shi

author
#0 lore raw

PATCH 1/1 arm64/fpsimd: Remove duplicate SYS_SVCR read

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

---
 arch/arm64/kernel/fpsimd.c | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/kernel/fpsimd.c +0 -1
index aecf3071efdd..dd63ffc3a2fa 100644
@@ -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);
 
Signature · 1 line
2.29.0
maintainer Applied
#1 lore raw
Quoted 3 lines · Schspa Shi

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

Applied to arm64 (for-next/sme), thanks!

[1/1] arm64/fpsimd: Remove duplicate SYS_SVCR read

      https://git.kernel.org/arm64/c/4139320d19e6

Cheers,

Signature · 5 lines
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev