aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2022-10-14 17:01:45 +0800
committerDave Hansen <[email protected]>2022-10-17 11:58:52 -0700
commit7108b80a542b9d65e44b36d64a700a83658c0b73 (patch)
tree48e0da1d04740ba5112ef21f7091d5bd857da2a1 /arch/x86/kernel/cpu/microcode
parent33806e7cb8d50379f55c3e8f335e91e1b359dc7b (diff)
hwmon/coretemp: Handle large core ID value
The coretemp driver supports up to a hard-coded limit of 128 cores. Today, the driver can not support a core with an ID above that limit. Yet, the encoding of core ID's is arbitrary (BIOS APIC-ID) and so they may be sparse and they may be large. Update the driver to map arbitrary core ID numbers into appropriate array indexes so that 128 cores can be supported, no matter the encoding of core ID's. Signed-off-by: Zhang Rui <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Acked-by: Len Brown <[email protected]> Acked-by: Guenter Roeck <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
0 files changed, 0 insertions, 0 deletions