]> 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)
commit9e6f8a2809bf51805ef968311b1f627c779b291b
tree4a8bcb53725a63e68531404ed6fe2540233a4675
parentbc4586a2579d6854198b3734449f3d523e8a689b
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