From patchwork Wed May 11 15:54:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Salisbury X-Patchwork-Id: 1629641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=rRc1zv25; dkim-atps=neutral Authentication-Results: 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=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kz00G2bcjz9sG0 for ; Thu, 12 May 2022 01:57:00 +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 1noohm-0006Po-JV; Wed, 11 May 2022 15:56:50 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1noohl-0006PA-Ch for kernel-team@lists.ubuntu.com; Wed, 11 May 2022 15:56:49 +0000 Received: from localhost.localdomain (1.general.jsalisbury.us.vpn [10.172.66.188]) (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-1.canonical.com (Postfix) with ESMTPSA id B769340E9C for ; Wed, 11 May 2022 15:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1652284609; bh=qu3XZYI4SJdClTJRci+mRlcwvI0JDf75+aPL/YSwoHA=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=rRc1zv25KCBdMVuW+NgQfvpF3hpyxSPpW0BPK7z4megMrO6wzpc+lOJA7GOcMErKN 8KY5AiTPwPbzxiaU43vYw1xJABzpEzz1ePOtCf0YrHuI2z0IcPhamKmST/UA6nqYdR QLGczPR95uFC1crS3UOsf8DqiCZI7dMAXqylzfADg27dnw2CIpKvu6BFXVp0tLGSBO BODQeIu4FBFFHyfZczux8ENC71OIL91l9J0YgOULv21qLH8jES6yU9Z+RC5HTj8M4P MbaztFOfA4TO4MgVBAa6pdHpEThQbzDGFCeo3DxgS1/IxlOh3ZxVpG4VyBZSh9xIud aJ0LeJ8JEYTTA== From: Joseph Salisbury To: kernel-team@lists.ubuntu.com Subject: [SRU][Jammy][PATCH 0/1] Fix for LP:1972899 generic kernel Date: Wed, 11 May 2022 11:54:04 -0400 Message-Id: <20220511155405.250107-1-joseph.salisbury@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" BugLink: https://bugs.launchpad.net/bugs/1972899 [SRU Justification] A new commit in the Jammy 5.15.0-29.30 kernel is causing a build failure for the real-time kernel and may affect other derivatives. After a bisect, I found this commit is causing the real-time kernel build failure: dc66c1b8a2be1 ("x86/pkru: Remove useless include") Commit dc66c1b8a2be1 was added in 5.16-rc1 and not cc'd to stable. It was picked into Jammy to enable AMX support. See bug LP:1967750. The following commit resolves this regression by fixing up the includes: 35fa745286ac4 ("x86/mm: Include spinlock_t definition in pgtable") Commit 35fa745286ac4 was merged into mainline 5.17-rc1. This commit was already requested for the real-time kernel. However, we should also include it in the generic kernel to prevent other codebases from hitting this issue. [Fix] 35fa745286ac4 ("x86/mm: Include spinlock_t definition in pgtable") [Test case] Real-time kernel builds are now working after picking this commit. [Regression potential] Low. The new commit is just including a header file. Sebastian Andrzej Siewior (1): x86/mm: Include spinlock_t definition in pgtable. arch/x86/include/asm/pgtable.h | 1 + 1 file changed, 1 insertion(+) Acked-by: Tim Gardner Acked-By: Philip Cox --- 2.34.1