Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/platform/ce4100: Dont override x86_init.mpparse.setup_ioapic_ids

There is no point to do that. The ATOMs have an XAPIC for which this
function is a pointless exercise.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240212154638.931617775@linutronix.de



+1 -3
-1
arch/x86/include/asm/io_apic.h
··· 140 140 extern int restore_ioapic_entries(void); 141 141 142 142 extern void setup_ioapic_ids_from_mpc(void); 143 - extern void setup_ioapic_ids_from_mpc_nocheck(void); 144 143 145 144 extern int mp_find_ioapic(u32 gsi); 146 145 extern int mp_find_ioapic_pin(int ioapic, u32 gsi);
+1 -1
arch/x86/kernel/apic/io_apic.c
··· 1458 1458 * 1459 1459 * by Matt Domsch <Matt_Domsch@dell.com> Tue Dec 21 12:25:05 CST 1999 1460 1460 */ 1461 - void __init setup_ioapic_ids_from_mpc_nocheck(void) 1461 + static void __init setup_ioapic_ids_from_mpc_nocheck(void) 1462 1462 { 1463 1463 union IO_APIC_reg_00 reg_00; 1464 1464 physid_mask_t phys_id_present_map;
-1
arch/x86/platform/ce4100/ce4100.c
··· 139 139 x86_init.resources.probe_roms = x86_init_noop; 140 140 x86_init.mpparse.get_smp_config = x86_init_uint_noop; 141 141 x86_init.mpparse.find_smp_config = x86_init_noop; 142 - x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc_nocheck; 143 142 x86_init.pci.init = ce4100_pci_init; 144 143 x86_init.pci.init_irq = sdv_pci_init; 145 144