Thread (4 messages) 4 messages, 4 authors, 2018-06-22
STALE2949d REVIEWED: 1 (0M)

[PATCH v2] arm64: kpti: Use early_param for kpti= command-line option

From: Sudeep Holla <hidden>
Date: 2018-06-22 10:25:21


On 22/06/18 10:25, Will Deacon wrote:
We inspect __kpti_forced early on as part of the cpufeature enable
callback which remaps the swapper page table using non-global entries.

Ensure that __kpti_forced has been updated to reflect the kpti=
command-line option before we start using it.
This also fixes the case where SPE driver complains about missing
kpti=off even when it's present as __setup parse kpti only after
boot CPU detects and marks ARM64_UNMAP_KERNEL_AT_EL0 capability.

Tested-by: Sudeep Holla <redacted>

-- 
Regards,
Sudeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help