Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1477264rwb; Wed, 26 Jul 2023 13:09:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlHBQeF2s4lQWMU77Z2nu/2XVciMO3SjF8wUxsK2IKwpfAiQlI8kduA4dS3K9j/OBcrspgXE X-Received: by 2002:a17:903:50e:b0:1b8:50ae:557 with SMTP id jn14-20020a170903050e00b001b850ae0557mr2186002plb.36.1690402190989; Wed, 26 Jul 2023 13:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690402190; cv=none; d=google.com; s=arc-20160816; b=kpFqajoGNx5d3v3aoOCaYwWDbW+6Qj0Dans1vtXjOJpdIRiYR30NR9zj5SwPJwk49K Gw53boRqJ/79uXaPwQ9klkWLxUq/w3gXMwu5RP/YNqDuJN7iz7sS4iLMXTldINPOxhhg Vlqm3BNM/JhBS+Q12jU41ymTJiG+hQ6SPbgSVj1KPlrlRn0+/iKWsV7DDsoDlIjsX7gL rY1ULSQ7aHevrmvxRE7gPGTbePBtBRrrUGqfDVecYALWCRZ92F/1I3CDEmvNkGoXCV83 adwnT4bTa4UMpyxrdB82foPdTq89NAQ7IhUzb/aSFRnL3pl8FKhjzArHTzXbJpHPpQn/ VIhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=IJzZzid0M6tqJXFCxxcxkARxu6y0Ijf8cxu9iI9KQ6g=; fh=Dk/9XIOd317cNKaOVy/x+vdlifbFU+jtOzs/zPedEl8=; b=OQ7hJDheVd7ISefFDSUW7svQ6kNgADVOmzkgztQSGiEZAVAscsOYiBdTba1J1GfMEB Wp+QGf3ll4LqI6G3PweIB9lL5LXYnmlkuqflVboxoZ8CzuHtz0NJrUxDlppcldgI2Mpc /+ZB15qt0OZtV/OCkthfA/rUlPwAxkVy9sEdNKOHSAkHTe/2dtVqjt6A8KrFKvv56uZW Q/sAFiO0VmwFTrv1dS8q9mMnkFPk11LaY9Qz5pyfj/QEAKBgRIgcDbuqx8mks4HdsC/V UCZkFY97WWOwnvXoufYPC1o+eCRRqSe6xLvICxZ2aY+FQD0hJeQ/g0+CfbBRVQkQY9tR aTOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pFucqBTA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a170902c40700b001b3d6d125f9si14200151plk.524.2023.07.26.13.09.38; Wed, 26 Jul 2023 13:09:50 -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=@linutronix.de header.s=2020 header.b=pFucqBTA; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231176AbjGZThW (ORCPT + 99 others); Wed, 26 Jul 2023 15:37:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjGZThV (ORCPT ); Wed, 26 Jul 2023 15:37:21 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1454D19BF for ; Wed, 26 Jul 2023 12:37:20 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690400237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IJzZzid0M6tqJXFCxxcxkARxu6y0Ijf8cxu9iI9KQ6g=; b=pFucqBTAkwxYGMvtmtdOynvU/sgwqsMEY/NCqMI7pzd4Sll3GfQhG5sTvZNft3McxA0C+2 3a4ANeVftSU9s8TunGzlq+2BUtMrlE3Jhs5QzshC83AP2Q3tKPaGbgRwOYehBNRUbkPV6c tlJZmPhRRCXqB8dJVhvHO82yGE1PjWatywNxeDWxXUuIjbEQrc3AyHMfdis6We0+qLrACC ydBpEOmcuOiaQqXByf2IXpBjdm2HD9cj40OJUJ4ZFpgn506wI7jznhqeyYb2prKlWo6d4f FfrLW2A9FNiLRuU677C1GqH8y/0nYJUhXwbOwQ95EEHU2H6K6i5sBaLWZifOqw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690400237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IJzZzid0M6tqJXFCxxcxkARxu6y0Ijf8cxu9iI9KQ6g=; b=+wg/aTKN084r/ajc1hY4RJat7h7CPzgmGWYbzcrUrh02U3vFZmz6TafpsVkCiKINykuZAu vjHOW3AS85+jUeCQ== To: Feng Tang Cc: Peter Zijlstra , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , David Woodhouse , "Paul E . McKenney" , x86@kernel.org, linux-kernel@vger.kernel.org, rui.zhang@intel.com, tim.c.chen@intel.com Subject: Re: [Patch v2 2/2] x86/tsc: use logical_packages as a better estimation of socket numbers In-Reply-To: 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> <87r0px40o5.ffs@tglx> Date: Wed, 26 Jul 2023 21:37:17 +0200 Message-ID: <87pm4esbv6.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 On Mon, Jul 17 2023 at 21:38, Feng Tang wrote: > On Thu, Jun 29, 2023 at 09:27:10PM +0800, Feng Tang wrote: > > I plan to put these together and resend. Can I use your Signed-off-by > for your code? No. I'm reworking the topology code at large scale and this temporary hack is just in the way. Give me a couple of days to polish it up for posting. That will just provide the correct information out of the box. Thanks, tglx