powerpc/mm: Leave a gap between early allocated IO areas
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 19 Apr 2021 10:47:26 +0000 (10:47 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:10 +0000 (00:07 +1000)
commit57307f1b6edd781fba2bf9f7ec5f4d17a881ea54
treebdd61bb21ce354c61af850222142c7c3dbc766ed
parent0e8554b5d7801b0aebc6c348a0a9f7706aa17b3b
powerpc/mm: Leave a gap between early allocated IO areas

Vmalloc system leaves a gap between allocated areas. It helps catching
overflows.

Do the same for IO areas which are allocated with early_ioremap_range()
until slab_is_available().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c433e358190fb5d47650463ea1ab755fc7b73e6e.1618828806.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ioremap_32.c
arch/powerpc/mm/ioremap_64.c