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

[pull] master from amd:master #10

Closed
wants to merge 10 commits into from
Closed

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 31, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

NiccoloTosato and others added 10 commits December 6, 2023 19:29
Dual socket and multiple numa configuration support
Pull request code had some misalignment, align it.
Some of the models in family 0x19, 0x1A support 64 bit RAPL registers.
On these platforms, amd_energy driver can be used
with some modification to read the energy.

Since X86_MODEL_ANY value is defined as 0
if we add model 0x0 in x86_cpu_id tables, x86_match_cpu()
thinks it as any model will be allowed and it does return the
descriptor for that entry.
This is not an accepted behaviour. Hence add a check for 0x0 models
separately.
Accumulation is done on 32bit RAPL registers, so
masking a 64 bit variable for 32 bits is needed only
when accumulation is needed. Masking it with 32bit mask on 64bit RAPL,
zeros out the MSB which might have valid data.

Change-Id: I7fab7e19b5ac407126e481a56541c1d6c249740a
x86_max_cores variable is removed from cpuinfo_x86 structure
and topology_num_threads_per_package() is provided to get
maximum threads per package. Add a check for that.
@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants