]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85b226716889319285bec5086ed64fb4ffd5621e
treebdd61bb21ce354c61af850222142c7c3dbc766ed
parent546993708d755b280e9d7b18f103652579935e91
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