linux-arm-kernel.lists.infradead.org archive mirror
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64/fpsimd: Remove duplicate SYS_SVCR read
  2022-06-29  5:10 [PATCH] arm64/fpsimd: Remove duplicate SYS_SVCR read Schspa Shi
@ 2022-06-29  9:33 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2022-06-29  9:33 UTC (permalink / raw)
  To: Schspa Shi, catalin.marinas
  Cc: kernel-team, Will Deacon, broonie, bigeasy, geert+renesas, maz,
	linux-arm-kernel, linux-kernel

On Wed, 29 Jun 2022 13:10:23 +0800, Schspa Shi wrote:
> 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,
-- 
Will

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-06-29  9:35 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;
as well as URLs for NNTP newsgroup(s).