linux/drivers/acpi/riscv
Chengwen Feng 0c8231994e RISC-V: 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
riscv. While at it, add input validation to make the code more robust.

And also update acpi_numa.c and rhct.c to use the new interface instead
of the legacy get_acpi_id_for_cpu().

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260401081640.26875-4-fengchengwen@huawei.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2026-04-06 16:55:15 +02:00
..
cppc.c ACPI: RISC-V: Fix FFH_CPPC_CSR error handling 2025-09-04 16:25:50 -06:00
cpuidle.c ACPI: RISC-V: Add LPI driver 2024-03-19 17:51:39 -07:00
init.c ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
init.h ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
irq.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
Kconfig ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
Makefile ACPI: RISC-V: Add support for RIMT 2025-09-05 15:06:03 +02:00
rhct.c RISC-V: ACPI: Add acpi_get_cpu_uid() for unified ACPI CPU UID retrieval 2026-04-06 16:55:15 +02:00
rimt.c ACPI: RIMT: Add dependency between iommu and devices 2026-04-04 18:38:03 -06:00