linux/arch/x86/kernel/apic
Thomas Gleixner 9faee3ecbf x86/ioapic/32: Decrapify phys_id_present_map operation
The operation to set the IOAPIC ID in phys_id_present_map is as convoluted
as it can be.

  1) Allocate a bitmap of 32byte size on the stack
  2) Zero the bitmap and set the IOAPIC ID bit
  3) Or the temporary bitmap over phys_id_present_map

The same functionality can be achieved by setting the IOAPIC ID bit
directly in the phys_id_present_map.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
2023-08-09 11:58:26 -07:00
..
apic_common.c x86/apic: Nuke empty init_apic_ldr() callbacks 2023-08-09 11:58:25 -07:00
apic_flat_64.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
apic_noop.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
apic_numachip.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
apic.c x86/apic: Nuke empty init_apic_ldr() callbacks 2023-08-09 11:58:25 -07:00
bigsmp_32.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
hw_nmi.c locking/seqlock, headers: Untangle the spaghetti monster 2020-08-06 16:13:13 +02:00
io_apic.c x86/ioapic/32: Decrapify phys_id_present_map operation 2023-08-09 11:58:26 -07:00
ipi.c x86/apic/ipi: Code cleanup 2023-08-09 11:58:23 -07:00
local.h x86/apic: Nuke empty init_apic_ldr() callbacks 2023-08-09 11:58:25 -07:00
Makefile x86/PCI: Remove unused HyperTransport interrupt support 2017-11-23 20:18:18 +01:00
msi.c x86/apic: Rename disable_apic 2023-08-09 11:58:16 -07:00
probe_32.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
probe_64.c x86/apic: Remove pointless x86_bios_cpu_apicid 2023-08-09 11:58:17 -07:00
vector.c x86/apic: Get rid of hard_smp_processor_id() 2023-08-09 11:58:17 -07:00
x2apic_cluster.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
x2apic_phys.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00
x2apic_uv_x.c x86/apic: Nuke apic::apicid_to_cpu_present() 2023-08-09 11:58:26 -07:00