aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAndrew Jones <[email protected]>2022-10-02 10:19:05 +0530
committerAnup Patel <[email protected]>2022-10-02 10:19:05 +0530
commit56852c6211971798dfbe4098c8a8528b59234de2 (patch)
tree631a9fc4677d51f62689adf8c2b95beca7ae9d56 /tools/perf/scripts/python/stat-cpi.py
parentafd5dde9a186b8fc5742fff707f184760c4af1a9 (diff)
RISC-V: KVM: Expose Zicbom to the guest
Guests may use the cbo.inval,clean,flush instructions when the CPU has the Zicbom extension and the hypervisor sets henvcfg.CBIE (for cbo.inval) and henvcfg.CBCFE (for cbo.clean,flush). Add Zicbom support for KVM guests which may be enabled and disabled from KVM userspace using the ISA extension ONE_REG API. Also opportunistically switch the other isa extension checks in kvm_riscv_vcpu_update_config() to riscv_isa_extension_available(). Signed-off-by: Andrew Jones <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Atish Patra <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions