2023-08-07 15:11:27

by Thomas Gleixner

[permalink] [raw]
Subject: [patch 14/53] 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]>
---
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);
}



2023-08-07 16:31:53

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [patch 14/53] x86/platform/intel-mid: Prepare for separate mpparse callbacks

On Mon, Aug 7, 2023 at 4:52 PM Thomas Gleixner <[email protected]> wrote:
>
> Initialize the split SMP configuration callbacks with NOOPs as MID is
> strictly ACPI only.

Not really, but we decided to support only ACPI configurations in the kernel.

Acked-by: Andy Shevchenko <[email protected]>

--
With Best Regards,
Andy Shevchenko