+30
−0
Loading
As a step towards unifying the interface for retrieving ACPI CPU UID across architectures, introduce a new function acpi_get_cpu_uid() for arm64. While at it, add input validation to make the code more robust. Reimplement get_cpu_for_acpi_id() based on acpi_get_cpu_uid() for consistency, and move its implementation next to the new function for code coherence. Signed-off-by:Chengwen Feng <fengchengwen@huawei.com> Reviewed-by:
Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Link: https://patch.msgid.link/20260401081640.26875-2-fengchengwen@huawei.com Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>