From patchwork Wed Sep 11 03:27:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1983617 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=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (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 4X3Qxx0vKZz1y21 for ; Wed, 11 Sep 2024 13:28:05 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1soE1L-0006p5-8e; Wed, 11 Sep 2024 03:27:55 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1soE1K-0006ot-1W for kernel-team@lists.ubuntu.com; Wed, 11 Sep 2024 03:27:54 +0000 Received: from localhost.localdomain (unknown [222.129.37.69]) (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 B56FA3F1D1 for ; Wed, 11 Sep 2024 03:27:52 +0000 (UTC) From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][O][PATCH 0/1] Disable CONFIG_TCG_TPM2_HMAC to avoid performance loss after v6.10 Date: Wed, 11 Sep 2024 11:27:39 +0800 Message-ID: <20240911032740.2899777-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.43.0 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/2080322 [Impact] significant delays at bootup, the bootup time is 7 sec when this feature is disabled, but 20 sec when it's enabled. [Fix] v6.10-rc1 introduce encryption overhead to all kernel to TPM transactions, Disable it by default until there is a real fix. [Test] Tested on hardware, bootup is 7 sec as 6.8 noble kernel. [Where problems could occur] It may less security or break TPM. Aaron Ma (1): UBUNTU: [Config] disable CONFIG_TCG_TPM2_HMAC by default debian.master/config/annotations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)