From patchwork Wed Jun 7 20:33:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1791910 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=Iz27Cd+S; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QbzbQ5yxQz20WP for ; Thu, 8 Jun 2023 06:34:25 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1q6zrE-000370-Av; Wed, 07 Jun 2023 20:34:16 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1q6zrB-00036m-W6 for kernel-team@lists.ubuntu.com; Wed, 07 Jun 2023 20:34:14 +0000 Received: from localhost.localdomain (1.general.cascardo.us.vpn [10.172.70.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 9CB5C3F8D2 for ; Wed, 7 Jun 2023 20:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686170053; bh=O9RTm0RqrpoRxzOkAmf5XsNCSNwoTsRlN2+LpfDRDH4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Iz27Cd+SY/YYheF82w7iChcgd4xiQCC+iMNvyKVHdp2Y7gTfz3aoLm47aP9Uq/dqA bfXDXKV0hRNQXN1i1zogcSmS/C0qA2XoTl99jm1GSu3FY8oCRjawYoIbp8T7ylFEQT YnkUFSuWFj6mjngDm1pEexZV83V72FofVgzHX01ABy14nlL7Xjc/hsaf3gVcBOROXr ZQvkzPSCexAbUE1BFj74kXan/hCwvLBf+X+XzIfIMQO2VWcyCVmAuSbPxi/hKSQDBt EfYl2tSZfY472jONdu0cnQsvHXtdi1qfNw0RT98mXJ6iaIL+oixo5sDaQBdxDXdmM1 YBT7Ow+w1Nw5g== From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [SRU Focal, Jammy, OEM-5.17, OEM-6.0, OEM-6.1, Kinetic, Lunar 0/1] LP: #2023220 Date: Wed, 7 Jun 2023 17:33:19 -0300 Message-Id: <20230607203321.2456329-1-cascardo@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] When PCIDs are enabled on Alder Lake and Raptor Lake, INVLPG will not flush the global TLB entries. This can lead to info leak or undefined behavior. [Mitigation] Boot with nopcid on affected systems. [Backports] Clean cherry-pick, except for 5.4, where backport from linux-5.4.y was picked. [Test case] There is no particular test case. [Potential regressions] This affects performance on the affected systems. TLB behavior could also be affected. Dave Hansen (1): x86/mm: Avoid incomplete Global INVLPG flushes arch/x86/include/asm/intel-family.h | 5 +++++ arch/x86/mm/init.c | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) Acked-by: Cengiz Can Acked-by: Tim Gardner Acked-by: Luke Nowakowski-Krijger Acked-by: Andrei Gherzan