diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-03-31 12:37:49 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-12 23:00:25 +1000 |
commit | aaa229529244a1135b29353fefb001c430db79f0 (patch) | |
tree | a41618d769c024aaf9481e2c87bffab38af9ff59 /drivers | |
parent | 70538eaa70c36340b4bb27206cad31839e916f40 (diff) |
powerpc/mm: Add physical address to Linux page table dump
The current page table dumper scans the Linux page tables and coalesces mappings
with adjacent virtual addresses and similar PTE flags. This behaviour is
somewhat broken when you consider the IOREMAP space where entirely unrelated
mappings will appear to be virtually contiguous. This patch modifies the range
coalescing so that only ranges that are both physically and virtually contiguous
are combined. This patch also adds to the dump output the physical address at
the start of each range.
Fixes: 8eb07b187000 ("powerpc/mm: Dump linux pagetables")
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[mpe: Print the physicall address with 0x like the other addresses]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions