2024-02-13 21:12:20

by Thomas Gleixner

[permalink] [raw]
Subject: [patch V3 13/22] x86/platform/intel-mid: Prepare for separate mpparse callbacks

From: Thomas Gleixner <[email protected]>

Initialize the split SMP configuration callbacks with NOOPs as MID is
strictly ACPI only.

Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>


---
arch/x86/platform/intel-mid/intel-mid.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---

--- a/arch/x86/platform/intel-mid/intel-mid.c
+++ b/arch/x86/platform/intel-mid/intel-mid.c
@@ -118,7 +118,9 @@ void __init x86_intel_mid_early_setup(vo
machine_ops.emergency_restart = intel_mid_reboot;

/* Avoid searching for BIOS MP tables */
- x86_init.mpparse.find_mptable = x86_init_noop;
- x86_init.mpparse.get_smp_config = x86_init_uint_noop;
+ x86_init.mpparse.find_mptable = x86_init_noop;
+ x86_init.mpparse.early_parse_smp_cfg = x86_init_noop;
+ x86_init.mpparse.parse_smp_cfg = x86_init_noop;
+ x86_init.mpparse.get_smp_config = x86_init_uint_noop;
set_bit(MP_BUS_ISA, mp_bus_not_pci);
}





Subject: [tip: x86/apic] x86/platform/intel-mid: Prepare for separate mpparse callbacks

The following commit has been merged into the x86/apic branch of tip:

Commit-ID: a626ded4e3088319e3d108bb328d48768110ae0b
Gitweb: https://git.kernel.org/tip/a626ded4e3088319e3d108bb328d48768110ae0b
Author: Thomas Gleixner <[email protected]>
AuthorDate: Tue, 13 Feb 2024 22:05:09 +01:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Thu, 15 Feb 2024 22:07:40 +01:00

x86/platform/intel-mid: Prepare for separate mpparse callbacks

Initialize the split SMP configuration callbacks with NOOPs as MID is
strictly ACPI only.

Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Tested-by: Sohil Mehta <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]



---
arch/x86/platform/intel-mid/intel-mid.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c
index 595dd4c..14ca367 100644
--- a/arch/x86/platform/intel-mid/intel-mid.c
+++ b/arch/x86/platform/intel-mid/intel-mid.c
@@ -118,7 +118,9 @@ void __init x86_intel_mid_early_setup(void)
machine_ops.emergency_restart = intel_mid_reboot;

/* Avoid searching for BIOS MP tables */
- x86_init.mpparse.find_mptable = x86_init_noop;
- x86_init.mpparse.get_smp_config = x86_init_uint_noop;
+ x86_init.mpparse.find_mptable = x86_init_noop;
+ x86_init.mpparse.early_parse_smp_cfg = x86_init_noop;
+ x86_init.mpparse.parse_smp_cfg = x86_init_noop;
+ x86_init.mpparse.get_smp_config = x86_init_uint_noop;
set_bit(MP_BUS_ISA, mp_bus_not_pci);
}