Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp30144rwl; Wed, 9 Aug 2023 10:24:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEy3Xj9HiZx+S/4ZFMVrJRQxy7WGA5AkONq/M1qJVxXmn0On1vzU7L6dEag3DHl5JJjPgG7 X-Received: by 2002:a05:6358:3384:b0:134:c859:d32a with SMTP id i4-20020a056358338400b00134c859d32amr24211rwd.25.1691601866338; Wed, 09 Aug 2023 10:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691601866; cv=none; d=google.com; s=arc-20160816; b=votmpURCDsDF3z4GttxvBBXzbLpKsI06ah46q4YyuZcc6Y1TSQNAPLmw1tobmakJqJ pDGr86twdxlb0yeAHVzbKDZY1n6eAlFFihX4bKmz1bckbSSywMhPQmtfrZkPMmAaQeYN /aPJk2V+1/wAsylhrxYQ2p1d5PcbT21dkbOgzx58yrwOWLfcwOFAVrIa6R9xhjkbYr45 JDLOHcrys3KO13LLmle2IdNJseyf4dGmGtPy8k4Xg6Po3hPqQ3J1uIt1z9raSkQ011/n LM9pF1Ec8QSPq2DmMCQMqSwzGWiTA4KrQwfACx6+zqNEq7s0hY2H1eWI8noKRuevO/QQ GSXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=BRW0rcKQdNbF3Cl+1HVLpGEy7B9SEPuh/nC50+K7fd0=; fh=ZdJm9b7RSQc7qJvzyZNIyyKTOLVsRt7hjNxcNnNKOLc=; b=uNzLY481tSMO2ExM8Y3iK8GhWb6GPoUbwjqnbZ8s712asbdeAS/nMX0//dQFcxStq2 rTlwhgDWvChlK+KYUV8RXJ3o04msq4IPscO+uHZtxOSdGIqgBO7sqsPYT/N/e4H5Y9Ws 8URpmzc5IPD00dwKG7zKi82xtlyPOu8pMXqbUqpjzk6OBTWrzpRq7LZt5oijuHFwNM2l Tg9fLqB+mc085geoCo/r7ypf0aJVowXYCcRfjZUmJWjRroa056N/tn+dTfEX0jtfs6h2 sG+UknMrYCmDmzvRV/f1zEOm5oevSmbTDZwAcCg7hQoJ2rATP+HbP9ppfByQU1to0RS6 4V1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ONbe3D3j; 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 196-20020a6300cd000000b00563e747d75asi9620201pga.734.2023.08.09.10.23.52; Wed, 09 Aug 2023 10:24:26 -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=ONbe3D3j; 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 S231351AbjHIQwH (ORCPT + 99 others); Wed, 9 Aug 2023 12:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjHIQwG (ORCPT ); Wed, 9 Aug 2023 12:52:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3684A26A0 for ; Wed, 9 Aug 2023 09:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691599904; x=1723135904; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=aoFne1pAw3kXuSG8g/9ufy7FABQ/5KM6WvVu/TzXZ5A=; b=ONbe3D3jiQYs/d0juh8tPdQfHBcPEhHWBQiNW02gfRodhzrVqvC9Ui6q SljTMprvnN2WJeu/JuakqCOCKnTjm3LI4MCNg9ig1AKMEmYQoPLpwJ+1n 64t0OhaeULlWV9W9X9QD5BNq78qOUpBDwGB4CoQNMmZtWOu+b6ajHpm8W GinnlHAM5t0mnPYlQSV1VN1YBOuLdN7Ca8UUi8Oa9OIN0oumgdTvcGaxm 0eHQZ+qjVUU/UQyTNY5a/wse29Sv68NKTKSjPnfNQTK9tClNAnhFVeh55 i5H9gMHEzxhyGwsJKkA5AUttgLNV7K0nA7dMTuyIqJ0Gc6kfD28EjBw0R w==; X-IronPort-AV: E=McAfee;i="6600,9927,10797"; a="368633261" X-IronPort-AV: E=Sophos;i="6.01,159,1684825200"; d="scan'208";a="368633261" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 09:50:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.01,202,1684825200"; d="scan'208";a="875333111" Received: from qiuxu-clx.sh.intel.com ([10.239.53.109]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2023 09:50:33 -0700 From: Qiuxu Zhuo To: sohil.mehta@intel.com Cc: andrew.cooper3@citrix.com, andy@infradead.org, arjan@linux.intel.com, dimitri.sivanich@hpe.com, feng.tang@intel.com, jgross@suse.com, kan.liang@linux.intel.com, kprateek.nayak@amd.com, linux-kernel@vger.kernel.org, mikelley@microsoft.com, paulmck@kernel.org, peterz@infradead.org, ray.huang@amd.com, rui.zhang@intel.com, tglx@linutronix.de, thomas.lendacky@amd.com, x86@kernel.org, qiuxu.zhuo@intel.com Subject: Re: [patch 00/53] x86/topology: The final installment Date: Thu, 10 Aug 2023 00:50:19 +0800 Message-Id: <20230809165019.85611-1-qiuxu.zhuo@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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 Hi Sohil, > From: Sohil Mehta > ... > Subject: Re: [patch 00/53] x86/topology: The final installment > ... > Debugfs > ------- > # cat /sys/kernel/debug/x86/topo/cpus/39 > online: 1 > initial_apicid: 39 > apicid: 39 > ... Did you convert the output formats of 'initial_apicid' and 'apicid' from hexadecimal to decimal in your testing? It was really coincidental that if the output values were '39' in hexadecimal for the CPU '39' in decimal :-). I noticed they were represented in hexadecimal format in arch/x86/kernel/cpu/debugfs.c: seq_printf(m, "initial_apicid: %x\n", c->topo.initial_apicid); seq_printf(m, "apicid: %x\n", c->topo.apicid); Thanks! -Qiuxu