commit | 565630d503ef24e44c252bed55571b3a0d68455f | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Fri Jun 12 11:24:41 2015 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri Jun 12 15:36:18 2015 +0100 |
tree | fbd1c12f5bf48144cfc29c7c7d59aecae42c67b2 | |
parent | 8a14849b4a355278f0b7baf6e2da7dc7144a23e8 [diff] |
arm64: Do not attempt to use init_mm in reset_context() After secondary CPU boot or hotplug, the active_mm of the idle thread is &init_mm. The init_mm.pgd (swapper_pg_dir) is only meant for TTBR1_EL1 and must not be set in TTBR0_EL1. Since when active_mm == &init_mm the TTBR0_EL1 is already set to the reserved value, there is no need to perform any context reset. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: <stable@vger.kernel.org>