diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2023-05-15 11:19:16 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-06-01 08:45:03 -0700 |
commit | f995611994704b5c039731287b897993808e63e3 (patch) | |
tree | 40a204a525d1c8b289b6a189d8e0cb563718a8f4 /drivers/acpi/Makefile | |
parent | 724f4c0df7665a1bb9cb105a20131dfca5c032dd (diff) | |
download | lwn-f995611994704b5c039731287b897993808e63e3.tar.gz lwn-f995611994704b5c039731287b897993808e63e3.zip |
RISC-V: ACPI: Cache and retrieve the RINTC structure
RINTC structures in the MADT provide mapping between the hartid
and the CPU. This is required many times even at run time like
cpuinfo. So, instead of parsing the ACPI table every time, cache
the RINTC structures and provide a function to get the correct
RINTC structure for a given cpu.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230515054928.2079268-10-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/acpi/Makefile')
0 files changed, 0 insertions, 0 deletions