From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3129FC83012 for ; Wed, 2 Dec 2020 09:57:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F97D206C0 for ; Wed, 2 Dec 2020 09:57:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F97D206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=v4/rKr5lVFLcUcNV2hIYEzD7TJA4iCu709+e+GXyvHI=; b=wBuDFlqfLTxiINHMpPNIMJkUF eaLE9a1KZGkb9/JHrPeYkxWvAkqvRLtgNDh963CPCtyRVi5eSl4jKTlL3oB7pkVtsfC67pYZaw/X4 9sVJTx+LjiaKyVEZPWoSjHILyKSdvf2WwVP5tvt6s4zWVtKnJyLw9oVAB/iXbFB9lgIh04PcgOP/7 dJnMQyF4F5ja4W0CR34sqXZHabmZigHPjhWTrlVf8Ka5HzSJECSJ/W2wBAUi0l+cXoPEgwTSKvPoE akQac58KNoISkx5FuPqCI/qBWXyJ/74TER/WKhxe8f56x/qxQim1UTMsFqS06JniB/65ukeze008k VoRvKL4Mg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkOrv-0006VO-MW; Wed, 02 Dec 2020 09:56:15 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkOrs-0006Un-RH for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 09:56:13 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4682730E; Wed, 2 Dec 2020 01:56:07 -0800 (PST) Received: from bogus (unknown [10.57.62.173]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C2A93F66B; Wed, 2 Dec 2020 01:56:02 -0800 (PST) Date: Wed, 2 Dec 2020 09:55:56 +0000 From: Sudeep Holla To: Barry Song Subject: Re: [RFC PATCH v2 1/2] topology: Represent clusters of CPUs within a die. Message-ID: <20201202095556.cke6caza2hpw3cmn@bogus> References: <20201201025944.18260-1-song.bao.hua@hisilicon.com> <20201201025944.18260-2-song.bao.hua@hisilicon.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_045612_970144_25BFC17C X-CRM114-Status: GOOD ( 16.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: juri.lelli@redhat.com, mark.rutland@arm.com, peterz@infradead.org, catalin.marinas@arm.com, linuxarm@huawei.com, bsegall@google.com, xuwei5@huawei.com, will@kernel.org, vincent.guittot@linaro.org, linux-acpi@vger.kernel.org, mingo@redhat.com, mgorman@suse.de, Valentin Schneider , lenb@kernel.org, rostedt@goodmis.org, prime.zeng@hisilicon.com, Jonathan.Cameron@huawei.com, dietmar.eggemann@arm.com, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, Sudeep Holla Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Dec 01, 2020 at 04:03:46PM +0000, Valentin Schneider wrote: > > On 01/12/20 02:59, Barry Song wrote: > > Currently the ID provided is the offset of the Processor > > Hierarchy Nodes Structure within PPTT. Whilst this is unique > > it is not terribly elegant so alternative suggestions welcome. > > I had already mentioned that you need to fix the firmware/PPTT on your platform. If you fill only mandatory fields, then yes this is optional and we resort to use offset as unique number in the kernel. > > Skimming through the spec, this sounds like something the ID structure > (Type 2) could be used for. However in v1 Jonathan and Sudeep talked about > UID's / DSDT, any news on that? > FYI, type 2 is for SoC identification which is being deprecated(still need to check if that progressed and made to the official release yet) in favour of Arm SMCCC v1.2 SOC_ID. Anyways it is irrelevant in this context. They need to use UIDs and mark the corresponding flag as valid for OSPM/kernel to use it. > > Note that arm64 / ACPI does not provide any means of identifying > > a die level in the topology but that may be unrelate to the cluster > > level. > > May need spec extension if there are no ways to identify the same. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel