Thread (12 messages) 12 messages, 2 authors, 2019-11-11

Re: [PATCH v8 3/4] arm64: Don't use KPTI where we have E0PD

From: Mark Brown <broonie@kernel.org>
Date: 2019-11-11 16:36:42

On Mon, Nov 11, 2019 at 02:36:34PM +0000, Suzuki K Poulose wrote:
On 08/11/2019 17:01, Mark Brown wrote:
quoted
+	/*
+	 * E0PD does a similar job to KPTI so can be used instead
+	 * where available. This will only run before the cpufeature
s/This will only run/This will run/ ?
Both with and without patch 4 we only check this when cpucaps aren't
ready - with just this patch this is done in arm64_kernel_use_ng_mappings()
where it has a check for caps being ready prior to checking if KASLR
requirs KPTI, or otherwise the checks are from the cpufeature code while
it's running.  With patch 4 it's only called from the cpufeature code or
from the early init check.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help