diff options
| author | Chengwen Feng <fengchengwen@huawei.com> | 2026-04-01 16:16:35 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-06 16:55:15 +0200 |
| commit | 0c8231994e43f445597166e8b342459079244d25 (patch) | |
| tree | a66a05da1e4b449b6bb042e56318524b8fd6fe18 /include/asm-x86/git@git.tavy.me:linux.git | |
| parent | d78ef9d2e1f2c7e0b69c102fc2867e8daa5612ed (diff) | |
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>
Diffstat (limited to 'include/asm-x86/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
