aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2024-08-16 07:08:09 +0000
committerAnup Patel <[email protected]>2024-08-19 03:28:21 +0000
commit5aa09297a3dcc798d038bd7436f8c90f664045a6 (patch)
tree49e940c53e6153b0152f481ff13834d83fd0af2b /security/selinux/hooks.c
parentRISC-V: KVM: Allow legacy PMU access from guest (diff)
downloadkernel-5aa09297a3dcc798d038bd7436f8c90f664045a6.tar.gz
kernel-5aa09297a3dcc798d038bd7436f8c90f664045a6.zip
RISC-V: KVM: Fix to allow hpmcounter31 from the guest
The csr_fun defines a count parameter which defines the total number CSRs emulated in KVM starting from the base. This value should be equal to total number of counters possible for trap/emulation (32). Fixes: a9ac6c37521f ("RISC-V: KVM: Implement trap & emulate for hpmcounters") Signed-off-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions