aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2015-08-18 10:34:41 +0100
committerWill Deacon <[email protected]>2015-08-24 10:23:13 +0100
commit8eafeb48022816513abc4f440bdad4c350fe81a3 (patch)
treee1c9587c5a67e547909f886b429ef69a8679a738 /lib/mpi/mpiutil.c
parent5d3c2c352998fdefdc62795249cfc7311cf36df9 (diff)
of/fdt: make memblock maximum physical address arch configurable
When parsing the memory nodes to populate the memblock memory table, we check against high and low limits and clip any memory that exceeds either one of them. However, for arm64, the high limit of (phys_addr_t)~0 is not very meaningful, since phys_addr_t is 64 bits (i.e., no limit) but there may be other constraints that limit the memory ranges that we can support. So rename MAX_PHYS_ADDR to MAX_MEMBLOCK_ADDR (for clarity) and only define it if the arch does not supply a definition of its own. Acked-by: Rob Herring <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Tested-by: Stuart Yoder <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions