Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp480838lqa; Sat, 27 Apr 2024 09:53:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTAwoRAAJQJ3u2nCSdER/EkKXvlJh4k3kUlAmZsYNkR4Qjyu7y2Nb2dVUYaiptm9c9p3mw34j6vaJ+nYB8gFNVvr0w+HOVw5Niwhpqmg== X-Google-Smtp-Source: AGHT+IGwxmunk7nU2TychkZp5qZLdmKaXksl9G8C8vs/t0is1sEVdjM57UkCvGcp5nkKcfYZ6mkT X-Received: by 2002:a9d:6b13:0:b0:6ed:da18:6dfd with SMTP id g19-20020a9d6b13000000b006edda186dfdmr4937531otp.9.1714236809653; Sat, 27 Apr 2024 09:53:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714236809; cv=pass; d=google.com; s=arc-20160816; b=Ewr8CZKFhZJGBffrUHX6yl/6inwHZ1J6XnN9HgwMiKn+zwvArQm62my39q1T8+gk1l HjPgC3bk0dpbpNrykcO3MlklucxzxYx7Qxhm+9D7G2ajJJwUd6SKnTuy6FwYEMMkIjfi oQeACA0yhUqaNImQHZwpZ7JVXQ7BoxH/0E4pzzD/MZM1RzmAJYfT6RjCpzm3mxAk6Nru vzwVU5EnHDH6t2qCEIbU0AbmU6lafJuppW8f4gRVEqv2wj6CmJCtxQt8tMTGdhEJcADt +dQ2nDzyatpdBTRHk03Zsc0hR9U7UvVQnbL8vNcacF8RxrKQcdd1x0IreOYugv70VEoP 2OuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vdDGQgHQNY9RVQPSMXw88D4s9ev8WpHtHiTCM2jrjcE=; fh=wQuajvepQ/scjqmb6EPtsfqwc4SQDCUcn+nRU9Y/8M4=; b=0gYeO89LqKlv0VlKhTc5TVIncN8pucrXNKsRCglRuFnEnlxksc7KOOFXW+fzoQMShU Y/oE8sBd26wra4f+U8hEkKnvMGdBokhSsuL63DGXlA/TiQWfKjbLhC60IjOF8Yhardt8 FxaX+/mdtaewMP+hVPT7zLGbXLwT0HImDww+RZGnvKRFQ8v5bhYWfSPfuN9Xc8W4hP5E MePooKsGrGLJjAD52xLmVVzG1GwdS0SUcKxwxVGlonnZ1V66mX7YTKEBOXck3QOdEQ1h HelrXGvKSiUL/fifhi0l4h+HCfRUf9DGPXFRMwRutSr12Tfsd1q6OJqPFiYzduODlXrX tgoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Oo5PO85d; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-161106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t4-20020a639544000000b005dc8a171689si17106898pgn.411.2024.04.27.09.53.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 09:53:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Oo5PO85d; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-161106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 303BD281F23 for ; Sat, 27 Apr 2024 16:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3347F14264A; Sat, 27 Apr 2024 16:53:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Oo5PO85d" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7BAB628 for ; Sat, 27 Apr 2024 16:53:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714236804; cv=none; b=WBj0ChqUsa1+28YIpmDdai+5goIJQKu3YaqT70OpKzycN0ohIYS1AUU+gNFxR/sA4XutlRcGXet/e/3c3918aNOAoIrR2OvWEWFLfd+HzfaxZJ2M4cV82OA4IirLHZm7LTu+AV1xihaWjlANKt9k0V+eKub9X5/c3jcJy24VoBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714236804; c=relaxed/simple; bh=QWybhLUhrELLESM27F8WIrWgZG2CGCVmC7Q3DMOepaM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RnB8U7MQKcahCbpWkyq3l+506y3phCVd5bF732yw9DxRZGLwEu3A14y0G94Y+F45IdG9OTh/DJzQwYlguGI/r1eD9KpB0OaZDFBRNmuFwLOSzYm9deLj1U+RSh4p70QAP577qNJ8ExdqzT3DkOCHcYdaOKFZOzZ9J85QXGzxevM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Oo5PO85d; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714236803; x=1745772803; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QWybhLUhrELLESM27F8WIrWgZG2CGCVmC7Q3DMOepaM=; b=Oo5PO85dOod9E/HrotklbM7H1xgbRapk3QMMCtE3MyPgLfyr6Uta6v+3 xDqWWQ7jFFTjqctkHsz9szlAwt5NmYWq28K2DCZt3PXdejND97avwNAmc EBFGLexlp97ZQu0WGmUelpTpIZYFfeVrwLL/rlZ1qOgF59TlIREB8JVBa xfTfN9VHaIQTicQLzd2WLIubMWUonf740rB1mT+EMp6UsSga7tJHjfxBm gHHowSGGMBDmTuL1mxBXBVjSb6g4by/UnE5oEy6JQvSVNUmVoV+iumVlB Ab3jmROb1l+sVBhki6wtWTIab33JuZ1IamHlzoQA2Yu4ZCsZC8Io7LuL/ Q==; X-CSE-ConnectionGUID: dxJX6hMzTWGUpjilb1uVOA== X-CSE-MsgGUID: N696blKkQuyN+q8QQ6o5/Q== X-IronPort-AV: E=McAfee;i="6600,9927,11057"; a="21362566" X-IronPort-AV: E=Sophos;i="6.07,235,1708416000"; d="scan'208";a="21362566" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2024 09:53:22 -0700 X-CSE-ConnectionGUID: Z3zAs51+SDCIkuEOvtFanA== X-CSE-MsgGUID: cutovxMVQHiT6sg+voIfPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,235,1708416000"; d="scan'208";a="26119745" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa006.jf.intel.com with ESMTP; 27 Apr 2024 09:53:20 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id D8347118; Sat, 27 Apr 2024 19:53:17 +0300 (EEST) Date: Sat, 27 Apr 2024 19:53:17 +0300 From: "Kirill A. Shutemov" To: Dave Hansen Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, sathyanarayanan.kuppuswamy@linux.intel.com, hpa@zytor.com, seanjc@google.com, elena.reshetova@intel.com, rick.p.edgecombe@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 4/4] x86/tdx: Enable ENUM_TOPOLOGY Message-ID: References: <20240325104607.2653307-1-kirill.shutemov@linux.intel.com> <20240325104607.2653307-5-kirill.shutemov@linux.intel.com> <8f4c664e-665b-495c-b6d0-04899a3c216b@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f4c664e-665b-495c-b6d0-04899a3c216b@intel.com> On Wed, Apr 24, 2024 at 03:20:54PM -0700, Dave Hansen wrote: > But seriously, why all the complexity over and over? What does this buy? Thanks. That's a good perspective. I will rework the patchset dropping all unneeded enumeration. -- Kiryl Shutsemau / Kirill A. Shutemov