summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorDmytro Maluka <dmaluka@chromium.org>2025-01-05 17:27:40 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-22 12:54:20 -0700
commitc481ada21a728b499c88e4361fc587a48334e0ef (patch)
tree7ef8e0a2d9b8036158526d51c48ac33c6ab6eba5 /rust/kernel
parentb1d5a2c0501ff275fc9daf8a76bf39d0c08b9232 (diff)
x86/of: Don't use DTB for SMP setup if ACPI is enabled
[ Upstream commit 96f41f644c4885761b0d117fc36dc5dcf92e15ec ] There are cases when it is useful to use both ACPI and DTB provided by the bootloader, however in such cases we should make sure to prevent conflicts between the two. Namely, don't try to use DTB for SMP setup if ACPI is enabled. Precisely, this prevents at least: - incorrectly calling register_lapic_address(APIC_DEFAULT_PHYS_BASE) after the LAPIC was already successfully enumerated via ACPI, causing noisy kernel warnings and probably potential real issues as well - failed IOAPIC setup in the case when IOAPIC is enumerated via mptable instead of ACPI (e.g. with acpi=noirq), due to mpparse_parse_smp_config() overridden by x86_dtb_parse_smp_config() Signed-off-by: Dmytro Maluka <dmaluka@chromium.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250105172741.3476758-2-dmaluka@chromium.org Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions