]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
powerpc/powernv: powernv platform is not constrained by RMA
authorNicholas Piggin <npiggin@gmail.com>
Sun, 13 Aug 2017 01:33:39 +0000 (11:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:25:58 +0000 (14:25 +1000)
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>
arch/powerpc/platforms/powernv/opal.c

index 3c122d08b6c375f69c9336eadcf931bc0af39525..4448e458a79770359782609a64ccd9b407e97058 100644 (file)
@@ -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++) {