Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12722891rwd; Fri, 23 Jun 2023 09:44:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50raYOoCsW2nlNujggdvNTH23IXCHc0qSsBeGn3X/6uB/jJP5IgwBIbNmTF0ZoqY5f0wjj X-Received: by 2002:aca:2109:0:b0:39c:9173:31f1 with SMTP id 9-20020aca2109000000b0039c917331f1mr22658383oiz.28.1687538696565; Fri, 23 Jun 2023 09:44:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687538696; cv=pass; d=google.com; s=arc-20160816; b=l6SvsFftOvJV9N/6disdb86iIQP6VN1ci8bbpmDPqcjilzEOMLy9+djHcg+AYbBO5C GoEHFSdsZpQZ/hlRbHCf3H97Lbu97rxD2EZo8Jij4Ztqw0jsfoJW4tNUA/LAeDAhbcFZ /aeilmuWxadcHwx2zQRTskBpqR/BmZ8jeaBDefbiWC6QNb0kFUEioZ8zb4AckRywMubg 7stdzlGXF97ON456EJL6wV6TZfVno3s0NnDzDMg+XKq6MTuVGBMEYp6N+6kZWFlbSvTx OJIGPqWCS27o/vd5yA8fQft3I6hcciYyOT3EnRyH2+rtuUOXbsYf2ntsfOxN/ru9CAKP DuBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=5DQFgk9gvxRFUjlxUFSjUtzIJFkmewkU2t+au3zoz6A=; b=Na2t2xo3ZCiqn4cEWQ5WXf9F/fw4/FSbEtCLMcu7ONCtID/tEYxwc4fsltCdTgsvLb hz6hTOcxDWANfIAR7B1yInrBG8tTmXo+6oo6P2n7HBXgWuk7xKTZvymbKqD6GCIf4Suh Jn7nLR2gwhRMJjX4dGtukLTH62/hoBoqyaAbhToCOnfZ9ndaCe1OwzoLMHhcRnBZi9YC Ecuuo8+OotJ7NLyZxUATZDcRKEiZVnaBRp/b4Agg71NYjDlTCrNg5hCLQa8obZsbElEp uGGaDxmHVDsxZ+an3OFjux3DoM9MF5Vby+2yvsAUWb24lh4r84X9/fvOR/UXpDZybJ1Y SzKw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eNzNvXUw; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 b8-20020a633408000000b0052c9458bc03si9199511pga.278.2023.06.23.09.44.43; Fri, 23 Jun 2023 09:44:56 -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=eNzNvXUw; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S232574AbjFWPtb (ORCPT + 99 others); Fri, 23 Jun 2023 11:49:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbjFWPt0 (ORCPT ); Fri, 23 Jun 2023 11:49:26 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A50C82117 for ; Fri, 23 Jun 2023 08:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687535365; x=1719071365; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=5DQFgk9gvxRFUjlxUFSjUtzIJFkmewkU2t+au3zoz6A=; b=eNzNvXUwLp3cOL5MGc7NsWL3ZSt+1TaIVVeU2s+F73jie9eEXIwRUUVL 36iPx+Qm4hh9/sMNQneZwJ0v6Tt6yne7w8o/wux65gp8oIGjhBtZn4Y+Y Yxww/Sla+FzvQDWEU8SNa70bwViZEmqPOjR505eURv5T3CnpAz9R28KQT kvsEABJ9E7x+FrRqQbCgd9cjDpwt/BJh0gRvLHU+Ei8bNSLgcmB/rfcDA 1fIq6y5XMXOX1/4vm+z/vqAadR4mqbelszBqsk3lAO3szb8a4eCKGuA+c odXlDC5fBd/WfK7F4DXHT57hI3t7B1k9+JYG7bSKClQm1az6al0QbDXFg A==; X-IronPort-AV: E=McAfee;i="6600,9927,10750"; a="447170916" X-IronPort-AV: E=Sophos;i="6.01,152,1684825200"; d="scan'208";a="447170916" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2023 08:49:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10750"; a="665519948" X-IronPort-AV: E=Sophos;i="6.01,152,1684825200"; d="scan'208";a="665519948" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP; 23 Jun 2023 08:49:24 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 23 Jun 2023 08:49:23 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Fri, 23 Jun 2023 08:49:23 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Fri, 23 Jun 2023 08:49:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oen3gXcdF2Q8qsdDCWrC6tOW9MaToPFUKEbKupsY1Cv29lGVuTha+bFzyNZMGsM8hkdRQ9/qa4y8Gru1kiGL9KMaZdDN7E90qVvc46fo4xRyhxWRKZ81d50JoSFd409p7LlrdcRkPUAK+IKCmjicvsule2PZB8r4QQhgPJJ2ygD15noD2Ho6iu6VHUQqq9rzF8IgDzmPGv/dPN76SHELrF0YPuLP0251uinSWQxE6VxPuds//T4st2bMjEdktiRykcx/va4yYpqyU2/ojPTyckh26LjFM/ckjgs4hVMf1mhFbaVdjIlPEoc5DHEVsp46wBrQ4YUiYMVUCg7Yj9hwrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5DQFgk9gvxRFUjlxUFSjUtzIJFkmewkU2t+au3zoz6A=; b=NDBNi6MnVuM9FA1dnVNjS1wk0/Yqr6dwvV67yeCW+7UsFQ2xi7n2a6hsqnYsvbNsZISrm/ZC01St92NZVyG+9iI0nuT9682WRh37jqYR2gq8J1yu8ytQ5QyZd+6zzMQL1TG5/qFmztkLKQDbKCkKnyQANqePfdndKeqvHT7O3k79Lva8fzjAgHD7pjRNusOURi5yj3qYxxZonndRMwBpAM5ytE7Sxi1VWiheCNhzafRhs3CbSrbfA9dMdblbCKYiR+PJtJLGF6JU5VWqUI7u/Xw57d8WxvKc3jXLKw8ZvVyuCgqPjCi35GxiXY6ns12LANC0HZ5v534eK3R6mu+6Nw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SJ0SPRMB0086.namprd11.prod.outlook.com (2603:10b6:a03:4ed::18) by DS0PR11MB7785.namprd11.prod.outlook.com (2603:10b6:8:f1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Fri, 23 Jun 2023 15:49:17 +0000 Received: from SJ0SPRMB0086.namprd11.prod.outlook.com ([fe80::f2e:b472:607d:dfbf]) by SJ0SPRMB0086.namprd11.prod.outlook.com ([fe80::f2e:b472:607d:dfbf%5]) with mapi id 15.20.6521.023; Fri, 23 Jun 2023 15:49:17 +0000 From: "Zhang, Rui" To: "tglx@linutronix.de" , "peterz@infradead.org" , "Tang, Feng" CC: "Chen, Tim C" , "bp@alien8.de" , "x86@kernel.org" , "hpa@zytor.com" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "paulmck@kernel.org" , "Woodhouse, David" Subject: Re: [Patch v2 2/2] x86/tsc: use logical_packages as a better estimation of socket numbers Thread-Topic: [Patch v2 2/2] x86/tsc: use logical_packages as a better estimation of socket numbers Thread-Index: AQHZnbiCY6eum+iSlk2uGaiesk42zq+LmcaAgAFwMQCACeXpgIAAkUsAgAEX7IA= Date: Fri, 23 Jun 2023 15:49:17 +0000 Message-ID: <23ccb5aad770fb52014dca9fb1e4353b5c3cede9.camel@intel.com> References: <20230613052523.1106821-1-feng.tang@intel.com> <20230613052523.1106821-2-feng.tang@intel.com> <20230615092021.GE1683497@hirez.programming.kicks-ass.net> <87h6qz7et0.ffs@tglx> <87edm36qqb.ffs@tglx> In-Reply-To: <87edm36qqb.ffs@tglx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4-0ubuntu1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0SPRMB0086:EE_|DS0PR11MB7785:EE_ x-ms-office365-filtering-correlation-id: 1f9a03c1-a781-44fd-23a7-08db7401670e x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: l4BzXhXdyFfT6ck8vC2ljWeDphiPVlTVzHOWCIsV+6mt49q9MKXEr5vWkO1VCFhXVtIp2hbjMfXPm+/sI+MBBVPhM6GsZfhPPvrAVN+KDNsdkUpKWGdc8DykJtcqbrA4urlYy8UF58swGOOHWHv5VKtS4baEqSDoAmPalG+SBWfoaRMmUYWr4Ye1N0z1LagrauApKPVnAyEfTBKcmPpKQ6kuPm7V372uY3b8GAfaR1qxxRE6hVKwmrro22xrT1JRlWl08/h9geEw1L1u50YeAgTR/+wFLs/z7GX8qlFGujpoPU+vRHJdtT9GwtZGDDfM+TSQ+yKafijfbW0ELp/xvi5kFIlQOn26eDH7PmRoJulf3qdAWI0zA3ycjpIyyaOwk7oHFeKY19dJM//GRF4cK4md/lnPlwZjBA/FxAwn0ICg4qNV9U9+LnRSmrcdGfr8v/YDg14Rvik2LSVTFyAaN+Byb2MBLz0XXWaanwcex0bT66l9dJNWyfzE1ZmbTGijv48P2ESseste67ReVtR0qi5LYPov3lY+9OEeTLmfdjyFvvdjbUJA6IEnIUd4G8zldbsq0fFqEO/vlGfwHpdEUz4MYx71WPPDiL01a9Uj060= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0SPRMB0086.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(346002)(376002)(396003)(39860400002)(366004)(451199021)(66946007)(53546011)(66476007)(76116006)(26005)(6512007)(6506007)(66556008)(86362001)(6636002)(4326008)(66446008)(91956017)(186003)(64756008)(110136005)(54906003)(2616005)(5660300002)(7416002)(83380400001)(38100700002)(316002)(122000001)(478600001)(36756003)(71200400001)(2906002)(82960400001)(966005)(6486002)(8676002)(38070700005)(41300700001)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UjFqTFV5cEFhcTZKc0JsNnYzckZMZXpIRENxdURvMGxhUWQ1ak4zYTlMeXlk?= =?utf-8?B?NEZnNUdXaEZXeWRMVUh4cU5KdzNhRXZubjRXY0ZseS9rZ3FBWHd6RTdJTDN4?= =?utf-8?B?ZTk4NWNuZXJMeUtiZGlxTlJPZEhJQ1hzOStEZzlheDhwWlBLNjVQQXVDWHht?= =?utf-8?B?Z2MxeG5tUXlnTGZRNXQzSUpCbWNRYUU1S3JzSEdwTlZOSGc5eXRqeFhneEJ1?= =?utf-8?B?ZENRTEY3YS9CMDJlWXJXWVB2eXFBTU1wWFR2aXFHenl4UE5tMXI1R0FPQ2Mz?= =?utf-8?B?RkRnVkJKdG5GMS9Fa2JFMmVSQlZ5ZUFZTDFLMXdHU0h4MEEzMzU1ZG5HRGIy?= =?utf-8?B?V0FhNXR4YXRyejl2NDlzYnRpUEkyc0d2YUFsOTdRdFE2b1loWkRqYzU2cS9p?= =?utf-8?B?NEFCa2lWaVBJeUlHeWpicjNCSTFZVXBydXB6bVVXNTBtTXhCbVgzK09kTCtk?= =?utf-8?B?UGNZbTJ3ZjF0Z2ErNS9sZnJ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azBCKzJ5NFdqb2t2Y0pRWWRSRmRPV0JzcUtRdjdGQkY2NUYrbmJzS3ky?= =?utf-8?B?dXhqK084elBrZzZZcDVhNURyQitJLzZXYm5rOWYrSENESkJmV29STTRVckR4?= =?utf-8?B?OWZ1UE54QktTbVMrV290QTBCRmFxVzQ1Qk9IRVlYU2lJMkZ4K3pmY0FrWW4w?= =?utf-8?B?bUlwNUlKZ3VLYzVEVmVuMUtDWk1MajYxeFdTWlZhWlE5ZCtZTkJaU2NhUFVZ?= =?utf-8?B?NitnN2xpbGkxbmRtVjJSVlRFM2w5V0xIODlOVGhQTWtlRFV5RTRTUEg5OWZO?= =?utf-8?B?YXFjaUpVdTNWTE9DNjlKSFYxUCtzQmZ5V2ZtS0FHTVZQK1lxc3M4NTFnK1ZK?= =?utf-8?B?ei9WRys0bUhBaGVEQjJvMmFYSy9lYUYxSzA5a1cxNWFlOUJFaEhMQXRVelhx?= =?utf-8?B?V2FsaU94VUx1Wk1Lb1JhWjlwZkVteUZzQ0QwVWYvQ1BFMEx6c3h6cGlQYzlq?= =?utf-8?B?bGFqNVJBeUNjRG1FS3J5MUZSeG54VTFHMkdPM1Bjb29STjY3MUIvVnFUTzZj?= =?utf-8?B?cWZVZHp2Skg3YVF1Z3hYaENFSTFBZmc1QjNWTG04eWgySlVLNjNoQWgrU01k?= =?utf-8?B?NmIwMEY1Z3lUM0I2bjBCRUQweDNRbEFaMlcwemt1YXBaT000amUra2RHTWQw?= =?utf-8?B?TjBiUGtJZDNyWTM3eXNESTFQa3ZBNWNicXBybGRwS1dBYlkyWStYRktxTm1u?= =?utf-8?Q?aoPyFeWItjB2VYLsnc3GXsIcn?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0SPRMB0086.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f9a03c1-a781-44fd-23a7-08db7401670e X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2023 15:49:17.5274 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BcFSpYmlzZHUVipgvVVXYWHVJJsX4SlHnqqYPlrpjGjV2mEcYt5C/d7IN4N9EKg5+9ddJuxdz0lVN/ayJ66gNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7785 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 T24gRnJpLCAyMDIzLTA2LTIzIGF0IDAxOjA3ICswMjAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IE9uIFRodSwgSnVuIDIyIDIwMjMgYXQgMTY6MjcsIFRob21hcyBHbGVpeG5lciB3cm90ZToN Cj4gPiBPbiBGcmksIEp1biAxNiAyMDIzIGF0IDE1OjE4LCBGZW5nIFRhbmcgd3JvdGU6DQo+ID4g U28gc29tZXRoaW5nIGxpa2UgdGhlIGJlbG93IHNob3VsZCBqdXN0IHdvcmsuDQo+IA0KPiBXZWxs IGl0IHdvcmtzIGluIHByaW5jaXBsZSwgYnV0IGRvZXMgbm90IHRha2UgYW55IG9mIHRoZSBjb21t YW5kIGxpbmUNCj4gcGFyYW1ldGVycyB3aGljaCBsaW1pdCBucl9wb3NzaWJsZSBDUFVz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