arm64: entry: Reword comment about post_ttbr_update_workaround
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Jan 2018 11:59:58 +0000 (11:59 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:23 +0000 (22:53 +0000)
commitf167211a93ac41a65b7a0ab79d4479d0fb58c4f1
treefd77b5377285f3823e1cdb542521f75b88a0b04c
parentfa0465fc07c2f9f47bd1198ab368d341bd7c7e4e
arm64: entry: Reword comment about post_ttbr_update_workaround

We don't fully understand the Cavium ThunderX erratum, but it appears
that mapping the kernel as nG can lead to horrible consequences such as
attempting to execute userspace from kernel context. Since kpti isn't
enabled for these CPUs anyway, simplify the comment justifying the lack
of post_ttbr_update_workaround in the exception trampoline.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry.S