summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2025-02-17 09:45:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 18:25:36 +0100
commitf5009ddfd70af1abea1f97313c6631ae2954395a (patch)
tree4f45346736689b1b5a0779b86add436a33b9d038 /scripts/patch-kernel
parent5ecf68c8834ba4e5b0b8ebdfad2bebf3daf8b8d1 (diff)
downloadlinux-f5009ddfd70af1abea1f97313c6631ae2954395a.tar.gz
linux-f5009ddfd70af1abea1f97313c6631ae2954395a.tar.bz2
linux-f5009ddfd70af1abea1f97313c6631ae2954395a.zip
riscv: KVM: Fix hart suspend_type use
[ Upstream commit e3219b0c491f2aa0e0b200a39d3352ab05cdda96 ] The spec says suspend_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 suspend_type before using it. 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-9-ajones@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions