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 7C0D0C433B4 for ; Thu, 15 Apr 2021 18:11:50 +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 266276105A for ; Thu, 15 Apr 2021 18:11:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 266276105A 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=36yWcp9DuSFd1ub08rltTh83ZOuyPpIBWUNxjAib9YM=; b=GJ2LR8RG/xn+IX0mUg+3omgJz Tz5aOQiE87UGwL8vCKfDfglJHUJEH3sGjZAzAcze/FuDfb3HuGAEA+YcuC5VJSFvuhhcXvvepmHcF H/j8VsNiRzCwtijrf8w+gcfVvRPX44U/JOguapp/95SnLJknTn0Xkac2g6iNlCcmup2KnHD9TAJM6 C4LXLBE34pCtFOvAMYqYezMbNnvtqFvqWg4sjp+Go40bvcVlp1RVAP2VhTg0TmMZ5HBNbAEvPAtTr 7EgGtTsy6GgmfsRe9LNuI5KK6SeMC2svmi8MSRmJSFdh63duCRD7GnesFnd+2vV/BqZBOcFVqE+At 8d4Iqkr5g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX6RL-00Gwif-0S; Thu, 15 Apr 2021 18:10:07 +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 1lX6R5-00Gwfg-VR for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 18:09:52 +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=iNKvCCwXnGzCJbPTq9ze+oQ8K1Qmwb/EH4WMn+DxIK0=; b=vS/SALTrOO0pNOrT/JHwFGJNFZ 325/HxgvTdzJnW1ylI5srNXilsH6vGk1mePaTye0jf6VjkHbK9LWkehON30eEwOU0euuT08EdCqAv /0nwSB+BkaoN4Cwr1e97r3DjuX68TXNj2PotBNit2TzMh//kJmwUnouv3wuh9YK0Sb84pNmTx1IFb BtFpvG12Z7wHRQqYuLjhd/k1/3J8ddqrY58mIA9gSZTSy8d/I2gcMBx5bwl/buDoRP5IBZ5HTm0zt aASa/lgBFyZvEIiXFgmWFJQDCWkZpwtCR/GckHn8BRGn6L2Ys8Od4oQnr4/jeUe4Hk3eVfX9oIuaX TEsKDR9A==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX6R3-008nj0-Gx for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 18:09:50 +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 1FAA712FC; Thu, 15 Apr 2021 11:09: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 885863FA45; Thu, 15 Apr 2021 11:09:43 -0700 (PDT) From: Valentin Schneider To: Ruifeng Zhang , linux@armlinux.org.uk, sudeep.holla@arm.com, gregkh@linuxfoundation.org, rafael@kernel.org, a.p.zijlstra@chello.nl, dietmar.eggemann@arm.com, mingo@kernel.org, ruifeng.zhang1@unisoc.com, nianfu.bai@unisoc.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] arm: topology: parse the topology from the dt In-Reply-To: <20210414122326.5255-2-ruifeng.zhang0110@gmail.com> References: <20210414122326.5255-1-ruifeng.zhang0110@gmail.com> <20210414122326.5255-2-ruifeng.zhang0110@gmail.com> Date: Thu, 15 Apr 2021 19:09:41 +0100 Message-ID: <871rbbmnbu.mognet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_110949_624156_9D724B8A X-CRM114-Status: UNSURE ( 6.69 ) 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 14/04/21 20:23, Ruifeng Zhang wrote: > From: Ruifeng Zhang > > The arm topology still parse from the MPIDR, but it is incomplete. When > the armv8.2 or above cpu runs kernel in EL1 with aarch32 mode, it will > parse out the wrong topology. > Per my other email, isn't the problem that MPIDR can't be trusted to properly represent the topology, and thus a new method of describing the topology (cpu-map) has to be used? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel