Nicholas Piggin 47fee31dbd powerpc/64: rtas avoid accessing paca in 32-bit mode
Commit 177ba7c647f3 ("powerpc/mm/radix: Limit paca allocation in radix")
limited the paca allocation address to 1G on pSeries because RTAS return
accesses the paca in 32-bit mode:

    On return from RTAS we access the paca variables and we have 64 bit
    disabled. This requires us to limit paca in 32 bit range.

    Fix this by setting ppc64_rma_size to first_memblock_size/1G range.

Avoid this limit by switching to 64-bit mode before accessing any memory.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-01-18 00:42:58 +11:00
..
2017-11-16 12:47:46 -08:00
2016-06-14 13:58:26 +10:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2017-11-16 12:47:46 -08:00
2016-08-07 23:50:09 -04:00
2017-06-27 17:02:50 -07:00
2017-12-11 13:03:35 +11:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00