linux/arch/arm64
Catalin Marinas 7edf68cf19 arm64: Use the reserved TTBR0 if context switching to the init_mm
commit e53f21bce4 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-04-13 14:03:03 +02:00
..
boot arm64: dts: Reduce size of virtio block device for foundation model 2013-12-20 16:20:21 +00:00
configs arm64: defconfig: Expand default enabled features 2014-02-07 17:17:28 +00:00
include arm64: Use the reserved TTBR0 if context switching to the init_mm 2015-04-13 14:03:03 +02:00
kernel arm64: compat Fix siginfo_t -> compat_siginfo_t conversion on big endian 2015-03-06 14:43:31 -08:00
kvm ARM/ARM64: KVM: Nuke Hyp-mode tlbs before enabling MMU 2014-10-05 14:52:10 -07:00
lib arm64: __clear_user: handle exceptions on strb 2014-11-21 09:23:02 -08:00
mm arm64: Honor __GFP_ZERO in dma allocations 2015-03-26 15:06:59 +01:00
xen xen/arm,arm64: enable SWIOTLB_XEN 2013-10-10 13:40:44 +00:00
Kconfig locking/mutex: Disable optimistic spinning on some architectures 2014-07-28 08:06:03 -07:00
Kconfig.debug arm64: Remove duplicate DEBUG_STACK_USAGE config 2013-10-02 18:03:26 +01:00
Makefile arm64: big-endian: add big-endian support to top-level arch Makefile 2013-10-25 15:59:31 +01:00