Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Lunarlake's pebs kernel ready? #895

Open
victoryang00 opened this issue Dec 22, 2024 · 0 comments
Open

Is Lunarlake's pebs kernel ready? #895

victoryang00 opened this issue Dec 22, 2024 · 0 comments

Comments

@victoryang00
Copy link

in dmesg I found

victoryang00@victoryang00-ASUS-Zenbook-S-14-UX5406SA-UX5406SA:~$ sudo dmesg|grep PMU
[sudo] password for victoryang00: 
[    0.107418] Performance Events: XSAVE Architectural LBR, no PEBS fmt6+,  AnyThread deprecated, Lunarlake Hybrid events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.107418] core: cpu_core PMU driver: 
[    0.107418] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.007380] core: cpu_atom PMU driver: 
[    2.802582] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
[    2.802585] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    2.802586] RAPL PMU: hw unit of domain package 2^-14 Joules
[    2.802587] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    2.802587] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules

But I found implementation https://github.com/search?q=repo%3Atorvalds%2Flinux%20MSR_IA32_PMC_V6_FX0_CTR&type=code and https://lwn.net/ml/all/[email protected]/.

The code in the kernel seems not updated https://elixir.bootlin.com/linux/v6.13-rc3/source/arch/x86/events/intel/ds.c#L2480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant