diff options
| author | Andrew Jones <ajones@ventanamicro.com> | 2025-02-17 09:45:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:36 +0100 |
| commit | 5ecf68c8834ba4e5b0b8ebdfad2bebf3daf8b8d1 (patch) | |
| tree | d67ad830886a0c503e14d2c15f27e8590f24c160 /scripts/stackusage | |
| parent | faccabe9c1c9d6c9f6e668f69e5b1db05c20c4a8 (diff) | |
| download | linux-5ecf68c8834ba4e5b0b8ebdfad2bebf3daf8b8d1.tar.gz linux-5ecf68c8834ba4e5b0b8ebdfad2bebf3daf8b8d1.tar.bz2 linux-5ecf68c8834ba4e5b0b8ebdfad2bebf3daf8b8d1.zip | |
riscv: KVM: Fix hart suspend status check
[ Upstream commit c7db342e3b4744688be1e27e31254c1d31a35274 ]
"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 <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250217084506.18763-8-ajones@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
