* [PATCH] arm64: correct the effect of mitigations off on kpti
@ 2022-06-24 1:20 Liu Song
2022-06-28 17:02 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: Liu Song @ 2022-06-24 1:20 UTC (permalink / raw)
To: corbet, will; +Cc: linux-doc, linux-kernel
From: Liu Song <liusong@linux.alibaba.com>
If KASLR is enabled, then kpti will be forced to be enabled even if
mitigations off, so we need to adjust the description of this parameter.
Signed-off-by: Liu Song <liusong@linux.alibaba.com>
---
Documentation/admin-guide/kernel-parameters.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 8090130..5b9e7f3 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3162,7 +3162,7 @@
improves system performance, but it may also
expose users to several CPU vulnerabilities.
Equivalent to: nopti [X86,PPC]
- kpti=0 [ARM64]
+ if nokaslr then kpti=0 [ARM64]
nospectre_v1 [X86,PPC]
nobp=0 [S390]
nospectre_v2 [X86,PPC,S390,ARM64]
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: correct the effect of mitigations off on kpti
2022-06-24 1:20 [PATCH] arm64: correct the effect of mitigations off on kpti Liu Song
@ 2022-06-28 17:02 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2022-06-28 17:02 UTC (permalink / raw)
To: corbet, Liu Song
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel, linux-doc
On Fri, 24 Jun 2022 09:20:48 +0800, Liu Song wrote:
> From: Liu Song <liusong@linux.alibaba.com>
>
> If KASLR is enabled, then kpti will be forced to be enabled even if
> mitigations off, so we need to adjust the description of this parameter.
>
>
Applied to arm64 (for-next/kpti), thanks!
[1/1] arm64: correct the effect of mitigations off on kpti
https://git.kernel.org/arm64/c/e92b25731ef6
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-28 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 1:20 [PATCH] arm64: correct the effect of mitigations off on kpti Liu Song
2022-06-28 17:02 ` Will Deacon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.