Received: by 10.223.185.116 with SMTP id b49csp1012904wrg; Wed, 21 Feb 2018 10:33:30 -0800 (PST) X-Google-Smtp-Source: AH8x227yM+KC9hK/wNmDjGWsqGQStGpqoXX0L7f0jUmL8XBmlOEbB9/ftmIiIRTwerAbqvkQUITC X-Received: by 2002:a17:902:8349:: with SMTP id z9-v6mr3879948pln.163.1519238010114; Wed, 21 Feb 2018 10:33:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519238010; cv=none; d=google.com; s=arc-20160816; b=P7DZpfIwmCcic5nKHZ462JP3+NBA9dwt26jsLtKgVTyjxJaIVtSoW+9VFEWQcyGz9/ kUgj49drx7xwgN0ugsRm+gzsa2yS403W+1YNyBUNlceNPtSGMcEsrbBBxxcA7Oj9X/l2 W0XeA7SkdivQTdLJen2A0Fe/BhIgZgqMZezIgr3bcqqloBMkbkBOfGXPFZLbarpRN80g N/2HCMS6glnhheptX+vEhxurCm9aKgSawOGrD8yMZ9Pf58xnN7AcWqbS7T0b9+GP796t 6skpPK4RKhfREaYgBgEooQC4NTrDCzRd2RFaUD431wpWBPrB0qRVb1uuZEkxAqEUmcOs 94HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Z9cNswFZJYBbeJI/lJ9JApdyaJNIYcxa+y56fKsQCOU=; b=c536SvxbK/uZJmTKrKVcf/tE90PdyiDNE0SybtehO5y8VrC/uLdBvX2NX+MbEgExfs gfLkOFo7n5yTRRi803q7iyf/lR/FFpVqjB9ZlxoGVHbo+dYPbqjHnZ+QOj3E/nkrO0Xp 7mLEUcX1SpvL8j9gzEEybITlXqu9EPOcBBN8ZVrtsevb+NBbCiiUKoXdEsstVBq+qrOF sL+RtpeJN7Uul+rABVAj46L10DokkE+Av8hiFErByK04k2Rq5yxpeJW6z0tWDjol4JJ6 k3OPkDwfOj4tpDUhZOxqypzJaChcmshsBFHm/anTipeJ9wfPct2/hRoBg6mTxHN5PRAX Uppw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6-v6si1639017plt.339.2018.02.21.10.33.15; Wed, 21 Feb 2018 10:33:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965206AbeBUNHo (ORCPT + 99 others); Wed, 21 Feb 2018 08:07:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41736 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965192AbeBUNHk (ORCPT ); Wed, 21 Feb 2018 08:07:40 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 77508FFB; Wed, 21 Feb 2018 13:07:39 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nadav Amit , Andy Lutomirski , Arjan van de Ven , Borislav Petkov , Dan Williams , Dave Hansen , David Woodhouse , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , nadav.amit@gmail.com, Ingo Molnar Subject: [PATCH 4.15 047/163] x86/mm/pti: Fix PTI comment in entry_SYSCALL_64() Date: Wed, 21 Feb 2018 13:47:56 +0100 Message-Id: <20180221124533.006964554@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124529.931834518@linuxfoundation.org> References: <20180221124529.931834518@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nadav Amit commit 14b1fcc62043729d12e8ae00f8297ab2ffe9fa91 upstream. 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). Signed-off-by: Nadav Amit Cc: Andy Lutomirski Cc: Arjan van de Ven Cc: Borislav Petkov Cc: Dan Williams Cc: Dave Hansen Cc: David Woodhouse Cc: Greg Kroah-Hartman Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: nadav.amit@gmail.com Link: http://lkml.kernel.org/r/20180209170638.15161-1-namit@vmware.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/x86/entry/entry_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -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)