Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1q9vdi-0006Q0-1F for mharc-grub-devel@gnu.org; Thu, 15 Jun 2023 18:40:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9vde-0006Ph-C6 for grub-devel@gnu.org; Thu, 15 Jun 2023 18:40:22 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9vdc-0000O2-MI for grub-devel@gnu.org; Thu, 15 Jun 2023 18:40:22 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f62b512fe2so11591580e87.1 for ; Thu, 15 Jun 2023 15:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686868818; x=1689460818; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YrcLt+w7+Svm0CS1QPcV0qHPbdFNxsusvkPms4J6Kmg=; b=lBGm2j/uKjxZ5reawJtHqilDIesk6As51pZdMLB3NAGLH8KtUHVi3AqkOkjenAvXQq jsLifats2J4lzBcAFAZx40eo5tWZK7R3F/h8UOKjMU130CyFZo/okskI4nBiW73K4W++ ut5DaYa/rORSS9LmxtODp8f+MuiPNJhLhoVc0gsOTVhmvItJBV3Hqj0ewije8o+pF3W8 OiknMK3oVaTnQwIZnIntXntsBAeIUZCEvmI+gSzJTysvLHp8jVdQmZRdbiugGuTVwxjh d74Bf7hIGSL4xt+ZBRQWk6gzR9BER0yXeSzrqnG4oEX/SXjOY0YnfTA+PhZANfb1mPkq 7J+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686868818; x=1689460818; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YrcLt+w7+Svm0CS1QPcV0qHPbdFNxsusvkPms4J6Kmg=; b=DjwHt+h/KBAmJZM+l77F2E3tCF1H1d+kCcTwmaOyUj3mOi0GRfnr9057JIc9ttSVk1 kcTttYV9DS3s3vaiszUr4NVhnuKb2E9sOG9lU2kNR2knVCqHYDgAYRFOsGSSC+77IX11 R95VHy5W8qX2ZBku6AaJ2jUSI+8G7d47ZT4n71iuxVDQtTKwudk4G07LCNcYRV1r17qS EmXzclvexApXRNsHOLOwQ+JArKsAKSVXmQGVZ70zXkqXwrtrX6cspS66jconoaYZOS0N HHKFw83XCAvj+EyTTiT1SaOBvpAy1mBqBQrilG8hQjBVPvdKGr6xWFuFOf2QOV7i/8RL Q+Og== X-Gm-Message-State: AC+VfDyMGC7vh6uX9LznmNhp7Wh0nvk545zayrinwJOgCHgOJuNjvd/l OL/Hr7K/XX/g1Q7mTJqLlye8h3thPmA= X-Google-Smtp-Source: ACHHUZ6SX4vgWg8qEVikQcAQDk4myqAl4y1wvgh8xHV2lyb63ikw3bF9k1fbSZoiAVCtEnDU9J5r/Q== X-Received: by 2002:a05:6512:68:b0:4f6:3ab6:3d9e with SMTP id i8-20020a056512006800b004f63ab63d9emr46572lfo.59.1686868817601; Thu, 15 Jun 2023 15:40:17 -0700 (PDT) Received: from fedora.36 ([77.252.47.129]) by smtp.gmail.com with ESMTPSA id j4-20020ac253a4000000b004f764716afdsm902962lfh.257.2023.06.15.15.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 15:40:17 -0700 (PDT) From: =?UTF-8?q?Micha=C5=82=20Grzelak?= To: grub-devel@gnu.org Cc: =?UTF-8?q?Micha=C5=82=20Grzelak?= Subject: [PATCH v2 0/1] tpm: Enable boot despite unknown firmware failure Date: Fri, 16 Jun 2023 00:39:46 +0200 Message-Id: <20230615223947.3700-1-mchl.grzlk@gmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=mchl.grzlk@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2023 22:40:23 -0000 Hi all, This patch fixes small problem with my computer being unbootable under certain circumstances. It also addresses concerns pointed out by Daniel with previous version. If there are any, I would appreciate further comments. Best regards, Michał --- Changelog: v1->v2: - change grub_tpm_is_fail_fatal() back to tpm_is_fail_fatal() - make is_tpm_fail_fatal() static - move is_tpm_fail_fatal() body to include/grub/tpm.h - update docs excerpt about tpm_fail_fatal Michał Grzelak (1): tpm: Enable boot despite unknown firmware failure docs/grub.texi | 5 +++++ grub-core/commands/efi/tpm.c | 3 ++- grub-core/commands/tpm.c | 7 ------- include/grub/tpm.h | 9 +++++++++ 4 files changed, 16 insertions(+), 8 deletions(-) -- 2.37.3