From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50A88CCFA05 for ; Thu, 6 Nov 2025 12:24:19 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1156894.1485851 (Exim 4.92) (envelope-from ) id 1vGz21-00017N-Q7; Thu, 06 Nov 2025 12:24:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1156894.1485851; Thu, 06 Nov 2025 12:24:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vGz21-00017G-Na; Thu, 06 Nov 2025 12:24:01 +0000 Received: by outflank-mailman (input) for mailman id 1156894; Thu, 06 Nov 2025 12:24:00 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vGz1z-000178-Vm for xen-devel@lists.xenproject.org; Thu, 06 Nov 2025 12:24:00 +0000 Received: from mail180-3.suw31.mandrillapp.com (mail180-3.suw31.mandrillapp.com [198.2.180.3]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 77f9cc95-bb0b-11f0-9d17-b5c5bf9af7f9; Thu, 06 Nov 2025 13:23:58 +0100 (CET) Received: from pmta11.mandrill.prod.suw01.rsglab.com (localhost [127.0.0.1]) by mail180-3.suw31.mandrillapp.com (Mailchimp) with ESMTP id 4d2Lvx2fx8zDRKpfF for ; Thu, 6 Nov 2025 12:23:57 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 4f161b4070094513b3309dbc08e2e9d4; Thu, 06 Nov 2025 12:23:57 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 77f9cc95-bb0b-11f0-9d17-b5c5bf9af7f9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1762431837; x=1762701837; bh=FFGej1DKmUsMC9NLzWpWnuGjFkfWH0XoPT3cylMdI98=; h=From:Subject:Message-Id:To:Cc:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=FnOC3FaDoQr4BOFe9aJ27K0JPZ1UWXKuCsmNbcRR0cjXnPsnaMa27C1DbbuTG2hy9 cqxytq08Z4c5vv5krwWoG799l98SXaQQCknjl+Lvs/pTaMHE22hJfWSvGvCtmuXpXi ogBjlql3qQktXEmufVml8dIsk/layd5BvaYkEBF/JZZutK0fBDyq3XIWrb3CSTJGuC 3P5wMUJeQPumtgSkZa277IyZYJL3AJsSeMfsd11bfMlbUVXS3GSNlA4PjiapDq36jh prgX00R/ByC54qEv7gh3oQt+n4w2UjKzw17EAzaUrlXmOBWYOoGNbs1QkTkwX61k8j Tb9BmBxuWL5CQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1762431837; x=1762692337; i=ngoc-tu.dinh@vates.tech; bh=FFGej1DKmUsMC9NLzWpWnuGjFkfWH0XoPT3cylMdI98=; h=From:Subject:Message-Id:To:Cc:References:In-Reply-To:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=urNgwlxYzj0mLGWNWzfSiE1q4UtxZImC8aCxizMDPzkvbqJ4jU8V7dxw+l2oh0cMy YkOK6Vby02XMOHSa0fMgI6nLKM70+WIBTwdXSFZx2HTCRwa/vgdy07B93gxv5fc8k2 4RDIPOW+fQTrBmXOTSLaX7KjJ/laWOj3E3i/6omyJZaxWj7XH3EF61qvfamhsCnQUk j82QiXWKsQ9FokUBsphjjyYvRtTDQH3/aqwP91hIZY3Os8kvOblpoWQyr3rpiuGl1e e5bdXawD1nRXQjUyehjCrzEtbeYTajCHqoMcHwfxiOzAYsDLsZ2NHRDmPAWv4hVfah 1gZGXOl5cbiNA== From: "Tu Dinh" Subject: =?utf-8?Q?Re:=20[PATCH=20for-4.22=20v2]=20acpi:=20Set=20TPM2=20LAML=20to=20actual=20log=20area=20size?= X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1762431836262 Message-Id: To: "Jan Beulich" Cc: "Anthony PERARD" , "Daniel Smith" , "Andrew Cooper" , xen-devel@lists.xenproject.org References: <20251105000310.690-1-ngoc-tu.dinh@vates.tech> <58064c07-4182-48d8-9479-7b9f8e9a06cd@suse.com> In-Reply-To: X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message,=20including=20all=20headers,=20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.4f161b4070094513b3309dbc08e2e9d4?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20251106:md Date: Thu, 06 Nov 2025 12:23:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/11/2025 13:19, Jan Beulich wrote: > On 06.11.2025 13:13, Tu Dinh wrote: >> On 06/11/2025 13:10, Jan Beulich wrote: >>> On 05.11.2025 01:03, Tu Dinh wrote: >>>> The LAML field should follow the TCG PFP specification: >>>> >>>> The TCG ACPI specification uses the field name "Log Area Minimum >>>> Length", but the field value is the actual log area length reserved by >>>> Platform Firmware, not a lower bound. >>> >>> And this is said where? Even the field description (ACPI 6.5) reads "Id= entifies >>> the minimum length (in bytes) of the system=E2=80=99s preboot CC event = log area." (I >>> agree it makes little sense that way, but the change still needs proper >>> explanation.) >> >> The above is an exact quote from the "TCG PC Client Platform Firmware >> Profile Specification Version 1.06 Revision 52". > > Interesting. It didn't become clear to me that this actually is a quotati= on. > Perhaps: > > The LAML field should follow the TCG PC Client Platform Firmware Profile > Specification Version. Version 1.06 Revision 52 says: > > 'The TCG ACPI specification uses the field name "Log Area Minimum > Length", but the field value is the actual log area length reserved by > Platform Firmware, not a lower bound.' > > Remove the now-unused TPM_LOG_AREA_MINIMUM_SIZE. > > ? Then > Acked-by: Jan Beulich > and I could make the adjustment while committing (after 4.21 was branched= off, > of course). > > Jan That's clearer, thanks. -- Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech