https://github.com/torvalds/linux
Revision 40dc948f234b73497c3278875eb08a01d5854d3f authored by Max Filippov on 14 November 2018, 07:46:42 UTC, committed by Max Filippov on 14 November 2018, 08:15:32 UTC
The bootloader may pass physical address of the boot parameters structure
to the MMUv3 kernel in the register a2. Code in the _SetupMMU block in
the arch/xtensa/kernel/head.S is supposed to map that physical address to
the virtual address in the configured virtual memory layout.

This code haven't been updated when additional 256+256 and 512+512
memory layouts were introduced and it may produce wrong addresses when
used with these layouts.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent 0773495
History
Tip revision: 40dc948f234b73497c3278875eb08a01d5854d3f authored by Max Filippov on 14 November 2018, 07:46:42 UTC
xtensa: fix boot parameters address translation
Tip revision: 40dc948
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 12.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 9.7 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.4 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 563 bytes
MAINTAINERS -rw-r--r-- 459.8 KB
Makefile -rw-r--r-- 58.7 KB
README -rw-r--r-- 800 bytes

README

back to top