Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3230148rdb; Wed, 13 Sep 2023 06:15:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBJ9lXRSZcR5RM5XuAFOVZJMHHAqV7/wK/vTLPecMVQwSVkeDAfVilO39bb5QLbBFFmI6I X-Received: by 2002:a05:6a20:e109:b0:152:be08:b013 with SMTP id kr9-20020a056a20e10900b00152be08b013mr2800642pzb.42.1694610919817; Wed, 13 Sep 2023 06:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694610919; cv=none; d=google.com; s=arc-20160816; b=GiOSyREZmHaFcKKMKaOlQZNEKiwtF7QrezPZf8cWZB38yOxeeisShtl545lOiK/rSO 85zlxytDLSxO7u5rJI0yZvpXPpq3wnx6iyIlJb5T10wi1i40wYNKXqt3WtlH5swy73E+ vENmlRmeo1f8CCAPk9ZDbRFToq33icUSPX7EHmVP33+KpTgQLm4ho0iE61gm+uCYDHbo kFDkqitqplBNSBMV+K3mId4qnzCCi/BCuFDNYuxlwMH9lHYpI38Mx9gjGbChmUf23BhQ bxSfbvI+QiuiwbN8HlGRYiy1LHMH7rp/1FQ9qbrUUh3+FI3xigkEVK/BqmZZMFsUSv3x lxjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=F5VHQYWU2V4YQt0Y2EUTYE2aTY8PoDw1Moh2iUAXDy4=; fh=Zxj7la/nz2VBgsee9/nebu6N29vN/aKyZC/8u2A8lFc=; b=p+lAEjRZMZxlU5fkaK73m3/YXyV4UxxtyMeMGveaKVCu+4nWxZmpurmC7pmers7Ygl /3XipTZnqZKKyYvdBtE4RehSBnyFXvRzzP3dwr5Dsx98jZYVT61DGUSDGzjjzD9Boh2s OALf2aFQLUlZxe3Bnv3SAS8bJtieHJHf2/48pKquv1oiWudXGUMhrGJkzGwwWbrnfXYr qH1hgaK2/oiNkmvrCFbbpXhCMhVxJ4FA56CzeFCHDZW8LMyNHG9lINAbaF45fR70XusB 5KAhiK6Skyq8L7y+YCXNggVli5dLXNMGPU/d9UkLqSLKaVYSDS8psedXFfmfPU8VWav5 4uGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id dw18-20020a056a00369200b0068fda2a6372si4225063pfb.364.2023.09.13.06.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 06:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id F275F80CD70E; Wed, 13 Sep 2023 06:12:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240961AbjIMNMG (ORCPT + 99 others); Wed, 13 Sep 2023 09:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240962AbjIMNLy (ORCPT ); Wed, 13 Sep 2023 09:11:54 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFF6326AA for ; Wed, 13 Sep 2023 06:11:39 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Rm11t0dbbz6D99p; Wed, 13 Sep 2023 21:06:58 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 13 Sep 2023 14:11:37 +0100 Date: Wed, 13 Sep 2023 14:11:36 +0100 From: Jonathan Cameron To: Jinhui Guo , CC: , , , , Subject: Re: [PATCH] arm64: cpufeature: Expose the real mpidr value to EL0 Message-ID: <20230913141136.00006a47@Huawei.com> In-Reply-To: <20230913105133.2902-1-guojinhui.liam@bytedance.com> References: <20230912115116.000049b0@Huawei.com> <20230913105133.2902-1-guojinhui.liam@bytedance.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500005.china.huawei.com (7.191.163.240) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 06:12:26 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On Wed, 13 Sep 2023 18:51:33 +0800 Jinhui Guo wrote: > > As a follow up question, is there some information that is missing from > > current topology description? (there is lots missing but I'm curious > > as to what might matter for your use case!) > > We want to know the infomation about dies to advoid memroy accessing > across dies (some settings like 2 numa per die). The NUMA access characteristics should give you the info you want - it's the variation in latency and bandwidth between dies that matters, not that they are dies. If you got really bad access characteristics across a die that info would be equally useful. I think it is not that this is a die that matters, but rather that there are groups of Numa nodes with relatively small differences in access characteristics, then others with much larger variation (and I assume a layer above that which is inter socket which is even worse). The info is in HMAT, but the kernel presentation of HMAT is rather limited currently - so you may want to look at extending what is visible in sysfs from that table. Thanks, Jonathan > > thanks, > > Jinhui Guo >