Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4979760rwd; Sun, 11 Jun 2023 20:15:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Nwl4HQ7TS2hArKl94FviWUzvaZjcwzyFsA5d2LMl5vamHLcQtspHBCGq0uerkSaHd9yIZ X-Received: by 2002:aa7:d983:0:b0:510:f44c:4b71 with SMTP id u3-20020aa7d983000000b00510f44c4b71mr3581365eds.27.1686539759417; Sun, 11 Jun 2023 20:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686539759; cv=none; d=google.com; s=arc-20160816; b=lZnZn5ypoqYQ/rXOy3rfc0GScjNgynY8xDrJZq2BGtrezh1P5XRv+OvXRQf8upzyua DHTLzGcxf80P2kXEMi09oAuR8y3Xv0PKdk2A3b80ceJyq3OlUCojMESnaFt/6oPKUSaZ A5fs27xiIosL0uDnG033KxV9sJjRphgLh9ZplCiMyV4D8VCV40tBBeJ29mTbNsGGP6Qh nbe8OBDlUQ1kG/cQ8lO4x2VqVsFXb8hl6I/VjxTIqQBcbA9LMrRxKpbKTY+Ar91wj/lK qtOD6Mr7pXTZM3bna0go0kModeNn2ZYZXW+dqmIbzZbPfSeRr3yj6ZrWWUJpUCBch864 A36w== 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=ZW71WKq/r8IK/iv7mphEXL6Q2Nyft2XsOGR70FHjOCg=; b=l8H4d0OanX4Y9USc2BcUH+5moQQeLqr9hDznyiiDw0ZYcB8yAI2phEfr9HL+izGess S0J5+X435wOI337hgPj2xB0fabNNuGUWLUdp+eF/m9GM9TDo42XvTZO4b2hWNlqwSNxG B7e7bDbE1GedytjVwADvNTMC3rcYRcir/bphP8q6juciBWBnatGnimydX0Bl78jY0zJY D/sjP7jvXb9PY8ftDDIDP852B3Ss353qMRQfzX8jdxudIGV6lqke56QxjUvRsNz/q3hm rlkx50fZrZhOA5q9UwRQ6RGWisforoF12eBCKt8DUOke4M+mANtLflshB1m+RVrzSmwH x8TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GMljJlGh; 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 f16-20020a056402069000b00514a5f8d317si5481039edy.97.2023.06.11.20.15.35; Sun, 11 Jun 2023 20:15:59 -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=GMljJlGh; 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 S233250AbjFLDBH (ORCPT + 99 others); Sun, 11 Jun 2023 23:01:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjFLDBF (ORCPT ); Sun, 11 Jun 2023 23:01:05 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A656CE42; Sun, 11 Jun 2023 20:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686538862; x=1718074862; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=xaf+6IVAFPikf9k8jHuBKGigqxwE6g9BXBfNHh9Lt8Q=; b=GMljJlGhuXOeWq6I0c3GgwriQUYPQOy2jh32JkLI4IOE70pTUsO0lyqj FQv9ykV5lgcFoTgjH0SjVIkM6WuiAkxV8uilmh2uuubUIPj4Ka9rQeRni LtBhURgQGL7SP0nMOseIq3jx4isHX/7jzwkbeBH2II2CFwyB3V/Y3+PX1 TNWShbs9KwZCjvinwnPXsfhvbByyauLGsgf+Ngq/+WGtrb4Yx1llsDiEk PBjOH45DchM+37wuRnV3PmsUbUvujiDDKYfiBjKsLmkG7ZjB2GcfBidFd 1VcYE+vZdmuT/yGnWkszkamy1lRg+u2H8P27arpOx67iHwJyYt1R6+UEW Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="421527153" X-IronPort-AV: E=Sophos;i="6.00,235,1681196400"; d="scan'208";a="421527153" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2023 20:01:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="714237378" X-IronPort-AV: E=Sophos;i="6.00,235,1681196400"; d="scan'208";a="714237378" Received: from dpricket-mobl.amr.corp.intel.com (HELO [10.209.52.25]) ([10.209.52.25]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2023 20:00:58 -0700 Message-ID: <758c2dfa-642c-278a-331f-7a90384ab9b2@intel.com> Date: Sun, 11 Jun 2023 20:01:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v11 10/20] x86/virt/tdx: Add placeholder to construct TDMRs to cover all TDX memory regions Content-Language: en-US To: "Huang, Kai" , "kirill.shutemov@linux.intel.com" Cc: "kvm@vger.kernel.org" , "david@redhat.com" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "linux-kernel@vger.kernel.org" , "Chatre, Reinette" , "Christopherson,, Sean" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "Luck, Tony" , "peterz@infradead.org" , "Shahar, Sagi" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" References: <20230608225245.rvygi5zkr2niolsj@box> <2ae5cfb17ed0a6caa235e49086ac233972400ddc.camel@intel.com> From: Dave Hansen In-Reply-To: <2ae5cfb17ed0a6caa235e49086ac233972400ddc.camel@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 6/11/23 19:21, Huang, Kai wrote: > Should I change the name to "tdmr_info_array"? If foo[bar] works on it, then it's an array. If not, then it's not an array.