Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3673846rwb; Sun, 20 Nov 2022 19:37:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+al16TQ3Jx9ehYkGLjz5da6yL+xBWTuIW+6xrymrbdUAigTInfjGRHRTobqSNiwr3Ijog X-Received: by 2002:a63:f90d:0:b0:477:7f9:aecd with SMTP id h13-20020a63f90d000000b0047707f9aecdmr4910467pgi.242.1669001870091; Sun, 20 Nov 2022 19:37:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669001870; cv=none; d=google.com; s=arc-20160816; b=ApiULw41xI8XF6xwp0+H5PU2onORh4s8tx+0JL/HZKPVqva69DqySdsNzu3+QlKFH1 Ufjv5oOD+iEzUBaEsbHxThH8UaebZCIlqRA98cbXyAKNiHg/XamLPn6Er0bpGFdi0Qju OKY1DkofM5PqDESx2T3OimjPgF6qSPOp7dFyCAeDWAMD+Tidy1QWd48epOXG5TF+XIhN 3gi2SqAlAse8K7oShttBH1XYVNaKetoLMlfVUJd8wIqgNQq5o6o+a8BJ93MHzkONeAil +Jyfn3ZOUaPiyyb31kv2PtdFdtUo7eRUnEg+SGnqM1M616qUQls2DOygp7EhD8/kAAtg Bnzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YA25cJ58OKCQ+l7fKvXKYF9Q1eeg1yPGgfIPlLLX+xA=; b=AmAaQqXmWRjFVTQNuyrgmcKWxIeP581c4xPcZCjKH0QfHsi97vPyt6FVdJ/J9Jtb6m f085u8+f1BZkXWcJxv/X1NTO03scIxasQj8IR6GJiwsQnisOj96WU9YKmLzllNcROZ8C s8GEvPCkbjVkUEfx+2qE5UjYmgKXErq9V9TXb/Hmzg60D3zZXNMKJoBdBhmOvxlsKL8p huqZvTuy/hvPOcDnkvmXkPb9ptZVH+XBQDqK5ylA6gqP+eL0XOQj1Bmdbmmj3alVHf2Z c0uTQjaS7XWYjnOMvTK2UsJbLpO1wMFDsYpZx8POSV8T+J9gow/m+vR1g4O+uojc8Cz+ GxtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VQlyAF9p; 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 u189-20020a6385c6000000b004774d8c61dcsi5258636pgd.777.2022.11.20.19.37.38; Sun, 20 Nov 2022 19:37:49 -0800 (PST) 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=VQlyAF9p; 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 S229927AbiKUCw7 (ORCPT + 90 others); Sun, 20 Nov 2022 21:52:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbiKUCw5 (ORCPT ); Sun, 20 Nov 2022 21:52:57 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6531B2D1C8; Sun, 20 Nov 2022 18:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668999175; x=1700535175; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=SZbXR0jnSRpjiZuLVZqtvWf/Wyu6UQpYVOi2XkaiVXc=; b=VQlyAF9pnCUSJR1QvXeg6ILLxzCoh6ZE8PbY4sQeUWAF8NPDKeNzMtK2 pkZZhD5bxBAIuIvTkUyOP8uLnjZz+OvRM+AB5SYSxjAlydScpEd83FJ5D ClZIy4q6+cMNXnsWZ+QJDkkVbWiMp4ZkRg0/duxgL/QCAvmgU9M8n0Ojz K6LjokEtW5QAMKH7rfWaeFokLExFjRsQ91CLyRog6lQRk3yf5NgPtZsub 67X2JnXLS5cWJhFRcALgAwIGKMCdZ1L1eGXhEDNcHhClqLkp4dUejDZAS 2Rbe/H97H9d2odLF64aH991Kx+U+i+JlVhBQWlbg7JEMBI+80GRc7V1Wn g==; X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="399747984" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="399747984" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2022 18:52:55 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="969908459" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="969908459" Received: from mjcardon-mobl.amr.corp.intel.com (HELO [10.209.57.10]) ([10.209.57.10]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2022 18:52:53 -0800 Message-ID: <2eedfcff-e8c1-79af-63f4-c852af7b7e77@linux.intel.com> Date: Sun, 20 Nov 2022 18:52:53 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.2.2 Subject: Re: [PATCH v7 01/20] x86/tdx: Define TDX supported page sizes as macros Content-Language: en-US To: Kai Huang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: linux-mm@kvack.org, seanjc@google.com, pbonzini@redhat.com, dave.hansen@intel.com, dan.j.williams@intel.com, rafael.j.wysocki@intel.com, kirill.shutemov@linux.intel.com, ying.huang@intel.com, reinette.chatre@intel.com, len.brown@intel.com, tony.luck@intel.com, peterz@infradead.org, ak@linux.intel.com, isaku.yamahata@intel.com, chao.gao@intel.com, bagasdotme@gmail.com, sagis@google.com, imammedo@redhat.com References: From: Sathyanarayanan Kuppuswamy In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 11/20/22 4:26 PM, Kai Huang wrote: > +/* > + * TDX supported page sizes (4K/2M/1G). > + * > + * Those values are part of the TDX module ABI. Do not change them. It would be better if you include specification version and section title. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer