aboutsummaryrefslogtreecommitdiff
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorGravatar Atish Patra <atishp@rivosinc.com> 2024-04-20 08:17:29 -0700
committerGravatar Anup Patel <anup@brainfault.org> 2024-04-26 13:13:48 +0530
commitc2f41ddbcdd75689d9f512638a40263e3127be93 (patch)
treede23f598da3845b185cfefaac05fb2dd5b59ad32 /mm/highmem.c
parentRISC-V: KVM: No need to exit to the user space if perf event failed (diff)
downloadlinux-c2f41ddbcdd75689d9f512638a40263e3127be93.tar.gz
linux-c2f41ddbcdd75689d9f512638a40263e3127be93.tar.bz2
linux-c2f41ddbcdd75689d9f512638a40263e3127be93.zip
RISC-V: KVM: Implement SBI PMU Snapshot feature
PMU Snapshot function allows to minimize the number of traps when the guest access configures/access the hpmcounters. If the snapshot feature is enabled, the hypervisor updates the shared memory with counter data and state of overflown counters. The guest can just read the shared memory instead of trap & emulate done by the hypervisor. This patch doesn't implement the counter overflow yet. Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20240420151741.962500-14-atishp@rivosinc.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions