summaryrefslogtreecommitdiffstats
path: root/docs/specs
diff options
context:
space:
mode:
authorRichard Henderson2022-03-01 22:59:56 +0100
committerPeter Maydell2022-03-02 20:27:37 +0100
commitef56c2425e5f3e5f14ac080b5f037e5c36a0abdc (patch)
treebe4229d6e5256d3be6309d2ebb145b6c7b9852aa /docs/specs
parenttarget/arm: Advertise all page sizes for -cpu max (diff)
downloadqemu-ef56c2425e5f3e5f14ac080b5f037e5c36a0abdc.tar.gz
qemu-ef56c2425e5f3e5f14ac080b5f037e5c36a0abdc.tar.xz
qemu-ef56c2425e5f3e5f14ac080b5f037e5c36a0abdc.zip
target/arm: Implement FEAT_LPA2
This feature widens physical addresses (and intermediate physical addresses for 2-stage translation) from 48 to 52 bits, when using 4k or 16k pages. This introduces the DS bit to TCR_ELx, which is RES0 unless the page size is enabled and supports LPA2, resulting in the effective value of DS for a given table walk. The DS bit changes the format of the page table descriptor slightly, moving the PS field out to TCR so that all pages have the same sharability and repurposing those bits of the page table descriptor for the highest bits of the output address. Do not yet enable FEAT_LPA2; we need extra plumbing to avoid tickling an old kernel bug. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220301215958.157011-17-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions