]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Allow fragmented physical memory
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 31 Aug 2022 09:32:08 +0000 (11:32 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Sep 2022 03:56:07 +0000 (13:56 +1000)
commit55d8feaca052dfbf8a405d94ad8c318a95c3b1bf
treeb05ebfbf71f1ad485d964785b9a9e8dc2cbcda34
parent8ae3d7afd52253b48f4a597c7da437c2b8ab31d5
powerpc/32: Allow fragmented physical memory

Since commit f7ec174a1851 ("powerpc/mm/32s: use generic mmu_mapin_ram()
for all blocks.") it is possible to map all blocks as RAM on any PPC32.

Remove related restrictions.

And remove call to wii_memory_fixups() which doesn't do anything else
than checks since commit 4f199fb6b92f ("powerpc/wii: remove
wii_mmu_mapin_mem2()")

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