diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2025-02-17 11:45:08 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-02-17 13:58:27 +0300 |
commit | c7db342e3b4744688be1e27e31254c1d31a35274 (patch) | |
tree | 24d628645d9d4d1a69677177a52616dc0f8ac8a2 /tools/perf/scripts/python/gecko.py | |
parent | 0ad2507d5d93f39619fc42372c347d6006b64319 (diff) | |
download | linux-c7db342e3b4744688be1e27e31254c1d31a35274.tar.xz |
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 <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>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions