Bug 9843 - Expose pebs format to guest perf_cap iif vmx_pebs_supported()
Summary: Expose pebs format to guest perf_cap iif vmx_pebs_supported()
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-02 17:48 UTC by peihongchen
Modified: 2024-09-02 18:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peihongchen 2024-09-02 17:48:01 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 peihongchen 2024-09-02 17:50:09 UTC
pebs_ept is required to support guest pebs.

DO NOT expose pebs format in perf_cap msr to guest when vmx pers not supported.

fixes (4cc5c2f12116 KVM: x86/pmu: Expose CPUIDs feature bits PDCM, DS, DTES64).
Comment 2 小龙 admin 2024-09-02 18:05:10 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3791