diff options
| author | Christophe Leroy <[email protected]> | 2018-12-03 17:40:25 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-12-04 08:46:49 +0000 |
| commit | 7c91efce1608325634494b25ff6491320208e457 (patch) | |
| tree | 66ab4478666bb188b9836133c79da325a7b4439c /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/mm: dump segment registers on book3s/32 (diff) | |
| download | kernel-7c91efce1608325634494b25ff6491320208e457.tar.gz kernel-7c91efce1608325634494b25ff6491320208e457.zip | |
powerpc/mm: dump block address translation on book3s/32
This patch adds a debugfs file to dump block address translation:
~# cat /sys/kernel/debug/powerpc/block_address_translation
---[ Instruction Block Address Translations ]---
0: -
1: -
2: 0xc0000000-0xcfffffff 0x00000000 Kernel EXEC coherent
3: 0xd0000000-0xdfffffff 0x10000000 Kernel EXEC coherent
4: -
5: -
6: -
7: -
---[ Data Block Address Translations ]---
0: -
1: -
2: 0xc0000000-0xcfffffff 0x00000000 Kernel RW coherent
3: 0xd0000000-0xdfffffff 0x10000000 Kernel RW coherent
4: -
5: -
6: -
7: -
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
