]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / processor: Add acpi_map_madt_entry()
authorDavid Daney <david.daney@cavium.com>
Tue, 24 May 2016 22:35:43 +0000 (15:35 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 May 2016 12:27:09 +0000 (14:27 +0200)
commitfb7c2bae8a479e388a1f664e32d6ddca55c7a249
treee74d74293b1c067d1f63a5d91025e7ea34f688e4
parente0af261a437db4f4b21478ac677ccca5fc0ec07e
ACPI / processor: Add acpi_map_madt_entry()

Follow-on arm64 ACPI/NUMA patches need to map MADT entries very early
(before kmalloc is usable).

Add acpi_map_madt_entry() which, indirectly, uses
early_memremap()/early_memunmap() to access the table and parse out
the mpidr.  The existing implementation of map_madt_entry() is
modified to take a pointer to the MADT as a parameter and the callers
adjusted.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_core.c
include/acpi/processor.h