diff options
| author | Gautham R. Shenoy <[email protected]> | 2024-08-13 09:51:14 +0000 |
|---|---|---|
| committer | Mario Limonciello <[email protected]> | 2024-08-22 20:42:10 +0000 |
| commit | 0d8584d288a9b4132e945d76bcc04395d158b2e7 (patch) | |
| tree | 4da7ecbdb2b8016e66713e152a6f1ddf84f60c10 /security/selinux/hooks.c | |
| parent | cpufreq: amd-pstate: Fix uninitialized variable in amd_pstate_cpu_boost_update() (diff) | |
| download | kernel-0d8584d288a9b4132e945d76bcc04395d158b2e7.tar.gz kernel-0d8584d288a9b4132e945d76bcc04395d158b2e7.zip | |
cpufreq/amd-pstate: Use topology_logical_package_id() instead of logical_die_id()
After the commit 63edbaa48a57 ("x86/cpu/topology: Add support for the
AMD 0x80000026 leaf"), the topolgy_logical_die_id() function returns
the logical Core Chiplet Die (CCD) ID instead of the logical socket
ID.
Since this is currently used to set MSR_AMD_CPPC_ENABLE, which needs
to be set on any one of the threads of the socket, it is prudent to
use topology_logical_package_id() in place of
topology_logical_die_id().
Fixes: 63edbaa48a57 ("x86/cpu/topology: Add support for the AMD 0x80000026 leaf")
cc: [email protected] # 6.10
Signed-off-by: Gautham R. Shenoy <[email protected]>
Tested-by: Dhananjay Ugwekar <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Dhananjay Ugwekar <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
