]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: initialize MMU before jumping to reset vector
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 04:35:07 +0000 (21:35 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 06:53:23 +0000 (23:53 -0700)
commit58c818ce0f8824ade8c1ccc08bf37ac6e9c9da0e
tree4a8bcb53725a63e68531404ed6fe2540233a4675
parentef1b74d3d0292be932a4655989e45ec8f380a613
xtensa: initialize MMU before jumping to reset vector

When reset is simulated MMU need to be brought into its initial state,
because that's what bootloaders/OS kernels assume. This is especially
important for MMUv3 because TLB state when the kernel is running is
significatly different from its reset state.

With this change it is possible to boot linux and get back to U-Boot
repeatedly.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c