Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1319982rwd; Thu, 8 Jun 2023 16:17:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ653zpMnaA0kzYVX0cHc7aiwrZqoyNOu54rbcwSc7YsGUKTMa0envln3jmChR+dBexM5u+U X-Received: by 2002:a17:902:b58a:b0:1b3:76f7:e8c4 with SMTP id a10-20020a170902b58a00b001b376f7e8c4mr1596649pls.52.1686266277255; Thu, 08 Jun 2023 16:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686266277; cv=none; d=google.com; s=arc-20160816; b=apx4pe/gXuylCmKT5ciBjOr9RIAzUYPSrTwZd/W2GinDFiamNfa6a7Gg/bDvhskuDe iH6iYCp+JOUTTpY0OkCnalF0oqAQqTPxS5lgLktKolD6xQ6GHOAWordCz6GOGp/mVSKq BteTijhhsyf8N4cx4i736n54KT88rgBO6Ac4D4TIu2RDmN6DL0aOdBL9CScGb704y9iz 0iYiM7+c0TU5GWvxDwS0JQSqIIf6H+v3i+6yxqp+wM9kmagTATk1Vc5PzBGzE1q1gctm fteZZVFbZT4qA9jZ30gDdWSIUvlxNYJLPeD5uN6QAF/xzHNpDTB428cRcLT3DesEH6k1 CEmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kAbbOhPWWaEsRdU2+9Iv+rQXjNoadMg+3iZevXcFSeY=; b=NV7ZPKk5feCIZS6JruPM7PRpT1kM2A7/GNAcufoj/NpdXa0wl4hVu8V0I25nWMwS2C ieH28zsxYtXxEF/SII8nu1SMN1ZVGI9+uZRAJ9y3vOE+K9B1rhsczwD9QbPREJkdf8Ri CFsjcLbtOdeFl/p/37utZdP/X03Gpe7lzcVitbWz8VZDSJPxhYLerElHNL1oq4QyciG/ UljifJG5FYhYKzlB3OPbz+PbL2/u4ecAtT2Z8X8aVUSqAgPJmhucHbE4r0k9XJ2j/Xhj WB1P1+JOhSlKDbMQy29IontlNjUE8iKZZ4QpB7q8QoC7aIrlFXjTlK12GQaipT9dLc62 fEfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n+ZmULfI; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lb11-20020a170902fa4b00b001b02d0941e8si1593502plb.606.2023.06.08.16.17.42; Thu, 08 Jun 2023 16:17:57 -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=@intel.com header.s=Intel header.b=n+ZmULfI; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233529AbjFHXCW (ORCPT + 99 others); Thu, 8 Jun 2023 19:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjFHXCV (ORCPT ); Thu, 8 Jun 2023 19:02:21 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDB21BEB; Thu, 8 Jun 2023 16:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686265340; x=1717801340; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pTxSE3g/pkUW9O1/rWpP1ww2HeBy2R2YFKbn6r4RIdo=; b=n+ZmULfIufgFM84JxcGwHfeFUdeFx2vdWYvc8vLKL9A5aM9cjLC/p7cL 50be1Os5AEOw/mVYNQnmToSuq+5yz4JeawSMsNxTsB0Pu5mwOC950ryA5 +6A4slnimlLqJocT++kbwnCaSNUuFgxyctHTEgqLaHxLr+ttToaLT2Mx+ QH2Nlw3+WDZMy/JtJbbZ4/YZO6VDp4APg6KhQyehN6YGrJ0zv2EyUI0A7 pLzmxFeXqc6gj9AOzdmjmsVYSRbjbFav1GyXa40NTWpsL/+VNtiiZiKqM tfdybYOFNpqavlyMdcxrl1s0j8XvApI93JggvbRnOBoMCKuBUuTTW0eER g==; X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="359941373" X-IronPort-AV: E=Sophos;i="6.00,227,1681196400"; d="scan'208";a="359941373" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 16:02:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="713282835" X-IronPort-AV: E=Sophos;i="6.00,227,1681196400"; d="scan'208";a="713282835" Received: from fgorter-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.59.89]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 16:02:14 -0700 Received: by box.shutemov.name (Postfix, from userid 1000) id CEE67104C0F; Fri, 9 Jun 2023 02:02:11 +0300 (+03) Date: Fri, 9 Jun 2023 02:02:11 +0300 From: kirill.shutemov@linux.intel.com To: Kai Huang Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, dave.hansen@intel.com, tony.luck@intel.com, peterz@infradead.org, tglx@linutronix.de, seanjc@google.com, pbonzini@redhat.com, david@redhat.com, dan.j.williams@intel.com, rafael.j.wysocki@intel.com, ying.huang@intel.com, reinette.chatre@intel.com, len.brown@intel.com, ak@linux.intel.com, isaku.yamahata@intel.com, chao.gao@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, bagasdotme@gmail.com, sagis@google.com, imammedo@redhat.com Subject: Re: [PATCH v11 11/20] x86/virt/tdx: Fill out TDMRs to cover all TDX memory regions Message-ID: <20230608230211.byot2fbo7skkfqxe@box> References: <927ec9871721d2a50f1aba7d1cf7c3be50e4f49b.1685887183.git.kai.huang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <927ec9871721d2a50f1aba7d1cf7c3be50e4f49b.1685887183.git.kai.huang@intel.com> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 On Mon, Jun 05, 2023 at 02:27:24AM +1200, Kai Huang wrote: > +#define TDMR_ALIGNMENT BIT_ULL(30) Nit: SZ_1G can be a little bit more readable here. Anyway: Reviewed-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov