diff options
| author | Casey Connolly <[email protected]> | 2026-06-08 19:13:48 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-17 09:55:00 -0600 |
| commit | 647990c5284af3b4fe70af99b03b91e91d692a69 (patch) | |
| tree | daea9292d24888feb38c911e1f7d227d284b099a /include | |
| parent | 9e87893c24d1f21350e69bc222e6a3214c933b3b (diff) | |
armv8: mmu: add a function to help debug TLB lookups
Implement a super basic software TLB walk which can look up a single
address in the TLB and print each stage of the translation. This is
helpful for debugging TLB issues and will be compiled out if unused.
Example output on QEMU aarch64:
Performing software TLB lookup of address 0x50100000 va_bits: 40
PTE: 0x47fe0000. addr[47:39]: 0x000 (offset 0x00000)
L0: 0x47fe0000 -> TABLE (0x47fe1000)
PTE: 0x47fe1000. addr[38:30]: 0x001 (offset 0x00008)
L1: 0x47fe1008 -> BLOCK (0x40000000)
[0x40000000 - 0x80000000]
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
