Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5126777yba; Mon, 13 May 2019 05:56:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVDEJ5h+8wH7PYekfSpy2PtSG+tCsBTxEHk3GDaGW42CuvLt3fwoZHqbvdwzpL7PaDEsv0 X-Received: by 2002:a63:1048:: with SMTP id 8mr30648425pgq.70.1557752213830; Mon, 13 May 2019 05:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557752213; cv=none; d=google.com; s=arc-20160816; b=fZOV06fItCf5jdm+Bvh+8xua8n5mMpKxTlINjfoaEvZ3c6XlK9Uu7rxKKENcORqCzp yUJfiEZrtJmWr2yWY+2m1r0wFwIEZX8OBvu24CvZhxPr3hn62kgLuDX7CQe5iHutDifA Z5y1pM2kqmz6bf8hmzcvWfJHd36pIlqpw+ESL3iUX6jMpunIVQqw0yLmVIPV8S5c3ZaZ SknfpRSc2RQWI+xqxZLCDo6yvjniOQ47lQxIz12ffVYWeTjvACe6spGYdsf5VVoxsgiQ Q1i6nvrWtFhiHnB7nEeFgdqcO1Km3Vzwe6tzYr/MRQ6OBNsEGpVV1ZumDIZOu3m617f5 nwtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3laysTfG58br9ekvMftLCflS2bw8W4QgtgThoJczg/k=; b=w0IZ/O4xdsgJ+55n6oBrZIOQBe+rFwc20S9t5F3LQEQCwCUz300Qd4lMdWv3DLvgCf 9LrSGSDOlKOEe0tN4jVFwoY/XdExuJUulST7oa8bEayg5RQnc4Mde6/CcOd5OuQXEUn/ 3n5uzrAGnpqqtxQv4A/cOIzL9yr03sothuE4MQwDJQymvCkJPBwMit0H0xhVx0Qec69J K/eJtzTGy1vK6Ew3KebdDM6wpd6RDj9Pwh9J8zXwmgDQ0MnXTeApsNKXhIihhXvWfDy/ TEJQmJIw8JjcCt3rlQzIVmlS+v04/lYXz4jJYhSF/KH2qFqDuWMuRxKpuMt8V6/6uhUW 15Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OhBo05KG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si17064895pgg.357.2019.05.13.05.56.37; Mon, 13 May 2019 05:56:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OhBo05KG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728727AbfEMLBd (ORCPT + 99 others); Mon, 13 May 2019 07:01:33 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:38135 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727838AbfEMLBc (ORCPT ); Mon, 13 May 2019 07:01:32 -0400 Received: by mail-vs1-f67.google.com with SMTP id v9so7725973vse.5 for ; Mon, 13 May 2019 04:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3laysTfG58br9ekvMftLCflS2bw8W4QgtgThoJczg/k=; b=OhBo05KGmUf9v7pWQWG2ym5VzciK3m8PAY7OCLMPlu6ajuOvl8hsdIR4ktGO+tfwZl PjR20rgtE7om7EPFacQai80QmP6uZk5pby1EEaVmUXxjTt6Mz7+zzZ5iu8wW80qi5I9o foT1oVXlmX9+sq/K74dm7TbFBOxgihNI3wwntlPd2t+8D5fEEMzj8h4LAzIy4n4C8WpB Pkk6j/6qoX6yN6HEH/HV3Gq8tAJFDAHkw8W4a4a5qBsCHltyw120WKfvXocYBD+axxPZ o6qfEGMerK6xUutpokiJ7Us7JSqUb3okCaB091vvHdYlJhe5MA/L98Zis5GlgN21VfPC wEMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3laysTfG58br9ekvMftLCflS2bw8W4QgtgThoJczg/k=; b=q58vm2rjd8JOkJEbL6WqYQzklfRimXXlvsWgNaiYP0EjBKV9lu/lglI1KVeYA2TgZf pZG5wZDGbh+YY2H9L5eGa/OZFraLoNcurW130qgwNYCC+9C+fI0CSeN3h6j6ja3UjCyi Ot2Sjb4JJ+iN61jULy5AwUEn0176BK6b62ZuPqwds9hewbnEtwqveu9o8fCsSdVAQo09 qiD7X5iIQ/bupaYeZZUepD9YK/QSKOMIjM8jTszNi5MLE2VjsBxXgjAnK2qSgMZV4Oev G4utagmdaONRrLR7JFSATKQJOtzfwk4rL4SW8z473h0J1H8ICSpS7X0vgWj/DyYiJe0o PsDQ== X-Gm-Message-State: APjAAAXwSmksrkQYFYFIy/x52j3uTuxa6g5pCVQe/O24kJ52NUq5pi0N MaJq+Z6/xY9V3MJEunWauYj/y5ETbA+6/vf5nJhjEg== X-Received: by 2002:a67:f48b:: with SMTP id o11mr4801333vsn.9.1557745291516; Mon, 13 May 2019 04:01:31 -0700 (PDT) MIME-Version: 1.0 References: <20190114184255.258318-1-mka@chromium.org> In-Reply-To: <20190114184255.258318-1-mka@chromium.org> From: Amit Kucheria Date: Mon, 13 May 2019 16:31:20 +0530 Message-ID: Subject: Re: [PATCH] arm64: dts: sdm845: Add CPU topology To: Matthias Kaehlcke Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Douglas Anderson , Rajendra Nayak Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 12:13 AM Matthias Kaehlcke wrote: > > The 8 CPU cores of the SDM845 are organized in two clusters of 4 big > ("gold") and 4 little ("silver") cores. Add a cpu-map node to the DT > that describes this topology. This is partly true. There are two groups of gold and silver cores, but AFAICT they are in a single cluster, not two separate ones. SDM845 is one of the early examples of ARM's Dynamiq architecture. > Signed-off-by: Matthias Kaehlcke I noticed that this patch sneaked through for this merge window but perhaps we can whip up a quick fix for -rc2? > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 38 ++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index c27cbd3bcb0a6..f6c0d87e663f3 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -192,6 +192,44 @@ > next-level-cache = <&L3_0>; > }; > }; > + > + cpu-map { > + cluster0 { > + core0 { > + cpu = <&CPU0>; > + }; > + > + core1 { > + cpu = <&CPU1>; > + }; > + > + core2 { > + cpu = <&CPU2>; > + }; > + > + core3 { > + cpu = <&CPU3>; > + }; > + }; > + > + cluster1 { This shouldn't exist. > + core0 { Rename to core4, 5, etc... > + cpu = <&CPU4>; > + }; > + > + core1 { > + cpu = <&CPU5>; > + }; > + > + core2 { > + cpu = <&CPU6>; > + }; > + > + core3 { > + cpu = <&CPU7>; > + }; > + }; > + }; > }; > > pmu { > -- > 2.20.1.97.g81188d93c3-goog >