]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc1683eb77a1db7bc270314694ebadaccdc1acbb
treefd77b5377285f3823e1cdb542521f75b88a0b04c
parent7f5c3caf81e41d914d17cf3ab9ad6f121539d209
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