]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RISC-V: KVM: Fix csr_write -> csr_set for HVIEN PMU overflow bit
authorMichael Neuling <michaelneuling@tenstorrent.com>
Wed, 27 Nov 2024 04:18:40 +0000 (04:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Dec 2024 13:01:57 +0000 (14:01 +0100)
commit5d4380ec054e7bc8579c48db22ce659a818601e9
tree9a537067fc20b3f801d1de5fbd211717793d512d
parent891c43f4f9a8c67fd743eaac1106fec04da2f6c4
RISC-V: KVM: Fix csr_write -> csr_set for HVIEN PMU overflow bit

[ Upstream commit ea6398a5af81e3e7fb3da5d261694d479a321fd9 ]

This doesn't cause a problem currently as HVIEN isn't used elsewhere
yet. Found by inspection.

Signed-off-by: Michael Neuling <michaelneuling@tenstorrent.com>
Fixes: 16b0bde9a37c ("RISC-V: KVM: Add perf sampling support for guests")
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20241127041840.419940-1-michaelneuling@tenstorrent.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/kvm/aia.c