[PATCH v9 4/7] x86/acpi: Add acpi_get_cpu_uid() implementation and update Xen users

Jürgen Groß jgross at suse.com
Thu Mar 19 00:05:33 PDT 2026


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 at vger.kernel.org
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>

Reviewed-by: Juergen Gross <jgross at suse.com>


Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB0DE9DD628BF132F.asc
Type: application/pgp-keys
Size: 3683 bytes
Desc: OpenPGP public key
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260319/49c9e550/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260319/49c9e550/attachment.sig>


More information about the linux-riscv mailing list