tests: Add a test for the MMU radix page table walks
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 23 Apr 2020 05:33:36 +0000 (15:33 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 8 May 2020 02:12:02 +0000 (12:12 +1000)
commit882a5a0dc06add8f91b747e8032e044708a32318
treee10609bf681e5cc7cf4ee2ed416c7906ea75cbaa
parentdee3783d79c40d6a9e986e2d032ae0afad3064ff
tests: Add a test for the MMU radix page table walks

This adds tests to check that the MMU and dTLB are translating
addresses and checking permissions correctly.

We use a simple 2-level radix tree.  The radix tree maps 2GB of
address space and has a 1024-entry page directory pointing to
512-entry page table pages.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
tests/mmu/Makefile [new file with mode: 0644]
tests/mmu/head.S [new file with mode: 0644]
tests/mmu/mmu.c [new file with mode: 0644]
tests/mmu/powerpc.lds [new file with mode: 0644]
tests/test_mmu.bin [new file with mode: 0755]
tests/test_mmu.console_out [new file with mode: 0644]
tests/update_console_tests