Re: [PATCH] drivers: of: increase MAX_RESERVED_REGIONS to 32
From: Mauricio Faria de Oliveira
Date: Mon Oct 02 2017 - 18:59:37 EST
On 09/26/2017 05:40 AM, Stewart Smith wrote:
The simple fix is to bump the length of the array to 32 which "should be
enough for everyone(TM)".
Tested-by: Mauricio Faria de Oliveira <mauricfo@xxxxxxxxxxxxxxxxxx>
# uname -r
4.14.0-rc3
# dmesg
[ 0.000000] opal: OPAL detected !
[ 0.000000] crashkernel: memory value expected
[ 0.000000] OF: reserved mem: not enough space all defined regions.
[ 0.000000] OF: reserved mem: not enough space all defined regions.
[ 0.000000] OF: reserved mem: not enough space all defined regions.
[ 0.000000] OF: reserved mem: not enough space all defined regions.
[ 0.000000] Allocated 2883584 bytes for 2048 pacas at c00000000fd40000
<...>
# uname -r
4.14.0-rc3.of32maxrsvdmemregions
# dmesg | head
[ 0.000000] opal: OPAL detected !
[ 0.000000] crashkernel: memory value expected
[ 0.000000] Allocated 2883584 bytes for 2048 pacas at c00000000fd40000
<...>
--
Mauricio Faria de Oliveira
IBM Linux Technology Center