• Christophe Leroy's avatar
    powerpc/mm: dump block address translation on book3s/32 · 7c91efce
    Christophe Leroy authored
    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: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    7c91efce
dump_bats.c 4.41 KB