Re: [PATCH] riscv: vector: Check SR_SD before saving vstate

From: Palmer Dabbelt
Date: Thu Jan 11 2024 - 10:37:05 EST


On Thu, 11 Jan 2024 07:16:06 PST (-0800), andy.chiu@xxxxxxxxxx wrote:
Hi Palmer,

On Thu, Jan 11, 2024 at 10:50 PM <patchwork-bot+linux-riscv@xxxxxxxxxx> wrote:

Hello:

This patch was applied to riscv/linux.git (for-next)

IIUC the conclusion for this thread is not to check SD bit for either
vector or fpu. The patch for this was sent together with the
kernel-mode vector series and has been reviewed-by both Song and Guo.

by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Thu, 21 Dec 2023 15:04:49 +0800 you wrote:
> The SD bit summarizes the dirty states of FS, VS, or XS fields,
> providing a "fast check" before saving fstate or vstate.
>
> Let __switch_to_vector() check SD bit as __switch_to_fpu() does.
>
> Fixes: 3a2df6323def ("riscv: Add task switch support for vector")
> Signed-off-by: Song Shuai <songshuaishuai@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- riscv: vector: Check SR_SD before saving vstate
https://git.kernel.org/riscv/c/e1b76bc00ed1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Please let me know if I missed anything.

Sorry, I must have misunderstood. I'm dropping it.