diff options
author | Hanjun Guo <[email protected]> | 2016-05-24 15:35:44 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-05-30 14:27:09 +0200 |
commit | d8b47fca8c233642d1a20fa4025579ebc8be6f1e (patch) | |
tree | 2d4f3eb005d76e4f22c42d2709f8d71b3bf87772 /arch/arm64/include/asm/numa.h | |
parent | fb7c2bae8a479e388a1f664e32d6ddca55c7a249 (diff) |
arm64, ACPI, NUMA: NUMA support based on SRAT and SLIT
Introduce a new file to hold ACPI based NUMA information parsing from
SRAT and SLIT.
SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory
ranges to Proximity Domain mapping. SLIT has the information of inter
node distances(relative number for access latency).
Signed-off-by: Hanjun Guo <[email protected]>
Signed-off-by: Ganapatrao Kulkarni <[email protected]>
[[email protected] Reworked for numa v10 series ]
Signed-off-by: Robert Richter <[email protected]>
[[email protected] reorderd and combinded with other patches in
Hanjun Guo's original set, removed get_mpidr_in_madt() and use
acpi_map_madt_entry() instead.]
Signed-off-by: David Daney <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Tested-by: Dennis Chen <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'arch/arm64/include/asm/numa.h')
-rw-r--r-- | arch/arm64/include/asm/numa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/numa.h b/arch/arm64/include/asm/numa.h index e9b4f2942335..600887e491fd 100644 --- a/arch/arm64/include/asm/numa.h +++ b/arch/arm64/include/asm/numa.h @@ -5,6 +5,8 @@ #ifdef CONFIG_NUMA +#define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) + /* currently, arm64 implements flat NUMA topology */ #define parent_node(node) (node) |