Skip to contentSkip to conversation

x86: Fix PTI comment in entry_SYSCALL_64

PATCH New Nadav Amit 2 participants 2 messages Feb 10, 2018 – Feb 11, 2018

Subsystems (2)
lore
Share & tools
lore

Nadav Amit

author
#0 lore raw

PATCH 1/1 x86: Fix PTI comment in entry_SYSCALL_64

The comment is confusing since the path is taken when PAGE_TABLE_ISOLATION is disabled (while the comment says it is not taken).

---
 arch/x86/entry/entry_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/entry/entry_64.S +1 -1
index 4a9bef6aca34..f4d4107a93b3 100644
@@ -213,7 +213,7 @@ ENTRY(entry_SYSCALL_64)
 
 	swapgs
 	/*
-	 * This path is not taken when PAGE_TABLE_ISOLATION is disabled so it
+	 * This path is only taken when PAGE_TABLE_ISOLATION is disabled so it
 	 * is not required to switch CR3.
 	 */
 	movq	%rsp, PER_CPU_VAR(rsp_scratch)
Signature · 1 line
2.14.1
#1 lore raw

[tip:x86/pti] x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()

x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
Commit-ID:  14b1fcc62043729d12e8ae00f8297ab2ffe9fa91
Gitweb:     https://git.kernel.org/tip/14b1fcc62043729d12e8ae00f8297ab2ffe9fa91
Author:     Nadav Amit <[email protected]>
AuthorDate: Fri, 9 Feb 2018 09:06:38 -0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sat, 10 Feb 2018 12:44:51 +0100

x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()

The comment is confusing since the path is taken when CONFIG_PAGE_TABLE_ISOLATION=y is disabled (while the comment says it is not taken).

Cc Andy Lutomirski <[email protected]>
Cc Arjan van de Ven <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dan Williams <[email protected]>
Cc Dave Hansen <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 arch/x86/entry/entry_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/entry/entry_64.S +1 -1
index 9e48002..932a445 100644
@@ -213,7 +213,7 @@ ENTRY(entry_SYSCALL_64)
 
 	swapgs
 	/*
-	 * This path is not taken when PAGE_TABLE_ISOLATION is disabled so it
+	 * This path is only taken when PAGE_TABLE_ISOLATION is disabled so it
 	 * is not required to switch CR3.
 	 */
 	movq	%rsp, PER_CPU_VAR(rsp_scratch)