summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-08-13 11:33:39 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:25:58 +1000
commit76b42e28beb5ed615b093e2abb28a7064173f2ad (patch)
tree3666d0bf0a33021406741b894a3b53624b3d1aaf /arch/powerpc/platforms/powernv
parent72b0d51d973beab5a06c97279b61a0a58ccf33c8 (diff)
downloadlinux-76b42e28beb5ed615b093e2abb28a7064173f2ad.tar.gz
linux-76b42e28beb5ed615b093e2abb28a7064173f2ad.tar.bz2
linux-76b42e28beb5ed615b093e2abb28a7064173f2ad.zip
powerpc/powernv: powernv platform is not constrained by RMA
Remove incorrect comment about real mode address restrictions on powernv (bare metal), and unnecessary clamping to ppc64_rma_size. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv')
-rw-r--r--arch/powerpc/platforms/powernv/opal.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c
index 3c122d08b6c3..4448e458a797 100644
--- a/arch/powerpc/platforms/powernv/opal.c
+++ b/arch/powerpc/platforms/powernv/opal.c
@@ -164,12 +164,9 @@ int __init early_init_dt_scan_recoverable_ranges(unsigned long node,
sizeof(struct mcheck_recoverable_range);
/*
- * Allocate a buffer to hold the MC recoverable ranges. We would be
- * accessing them in real mode, hence it needs to be within
- * RMO region.
+ * Allocate a buffer to hold the MC recoverable ranges.
*/
- mc_recoverable_range =__va(memblock_alloc_base(size, __alignof__(u64),
- ppc64_rma_size));
+ mc_recoverable_range =__va(memblock_alloc(size, __alignof__(u64)));
memset(mc_recoverable_range, 0, size);
for (i = 0; i < mc_recoverable_range_len; i++) {