summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-13 22:05:36 +0100
committerThomas Gleixner <tglx@linutronix.de>2024-02-15 22:07:42 +0100
commit4176b541c2c68bf79d0a05f316713ed8f0c9cdb4 (patch)
tree216273f3e98b893e47eeec39019c3ac9d40a62d6 /arch/x86/kernel/acpi
parentc0a66c2847908e41c771ca2355fba935a82a9f62 (diff)
downloadlinux-stable-4176b541c2c68bf79d0a05f316713ed8f0c9cdb4.tar.gz
linux-stable-4176b541c2c68bf79d0a05f316713ed8f0c9cdb4.tar.bz2
linux-stable-4176b541c2c68bf79d0a05f316713ed8f0c9cdb4.zip
x86/cpu/topology: Provide separate APIC registration functions
generic_processor_info() aside of being a complete misnomer is used for both early boot registration and ACPI CPU hotplug. While it's arguable that this can share some code, it results in code which is hard to understand and kept around post init for no real reason. Also the call sites do lots of manual fiddling in topology related variables instead of having proper interfaces for the purpose which handle the topology internals correctly. Provide topology_register_apic(), topology_hotplug_apic() and topology_hotunplug_apic() which have the extra magic of the call sites incorporated and for now are wrappers around generic_processor_info(). 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/20240213210251.605007456@linutronix.de
Diffstat (limited to 'arch/x86/kernel/acpi')
0 files changed, 0 insertions, 0 deletions