commit | e4d6654ebe6e05c94db0ce2d30769e3822f178bd | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Thu Feb 21 19:08:39 2019 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Feb 23 21:04:31 2019 +1100 |
tree | 4a50b6701b0aadc0d9ce43c2316aa1e806ae94a1 | |
parent | 14e609d693ef678a211a8dcd0e13463a2581ed85 [diff] |
powerpc/mm/32s: rework mmu_mapin_ram() This patch reworks mmu_mapin_ram() to be more generic and map as much blocks as possible. It now supports blocks not starting at address 0. It scans DBATs array to find free ones instead of forcing the use of BAT2 and BAT3. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>