Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1090410rwb; Sat, 1 Oct 2022 15:09:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5j7xVD4dFCh8KyOpCpls2O78yZtGZDWiy1s2mBIP6yEqgHTVJPjuNqHJlYa7fQstC8R/gj X-Received: by 2002:a63:e452:0:b0:42c:60ce:8b78 with SMTP id i18-20020a63e452000000b0042c60ce8b78mr13051544pgk.453.1664662159059; Sat, 01 Oct 2022 15:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664662159; cv=none; d=google.com; s=arc-20160816; b=PmBjLEMBUiVnDb8qNyR40aCXoCw9/Y9GGuud7F+gNatQtO2yXOCw2Fu2GRmAqsby8c uX5WHXEKUVD7OfnIYZpQzlmJ6BAYA8X4PGTYMCJfye+T0AvEMdTqSGduG13Z0KwteDAj cxEznDEqsBJ0HngqGANHDuciyBS4kXeg2XzkXz/cqh1PiId9tha2yVcwSWQcdsgg1cr0 46VjhdcZVUdNkYGiIxDnyGl+rk0QnamK7LZWIp47QX7OxSD1FZ/TXqhKETC5Hvo44E9P 9zB7L6BAw+42WpGOAZ4dshqnoT/26jy8vlrhDTF21fxBQjGKdJ9iBbSqpdHrz8Pd8OVC 1KbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ABtpF7FpkfscTeG2ufv9Or4kQC9LnXNTy/2SsoC+Eas=; b=trVUPQPoj1HZFQt23rT+J9qCx2DJ90bHY2U9UGlzj7VrFUJfEB/mKTXSbWL4GvuO5G rBe9cSupzgQe57eM2BrYDYS90smMTyZAEcMnoC3IcfXCWgj90veB6bgMGEfKWKhv+TsC cXsN8TpclyXOP6FRq+GU8fOJfbB1fS/odbm38CMO9rYTXS1zmB8WZ22/FzOtED3u7TsA 6de1DPQY5tRWX1TdAKNrL/dO55DtBoHo8TcSXDeZs3frM3qh3nLJ4s9uCO7eFpMyD63d S6E3w+/ikyfvcSsImT1o6EaBwbULbPEMv6jEXt+fzqQv3SQlVe4fhnHNi5+AbvzSbVzy eb8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bearmetal.eu header.s=google header.b=HevJvU8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bearmetal.eu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020aa78888000000b0053652e1c0b6si6673308pfe.12.2022.10.01.15.09.06; Sat, 01 Oct 2022 15:09:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bearmetal.eu header.s=google header.b=HevJvU8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bearmetal.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229458AbiJAVxO (ORCPT + 99 others); Sat, 1 Oct 2022 17:53:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiJAVxN (ORCPT ); Sat, 1 Oct 2022 17:53:13 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B0B14F3BA for ; Sat, 1 Oct 2022 14:53:10 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id k10so11730532lfm.4 for ; Sat, 01 Oct 2022 14:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bearmetal.eu; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ABtpF7FpkfscTeG2ufv9Or4kQC9LnXNTy/2SsoC+Eas=; b=HevJvU8hspeLmS9MrlOWp8KZGUAhe2ngK8LrGg4cMI9Ux5yoH+miFKJTeY9Y1Bi3s8 /p7kt8KZiBWquzSUdAm8MpsZ1RI5yIoYCOg147BgCVO3Q7aFH9wTVe4+H/+OcTAI1966 ntNzHfy7Dz2w0HGE+fKIa7I6BLuw0No8KvFNp/V2zy3/yT03PyJg15YpQpje59mETt2q AaAZCWaTRTlnEEiVl73NAn4zm+a/Xnbsjqilxlf5Se1eqYYcKm6fDPm01qq0oFSFpjny iQKF8SgnEZmrmdl241J6+KtiRJPETT4JlnHIXUgweLsNw+awH1PacMyVAsTDr92hKfFI JrmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=ABtpF7FpkfscTeG2ufv9Or4kQC9LnXNTy/2SsoC+Eas=; b=bAVT/IRHxNlLEDBz4/BW1YSPvceyLSxr+qFzaNyKobDr4ZOTxeCKLXoRQ2ugzqoetN 538POYXSXgegTt01ncAJUXYQlO2TOV7+B4jHQNIW8FW9+8ziLT/H/0edqDyXea5Flnba eSels1Kgm3gQwoRmsJbGJ4XKRymzOp31iMhyKi7crEdbfNjqQP0MYmsHCBDMYTqT9yYP uHJeWPK5eDynx36+U2R8daPOsJohQfunUX379pf8FAI2LoHBJzsslVHPf7pMCX6haoQL m4RWCJTa+0eyFBHyPWARkT258xVeakdCbyCvlhNvsiNp5CeTH6811cpQr6Ih8CL5AwE+ K7Lg== X-Gm-Message-State: ACrzQf301Rsv2rxbXPbrEKU+Ijm8D/Wczmhly71aYlj1pq8zq66/pEw6 pbUjJV0evj7QriIPBzsguwpWlg== X-Received: by 2002:a05:6512:1087:b0:49e:5f7b:ffad with SMTP id j7-20020a056512108700b0049e5f7bffadmr5835239lfg.471.1664661188580; Sat, 01 Oct 2022 14:53:08 -0700 (PDT) Received: from erkki-carbon-x1.bearden.eu (75-161-250-195.sta.estpak.ee. [195.250.161.75]) by smtp.gmail.com with ESMTPSA id f5-20020a056512228500b0049c86ca95bfsm870920lfu.52.2022.10.01.14.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 14:53:08 -0700 (PDT) From: Erkki Eilonen To: jarkko@kernel.org Cc: jgg@ziepe.ca, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, morten@linderud.pw, peterhuewe@gmx.de Subject: Re: [PATCH v2] tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address Date: Sun, 2 Oct 2022 00:52:24 +0300 Message-Id: <20221001215223.783896-1-erkki@bearmetal.eu> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > If this is not something you can buy off-the-shelf, it > unfortunately does not cut. For a N=2, we're having the same issue with a set of OTC machines. Device: QuantaGrid D53X-1U BIOS: Vendor: INSYDE Corp. Version: 3A16.Q402 Release_Date: 11/10/2021 ACPI TPM2 table: [000h 0000 4] Signature : "TPM2" [Trusted Platform Module hardware interface table] [004h 0004 4] Table Length : 0000004C [008h 0008 1] Revision : 04 [009h 0009 1] Checksum : 8C [00Ah 0010 6] Oem ID : "INSYDE" [010h 0016 8] Oem Table ID : "WHITLEY " [018h 0024 4] Oem Revision : 00000002 [01Ch 0028 4] Asl Compiler ID : "INTL" [020h 0032 4] Asl Compiler Revision : 00040000 [024h 0036 2] Platform Class : 0001 [026h 0038 2] Reserved : 0000 [028h 0040 8] Control Address : 0000000000000000 [030h 0048 4] Start Method : 06 [Memory Mapped I/O] [034h 0052 12] Method Parameters : 00 00 00 00 00 00 00 00 00 00 00 00 [040h 0064 4] Minimum Log Length : 00010000 [044h 0068 8] Log Address : 0000000043274000 Fallback to the UEFI eventlog is what we did for a short term fix too. Will try to contact the vendor for a fixed ACPI table long term. Morten: Did you get in contact with the vendor about this? Looks like a class error across different devices. Cheers, Erkki