summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2025-05-16 02:11:18 +0300
committerAnup Patel <anup@brainfault.org>2025-05-21 07:04:55 +0300
commit5bc40978675241aad7175fadc857262118588805 (patch)
tree6449d27540e861030ebc221f993da3ff26332827 /scripts/lib
parent9f0e6b98c1a13ac1f38d559b548b8f122572ae18 (diff)
downloadlinux-5bc40978675241aad7175fadc857262118588805.tar.xz
RISC-V: KVM: Remove scounteren initialization
Scounteren CSR controls the direct access the hpmcounters and cycle/ instret/time from the userspace. It's the supervisor's responsibility to set it up correctly for it's user space. They hypervisor doesn't need to decide the policy on behalf of the supervisor. Signed-off-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250515-fix_scounteren_vs-v3-1-729dc088943e@rivosinc.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions