diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-02-13 22:06:07 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-15 22:07:44 +0100 |
commit | b7065f4f844c7876ed071b67e2ba57838152bd63 (patch) | |
tree | 546d6ab2b9e1c34156b64be639e825fb35e8b1a0 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 5e40fb2d4a4c7503cab4f923b7d985dbcf583581 (diff) |
x86/cpu/topology: Provide logical pkg/die mapping
With the topology bitmaps in place the logical package and die IDs can
trivially be retrieved by determining the bitmap weight of the relevant
topology domain level up to and including the physical ID in question.
Provide a function to that effect.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240213210252.846136196@linutronix.de
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions