diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2025-02-17 11:45:12 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-02-17 13:58:28 +0300 |
commit | 351e02b1733b057e33fe13fc03ca93ec799e4f78 (patch) | |
tree | 201b281b465f90e0373dd5305a6af9af85baa462 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b901484852992cf3d162a5eab72251cc813ca624 (diff) | |
download | linux-351e02b1733b057e33fe13fc03ca93ec799e4f78.tar.xz |
riscv: KVM: Fix SBI sleep_type use
The spec says sleep_type is 32 bits wide and "In case the data is
defined as 32bit wide, higher privilege software must ensure that it
only uses 32 bit data." Mask off upper bits of sleep_type before
using it.
Fixes: 023c15151fbb ("RISC-V: KVM: Add SBI system suspend support")
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250217084506.18763-12-ajones@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions