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

Add AMD HSMP support to sysfeatures #641

Merged
merged 6 commits into from
Nov 5, 2024
Merged

Add AMD HSMP support to sysfeatures #641

merged 6 commits into from
Nov 5, 2024

Conversation

ipatix
Copy link
Contributor

@ipatix ipatix commented Nov 4, 2024

The support currently requires the kernel module amd_hsmp to be manually loaded and appropriate read/write permissions. Read only/Write only is not supported.

likwid-sysfeatures now also queries the categories properly, so
different categories with the same feature name do not conflict.
Due to include order the missing includes did not cause problems, but in
future files and commits, this must be fixed.
To give the user more flexibility when specifying numbers.
Likwid and hwloc currently have an incomplete/wrong understanding of
APIC IDs and blindly assume a mapping of linux processor number to APIC
ID. This is wrong. For example AMD EPYC 9354 reports gaps and jumps in
its ID order. This commit makes sure to explicitly query the APIC ID via
CPUID in order to correctly map LikwidDevice_t to APIC IDs.
@ipatix ipatix marked this pull request as ready for review November 5, 2024 15:54
@ipatix ipatix merged commit 8df475b into master Nov 5, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant