linux/arch/x86/kernel/acpi
Chengwen Feng 3cfe889f89 x86/acpi: Add acpi_get_cpu_uid() for unified ACPI CPU UID retrieval
As a step towards unifying the interface for retrieving ACPI CPU UID
across architectures, introduce a new function acpi_get_cpu_uid() for
x86. While at it, add input validation to make the code more robust.

Update Xen-related code to use acpi_get_cpu_uid() instead of the legacy
cpu_acpi_id() function, and remove the now-unused cpu_acpi_id() to clean
up redundant code.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://patch.msgid.link/20260401081640.26875-5-fengchengwen@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2026-04-06 16:55:15 +02:00
..
apei.c x86/mce: Save and use APEI corrected threshold limit 2025-11-21 10:32:28 +01:00
boot.c x86/acpi: Add acpi_get_cpu_uid() for unified ACPI CPU UID retrieval 2026-04-06 16:55:15 +02:00
cppc.c ACPI: CPPC: Detect preferred core availability on online CPUs 2025-11-07 18:37:42 +01:00
cstate.c x86/acpi/cstate: Remove open coded check for cpu_feature_enabled() 2025-09-22 19:16:51 +02:00
madt_playdead.S x86/cfi: Clean up linkage 2025-02-14 10:32:05 +01:00
madt_wakeup.c arch/x86: Provide the CPU number in the wakeup AP callback 2025-05-23 16:30:56 +00:00
Makefile x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method 2024-06-17 17:46:25 +02:00
sleep.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
sleep.h x86/acpi: Remove unused extern declaration acpi_copy_wakeup_routine() 2023-06-21 10:57:54 -07:00
wakeup_32.S
wakeup_64.S x86/cfi: Clean up linkage 2025-02-14 10:32:05 +01:00