summaryrefslogtreecommitdiff
path: root/security/keys/keyctl.c
diff options
context:
space:
mode:
authorSandipan Das <sandipan.das@amd.com>2024-06-26 13:19:42 +0530
committerPeter Zijlstra <peterz@infradead.org>2024-07-04 16:00:41 +0200
commit57e11990f45f89bc29d0f84dd7b13a4e4263eeb2 (patch)
tree3952b9fe8b444233c2338c3df524578df9c8d764 /security/keys/keyctl.c
parentf997e208b6c96858a2f6c0855debfbdb9b52f131 (diff)
downloadlinux-57e11990f45f89bc29d0f84dd7b13a4e4263eeb2.tar.gz
linux-57e11990f45f89bc29d0f84dd7b13a4e4263eeb2.tar.bz2
linux-57e11990f45f89bc29d0f84dd7b13a4e4263eeb2.zip
perf/x86/amd/uncore: Fix DF and UMC domain identification
For uncore PMUs, a single context is shared across all CPUs in a domain. The domain can be a CCX, like in the case of the L3 PMU, or a socket, like in the case of DF and UMC PMUs. This information is available via the PMU's cpumask. For contexts shared across a socket, the domain is currently determined from topology_die_id() which is incorrect after the introduction of commit 63edbaa48a57 ("x86/cpu/topology: Add support for the AMD 0x80000026 leaf") as it now returns a CCX identifier on Zen 4 and later systems which support CPUID leaf 0x80000026. Use topology_logical_package_id() instead as it always returns a socket identifier irrespective of the availability of CPUID leaf 0x80000026. Fixes: 63edbaa48a57 ("x86/cpu/topology: Add support for the AMD 0x80000026 leaf") Signed-off-by: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20240626074942.1044818-1-sandipan.das@amd.com
Diffstat (limited to 'security/keys/keyctl.c')
0 files changed, 0 insertions, 0 deletions