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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74A5EC47083 for ; Mon, 31 May 2021 10:08:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2A1F561186 for ; Mon, 31 May 2021 10:08:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A1F561186 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.134506.250210 (Exim 4.92) (envelope-from ) id 1lneqg-0006fo-5C; Mon, 31 May 2021 10:08:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 134506.250210; Mon, 31 May 2021 10:08:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lneqg-0006fh-11; Mon, 31 May 2021 10:08:42 +0000 Received: by outflank-mailman (input) for mailman id 134506; Mon, 31 May 2021 10:08:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lneqe-0006fb-Vz for xen-devel@lists.xenproject.org; Mon, 31 May 2021 10:08:41 +0000 Received: from mga06.intel.com (unknown [134.134.136.31]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 52bfeb64-71de-4edd-a6a9-559eecf96ec9; Mon, 31 May 2021 10:08:39 +0000 (UTC) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 03:08:38 -0700 Received: from aagrawa3-mobl.ger.corp.intel.com ([10.252.54.84]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 03:08:36 -0700 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: 52bfeb64-71de-4edd-a6a9-559eecf96ec9 IronPort-SDR: cd4EUfr5fNdshyEuriAtjJXv/qJu0xQZBF7441QtMunJYoA+aawAJOQ2wxtcyij9uNVWvFhsgd m9hrKXy525+A== X-IronPort-AV: E=McAfee;i="6200,9189,10000"; a="264524367" X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="264524367" IronPort-SDR: iQKKQqF+4cJqCigL/1uv8fc9RZGMx2Ws9bsQ6Ks7DRaDMih2zxMmBLdLuzXteoPyG9eYqt3516 SavWstDbdyhQ== X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="635118865" Message-ID: Subject: Re: [PATCH] x86/tboot: include all valid frame table entries in S3 integrity check From: Lukasz Hawrylko To: Jan Beulich , "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , Roger Pau =?ISO-8859-1?Q?Monn=E9?= Date: Mon, 31 May 2021 12:08:33 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3 (3.38.3-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit On Wed, 2021-05-19 at 17:48 +0200, Jan Beulich wrote: > The difference of two pdx_to_page() return values is a number of pages, > not the number of bytes covered by the corresponding frame table entries. > > Fixes: 3cb68d2b59ab ("tboot: fix S3 issue for Intel Trusted Execution Technology.") > Signed-off-by: Jan Beulich > Reviewed-by: Lukasz Hawrylko