aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorEric DeVolder <[email protected]>2023-03-27 19:10:26 +0000
committerBorislav Petkov (AMD) <[email protected]>2023-03-30 09:07:30 +0000
commitfed8d8773b8ea68ad99d9eee8c8343bef9da2c2c (patch)
treeffcf0dc62541c18dc48856e67c114988fad93b12 /tools/perf/scripts/python/powerpc-hcalls.py
parentx86/ACPI/boot: Use FADT version to check support for online capable (diff)
downloadkernel-fed8d8773b8ea68ad99d9eee8c8343bef9da2c2c.tar.gz
kernel-fed8d8773b8ea68ad99d9eee8c8343bef9da2c2c.zip
x86/acpi/boot: Correct acpi_is_processor_usable() check
The logic in acpi_is_processor_usable() requires the online capable bit be set for hotpluggable CPUs. The online capable bit has been introduced in ACPI 6.3. However, for ACPI revisions < 6.3 which do not support that bit, CPUs should be reported as usable, not the other way around. Reverse the check. [ bp: Rewrite commit message. ] Fixes: e2869bd7af60 ("x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC") Suggested-by: Miguel Luis <[email protected]> Suggested-by: Boris Ostrovsky <[email protected]> Signed-off-by: Eric DeVolder <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Tested-by: David R <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions