diff options
| author | Andrew Jones <[email protected]> | 2025-02-17 08:45:08 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-02-17 10:58:27 +0000 |
| commit | c7db342e3b4744688be1e27e31254c1d31a35274 (patch) | |
| tree | 24d628645d9d4d1a69677177a52616dc0f8ac8a2 /net/unix/sysctl_net_unix.c | |
| parent | Linux 6.14-rc3 (diff) | |
| download | kernel-c7db342e3b4744688be1e27e31254c1d31a35274.tar.gz kernel-c7db342e3b4744688be1e27e31254c1d31a35274.zip | |
riscv: KVM: Fix hart suspend status check
"Not stopped" means started or suspended so we need to check for
a single state in order to have a chance to check for each state.
Also, we need to use target_vcpu when checking for the suspend
state.
Fixes: 763c8bed8c05 ("RISC-V: KVM: Implement SBI HSM suspend call")
Signed-off-by: Andrew Jones <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
