Home
last modified time | relevance | path

Searched hist:"565630 d5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/mm/
H A Dcontext.c565630d5 Fri Jun 12 05:24:41 CDT 2015 Catalin Marinas <catalin.marinas@arm.com> 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>
565630d5 Fri Jun 12 05:24:41 CDT 2015 Catalin Marinas <catalin.marinas@arm.com> 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>