summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-14 00:06:07 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-02-16 00:07:44 +0300
commitb7065f4f844c7876ed071b67e2ba57838152bd63 (patch)
tree546d6ab2b9e1c34156b64be639e825fb35e8b1a0 /scripts/lib
parent5e40fb2d4a4c7503cab4f923b7d985dbcf583581 (diff)
downloadlinux-b7065f4f844c7876ed071b67e2ba57838152bd63.tar.xz
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 'scripts/lib')
0 files changed, 0 insertions, 0 deletions