Commit 76b42e28 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman

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: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 72b0d51d
...@@ -164,12 +164,9 @@ int __init early_init_dt_scan_recoverable_ranges(unsigned long node, ...@@ -164,12 +164,9 @@ int __init early_init_dt_scan_recoverable_ranges(unsigned long node,
sizeof(struct mcheck_recoverable_range); sizeof(struct mcheck_recoverable_range);
/* /*
* Allocate a buffer to hold the MC recoverable ranges. We would be * Allocate a buffer to hold the MC recoverable ranges.
* accessing them in real mode, hence it needs to be within
* RMO region.
*/ */
mc_recoverable_range =__va(memblock_alloc_base(size, __alignof__(u64), mc_recoverable_range =__va(memblock_alloc(size, __alignof__(u64)));
ppc64_rma_size));
memset(mc_recoverable_range, 0, size); memset(mc_recoverable_range, 0, size);
for (i = 0; i < mc_recoverable_range_len; i++) { for (i = 0; i < mc_recoverable_range_len; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment