Re: [PATCH v9 4/7] x86/acpi: Add acpi_get_cpu_uid() implementation and update Xen users
From: Jürgen Groß
Date: Thu Mar 19 2026 - 03:05:57 EST
On 19.03.26 07:57, Chengwen Feng wrote:
Add arch-specific acpi_get_cpu_uid() for x86:
- Declare acpi_get_cpu_uid() in arch/x86/include/asm/acpi.h
- Implement acpi_get_cpu_uid() with input parameter validation
- Replace cpu_acpi_id() with acpi_get_cpu_uid() in Xen-related code
- Remove the now-unused cpu_acpi_id() function
Extend the unified ACPI CPU UID interface to x86, ensuring consistent
error handling and input validation across all ACPI-enabled
architectures.
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Chengwen Feng <fengchengwen@xxxxxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
Juergen
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature