diff options
author | Michael Ellerman | 2017-08-30 17:41:17 +1000 |
---|---|---|
committer | Michael Ellerman | 2017-08-31 14:26:42 +1000 |
commit | 6deb6b474bda4d2d3fbee066f20561d3dc7f8b30 (patch) | |
tree | 5c7683145f1ed3c5d5305a68c9db6d9678475c8e /arch/powerpc/platforms/ps3 | |
parent | bd350f7121b542206e8738a317a905c109ec0f5b (diff) |
powerpc/mm/radix: Prettify mapped memory range print out
When we map memory at boot we print out the ranges of real addresses
that we mapped and the page size that was used.
Currently it's a bit ugly:
Mapped range 0x0 - 0x2000000000 with 0x40000000
Mapped range 0x200000000000 - 0x202000000000 with 0x40000000
Pad the addresses so they line up, and print the page size using
actual units, eg:
Mapped 0x0000000000000000-0x0000000001200000 with 64.0 KiB pages
Mapped 0x0000000001200000-0x0000000040000000 with 2.00 MiB pages
Mapped 0x0000000040000000-0x0000000100000000 with 1.00 GiB pages
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/ps3')
0 files changed, 0 insertions, 0 deletions