diff options
| author | Atish Patra <[email protected]> | 2025-05-15 23:11:18 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-05-21 04:04:55 +0000 |
| commit | 5bc40978675241aad7175fadc857262118588805 (patch) | |
| tree | 6449d27540e861030ebc221f993da3ff26332827 /rust/helpers/security.c | |
| parent | KVM: RISC-V: remove unnecessary SBI reset state (diff) | |
| download | kernel-5bc40978675241aad7175fadc857262118588805.tar.gz kernel-5bc40978675241aad7175fadc857262118588805.zip | |
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
