aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow_field-memcpy.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-03-29 12:45:35 -0500
committerBorislav Petkov (AMD) <[email protected]>2023-03-30 10:50:30 +0200
commita74fabfbd1b7013045afc8cc541e6cab3360ccb5 (patch)
treed5e9a873f209def49519c6aca4440b175ed01d75 /lib/test_fortify/write_overflow_field-memcpy.c
parent197b6b60ae7bc51dd0814953c562833143b292aa (diff)
x86/ACPI/boot: Use FADT version to check support for online capable
ACPI 6.3 introduced the online capable bit, and also introduced MADT version 5. Latter was used to distinguish whether the offset storing online capable could be used. However ACPI 6.2b has MADT version "45" which is for an errata version of the ACPI 6.2 spec. This means that the Linux code for detecting availability of MADT will mistakenly flag ACPI 6.2b as supporting online capable which is inaccurate as it's an ACPI 6.3 feature. Instead use the FADT major and minor revision fields to distinguish this. [ bp: Massage. ] Fixes: aa06e20f1be6 ("x86/ACPI: Don't add CPUs that are not online capable") Reported-by: Eric DeVolder <[email protected]> Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow_field-memcpy.c')
0 files changed, 0 insertions, 0 deletions