aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-08-05 20:21:09 +0000
committerMark Johnston <markj@FreeBSD.org>2022-08-05 20:21:09 +0000
commite9552d8b45d67ca44d91b3ec09c91253e7e99b28 (patch)
tree5bc9e8c4372e369a676f9fabd786af6e9f9088bf /UPDATING
parent52a54b96ed1b7c0a1c04fc7651a1fc036bdc5bbc (diff)
downloadsrc-e9552d8b45d67ca44d91b3ec09c91253e7e99b28.tar.gz
src-e9552d8b45d67ca44d91b3ec09c91253e7e99b28.zip
arm: Clear TTBCR before enabling the MMU
Upon reset, this register is supposed to have a value of zero. But when booting certain v7 CPUs in QEMU, we enter the kernel with several bits set, including the EAE bit, which enables ARM's PAE extension. I'm not sure if QEMU is setting it or if it's the uboot loader. Because FreeBSD doesn't implement that extension and uses regular 32-bit page tables, the kernel hangs immediately after enabling the MMU. Just clear everything in TTBCR before enabling the MMU, to match the reset value. FreeBSD doesn't toggle anything in that register. PR: 251187 Reviewed by: imp MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36041
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions