From patchwork Wed Jun 22 14:24:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 1646569 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=ho4vlpaD; 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 4LSlz92NjSz9sGD for ; Thu, 23 Jun 2022 00:25:23 +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 1o41I9-0003hJ-4H; Wed, 22 Jun 2022 14:25:13 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-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 1o41I7-0003h4-Bz for kernel-team@lists.ubuntu.com; Wed, 22 Jun 2022 14:25:11 +0000 Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) (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-internal-1.canonical.com (Postfix) with ESMTPS id AD8A03F11C for ; Wed, 22 Jun 2022 14:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1655907910; bh=oC23k/rmBtZoiNG60qfehKSbu4zQG9G40iaE+RqsWL8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ho4vlpaDwSti6x5hk6XCA66iw72fLEaQJBDJeAjT2kJz6qInviaNrRJy4uN1G6H9w hmaWUzcIpNdw6gfACpAN7Dxv68gZzt9YQVuP4LecywlxHqt2wLo5PID7njMOPtwJId mG6NLzuUKi+eowVU1hmlWAHqdZCf2nqSPIKSe9o58170k0NQ+a31/Uz9RUrpQDx13x no1H+i7yUbOlQ1IPX//uOsn1s+aKuKwTcO4FaysA/4/iIVadJZZUiMKjY9+vKIwoIg 50sGv/YTAz9FCYcg+D9YMddFbB3AxjFW3vPhODxshkPBmlWg/DxuE+ixNErCRt2dVH J6Q5CPUtiIEaA== Received: by mail-pg1-f200.google.com with SMTP id q8-20020a632a08000000b00402de053ef9so9154371pgq.3 for ; Wed, 22 Jun 2022 07:25:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oC23k/rmBtZoiNG60qfehKSbu4zQG9G40iaE+RqsWL8=; b=bpusp3Z3zHkQZ+01W4ag/T9NgxIChD1USvdh4Y7vTYt/mHgtzWQkmln2FW4muxvw+T +UdT9QXh+A4HJMjaZe7W2vkxXTuen+PRe6OPuZX6VJCIhDxTBBS3cjxsFJdhr4/wdy/O F72C8poacDRjt8OD3iL1yZjAN0uFZ+YJN63V1VjcuA3hZdSKyZrQ/LfvgUP5YePjAfcp 5oeGn+ZP2BwI45EZQgW/pUyxfHCt3EnUM3vNXVj2jRRAqJtNSFUbDxHoknCmWesl8pug 0uJ0zhMEsOXc4Q7dOkHQwtjmS/AnuJnsTMvLrnwXM/o9NslRxY9dQgDis22VfiRU5ZJh EC1Q== X-Gm-Message-State: AJIora+2SDr4f3+nYjJtHkbeeIm57IMYVAvvCWySd2fPgjsbX785k2Fp 16VNZ4rSG25coEfx6+cRLEfRHLWLEydfNpq/FWmGcviG7MnKNgp52JR7b8nhAufgOsYqbU9mdZO vTAnq/bt2Ze4l+ULANfxqU7N1xCsRyn6yTOFzwkaauA== X-Received: by 2002:a62:e119:0:b0:525:17bd:a0ad with SMTP id q25-20020a62e119000000b0052517bda0admr20919788pfh.9.1655907908440; Wed, 22 Jun 2022 07:25:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZDlhfiwxX5cSahM62xh/1QprRfJvxAvjLl3Oo0viJhNtSoC/3hhlXmk2s8QnDNHLxNUFIRA== X-Received: by 2002:a62:e119:0:b0:525:17bd:a0ad with SMTP id q25-20020a62e119000000b0052517bda0admr20919768pfh.9.1655907908145; Wed, 22 Jun 2022 07:25:08 -0700 (PDT) Received: from localhost.localdomain ([69.163.84.166]) by smtp.gmail.com with ESMTPSA id h14-20020a170902f7ce00b0016909678e2csm8638694plw.292.2022.06.22.07.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 07:25:07 -0700 (PDT) From: Tim Gardner To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/5][jammy/linux-azure] SGX fixes for 5.15 Azure tuned kernel Date: Wed, 22 Jun 2022 08:24:56 -0600 Message-Id: <20220622142501.4339-1-tim.gardner@canonical.com> X-Mailer: git-send-email 2.36.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/1979541 SRU Justification [Impact] https://lore.kernel.org/linux-sgx/dd7c1402-eeb9-cea5-25c6-ab19e8031991@intel.com/T/ = This fix introduced a bug and fixed and reverted by series added to 5.19 (https://lore.kernel.org/linux-sgx/cover.1652389823.git.reinette.chatre@intel.com/) Backport several SGX fixes. x86/sgx: Ensure no data in PCMD page after truncate x86/sgx: Fix race between reclaimer and page fault handler x86/sgx: Obtain backing storage page with enclave mutex held x86/sgx: Mark PCMD page as dirty when modifying contents x86/sgx: Disconnect backing page references from dirty status [Test Plan] Microsoft tested, "Update from engineer - I was unable to reproduce the softlock issue after the patches were installed" [Where things could go wrong] These patches could cause a different soft lockup. [Other Info] SF: #00338537 Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Joseph Salisbury