https://github.com/torvalds/linux
Revision e53f21bce4d35a93b23d8fa1a840860f6c74f59e authored by Catalin Marinas on 23 March 2015, 15:06:50 UTC, committed by Catalin Marinas on 23 March 2015, 18:42:23 UTC
The idle_task_exit() function may call switch_mm() with next ==
&init_mm. On arm64, init_mm.pgd cannot be used for user mappings, so
this patch simply sets the reserved TTBR0.

Cc: <stable@vger.kernel.org>
Reported-by: Jon Medhurst (Tixy) <tixy@linaro.org>
Tested-by: Jon Medhurst (Tixy) <tixy@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent bc465aa
History
Tip revision: e53f21bce4d35a93b23d8fa1a840860f6c74f59e authored by Catalin Marinas on 23 March 2015, 15:06:50 UTC
arm64: Use the reserved TTBR0 if context switching to the init_mm
Tip revision: e53f21b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.8 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top