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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 8B788C433ED for ; Fri, 16 Apr 2021 09:32:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71BE06115B for ; Fri, 16 Apr 2021 09:32:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241943AbhDPJdL (ORCPT ); Fri, 16 Apr 2021 05:33:11 -0400 Received: from foss.arm.com ([217.140.110.172]:37234 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239848AbhDPJdK (ORCPT ); Fri, 16 Apr 2021 05:33:10 -0400 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 D4A0F106F; Fri, 16 Apr 2021 02:32:45 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4ACA53FA35; Fri, 16 Apr 2021 02:32:44 -0700 (PDT) From: Valentin Schneider To: Ruifeng Zhang , Dietmar Eggemann Cc: linux@armlinux.org.uk, sudeep.holla@arm.com, Greg KH , "Rafael J. Wysocki" , a.p.zijlstra@chello.nl, mingo@kernel.org, ruifeng.zhang1@unisoc.com, nianfu.bai@unisoc.com, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v2 0/1] arm: topology: parse the topology from the dt In-Reply-To: References: <20210414122326.5255-1-ruifeng.zhang0110@gmail.com> <8735vrmnc7.mognet@arm.com> Date: Fri, 16 Apr 2021 10:32:35 +0100 Message-ID: <87wnt2lglo.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/04/21 15:47, Ruifeng Zhang wrote: > For more requirements, if all cores in one physical cluster, the > {aff2} of all cores are the same value. > i.e. the sc9863a, > core0: 0000000081000000 > core1: 0000000081000100 > core2: 0000000081000200 > core3: 0000000081000300 > core4: 0000000081000400 > core5: 0000000081000500 > core6: 0000000081000600 > core7: 0000000081000700 > > According to MPIDR all cores will parse to the one cluster, but it's > the big.LITTLE system, it's need two logic cluster for schedule or > cpufreq. > So I think it's better to add the logic of parse topology from DT. Ah, so it's a slightly different issue, but still one that requires a different means of specifying topology. 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=-3.8 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 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 4EC1BC433ED for ; Fri, 16 Apr 2021 09:49:39 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 17F4460238 for ; Fri, 16 Apr 2021 09:49:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17F4460238 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kORhDr1mzEyY3frn0OVC2lNP0zVsUqDYjRMUJ2J+8pE=; b=Rd7n4Wiv80NupUO+5/NKQ6HVd JnOFRr8VMyHENtQemf2syllMK//C3gyDDyhHVZOog3Oj9c+GfFslfc2boY08L2spfJ/RnCTafeGe2 IPgSYLQnPg/KJ+vCN5xz9SnNdxEXOgzZZDiFlMIsNV0o07ZTN8laOdq++zDb3VSz1iZi1FPCrbdJi pZ/IAqNzemmaNn/BRlV/seiyw7f39ua64YfvsgIG43nmag8UNH0nIp/Yp2WRiTmIsocLvCKx1O3uB 2RlZG+dqeSrSGojjcjiGq+CccdNuUuWmw260DfhcVy2R7XIaDPSSlkoKRkn4ZYknKxZxnHyoz0yu/ nO+FmkKNw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lXL4r-001bfM-TB; Fri, 16 Apr 2021 09:47:54 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lXKqN-001Ya5-3r for linux-arm-kernel@desiato.infradead.org; Fri, 16 Apr 2021 09:33:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=WyFXENV1QZuFBFXI9ebvpSQ/fNyAkUXFF1l5quiJP7Q=; b=qjtgNDnhS92JzFWli81+jWCTNh b1J/BRgtT+92Qdow8SfyvAzEcr5o2F3KHTdFK0wReajlE/cUZDkfC49yyD28CutH29idYcy00A75I QOP7RQLTdh7F8qTiki2GdZqHnlTlFY01gMnGlw5T4e2j5E7CsoXZC7gLPWsnaVHdvOyARLpKYP6D0 wsBCMcPtB+6pIQjunMYPPOzUA0zZ1/T1wqVzDec2Uq8iDIJs817JHatnoUlxxLl6fP71TXKolZocy RVck/nPXolNrbdVunuIBKZ0QkYCuqupKFsOT88d5uiSdFaEHaRV8Nb0j3eh3pCqwPfufm8SEf2eBa 0chtTiHw==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lXKqK-009FGe-Jd for linux-arm-kernel@lists.infradead.org; Fri, 16 Apr 2021 09:32:53 +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 D4A0F106F; Fri, 16 Apr 2021 02:32:45 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4ACA53FA35; Fri, 16 Apr 2021 02:32:44 -0700 (PDT) From: Valentin Schneider To: Ruifeng Zhang , Dietmar Eggemann Cc: linux@armlinux.org.uk, sudeep.holla@arm.com, Greg KH , "Rafael J. Wysocki" , a.p.zijlstra@chello.nl, mingo@kernel.org, ruifeng.zhang1@unisoc.com, nianfu.bai@unisoc.com, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v2 0/1] arm: topology: parse the topology from the dt In-Reply-To: References: <20210414122326.5255-1-ruifeng.zhang0110@gmail.com> <8735vrmnc7.mognet@arm.com> Date: Fri, 16 Apr 2021 10:32:35 +0100 Message-ID: <87wnt2lglo.mognet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210416_023252_717355_619D39E4 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 16/04/21 15:47, Ruifeng Zhang wrote: > For more requirements, if all cores in one physical cluster, the > {aff2} of all cores are the same value. > i.e. the sc9863a, > core0: 0000000081000000 > core1: 0000000081000100 > core2: 0000000081000200 > core3: 0000000081000300 > core4: 0000000081000400 > core5: 0000000081000500 > core6: 0000000081000600 > core7: 0000000081000700 > > According to MPIDR all cores will parse to the one cluster, but it's > the big.LITTLE system, it's need two logic cluster for schedule or > cpufreq. > So I think it's better to add the logic of parse topology from DT. Ah, so it's a slightly different issue, but still one that requires a different means of specifying topology. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel