mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare()
@ 2025-03-09  7:07 Yue Haibing
  2025-03-10 16:24 ` Mark Rutland
  2025-03-11 18:20 ` Catalin Marinas
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2025-03-09  7:07 UTC (permalink / raw)
  To: catalin.marinas, will, yuehaibing; +Cc: linux-arm-kernel, linux-kernel

Commit fbc7e61195e2 ("KVM: arm64: Unconditionally save+flush host
FPSIMD/SVE/SME state") removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 arch/arm64/include/asm/fpsimd.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
index f2a84efc3618..564bc09b3e06 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -80,7 +80,6 @@ extern void fpsimd_signal_preserve_current_state(void);
 extern void fpsimd_preserve_current_state(void);
 extern void fpsimd_restore_current_state(void);
 extern void fpsimd_update_current_state(struct user_fpsimd_state const *state);
-extern void fpsimd_kvm_prepare(void);
 
 struct cpu_fp_state {
 	struct user_fpsimd_state *st;
-- 
2.34.1


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

* Re: [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare()
  2025-03-09  7:07 [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare() Yue Haibing
@ 2025-03-10 16:24 ` Mark Rutland
  2025-03-11 18:20 ` Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2025-03-10 16:24 UTC (permalink / raw)
  To: Yue Haibing; +Cc: catalin.marinas, will, linux-arm-kernel, linux-kernel

On Sun, Mar 09, 2025 at 03:07:23PM +0800, Yue Haibing wrote:
> Commit fbc7e61195e2 ("KVM: arm64: Unconditionally save+flush host
> FPSIMD/SVE/SME state") removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

My bad. Looks like a sensible cleanup.

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/include/asm/fpsimd.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
> index f2a84efc3618..564bc09b3e06 100644
> --- a/arch/arm64/include/asm/fpsimd.h
> +++ b/arch/arm64/include/asm/fpsimd.h
> @@ -80,7 +80,6 @@ extern void fpsimd_signal_preserve_current_state(void);
>  extern void fpsimd_preserve_current_state(void);
>  extern void fpsimd_restore_current_state(void);
>  extern void fpsimd_update_current_state(struct user_fpsimd_state const *state);
> -extern void fpsimd_kvm_prepare(void);
>  
>  struct cpu_fp_state {
>  	struct user_fpsimd_state *st;
> -- 
> 2.34.1
> 
> 

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

* Re: [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare()
  2025-03-09  7:07 [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare() Yue Haibing
  2025-03-10 16:24 ` Mark Rutland
@ 2025-03-11 18:20 ` Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2025-03-11 18:20 UTC (permalink / raw)
  To: will, Yue Haibing; +Cc: linux-arm-kernel, linux-kernel

On Sun, 09 Mar 2025 15:07:23 +0800, Yue Haibing wrote:
> Commit fbc7e61195e2 ("KVM: arm64: Unconditionally save+flush host
> FPSIMD/SVE/SME state") removed the implementation but leave declaration.

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

[1/1] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare()
      https://git.kernel.org/arm64/c/31208bad3937

-- 
Catalin


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

end of thread, other threads:[~2025-03-11 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-09  7:07 [PATCH -next] arm64/fpsimd: Remove unused declaration fpsimd_kvm_prepare() Yue Haibing
2025-03-10 16:24 ` Mark Rutland
2025-03-11 18:20 ` Catalin Marinas

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

all inboxes | Powered by JetHome®