Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3885058imu; Mon, 14 Jan 2019 10:44:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ReHAt8Fuvu8ZhRWzoS8EmUbLZ2P4VZs4os3ZQcYgk8AOJ774zi3PwYHeRNzcpFVB+unBl X-Received: by 2002:a17:902:d01:: with SMTP id 1mr27087287plu.127.1547491480507; Mon, 14 Jan 2019 10:44:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547491480; cv=none; d=google.com; s=arc-20160816; b=sNa+El8KeSdnNFbfr1q1MNuMRO/p4Aumzuxvb4/cXW4+GJe1NwltvU7oPiqmfXEov2 BtiAkq7T3EMgrFh3u2exP5SzJfpXZ558utUdz9TtltHeNN++1akUf+P9Kt8q2AVWN2Zq jgU76JNxeuwg8F5c+P6+JhQNqTlbKl4A7hmNCqiVdZO+lnpPnqx9LmesV5GIbdATL2zb fRHO75GdT90o86edkK5X3xXWPNdASGL5uRSU8Tu1FmGbNM0rmkgQDgtVFFQZoXl3LnVM Y/dqVjpSsESsDIq3Hp9jSS70cwipc/aBGviPlV+QPByX5c38/0zQBKODkq6zvF1PaANg pU8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=iEPj3gwfHL0lmQt8i9cpEJHC7YdOzae9+2BrYxoGEH8=; b=H2SG0uOYzWeN0tLToYHX0eLd0sgEI7UmDiB+ni3DP0meeuUcJmgbCvelVJSbWR/2Hs BDs3gOLknidrRQnQTKPt9Xesz1MvXd51mtOH0yAUL+6IgJuhXHDHzjEE2m6Djce0b7Pi Koju+e3SDDeZZSlkeJJnl9SYqirNTVD1XvHwuyNYCns7dLnq1x9DLv/2fxAKMbstqkP9 F+YMwdSxwKT5jh56Uh+Ww2i5Fgy7zJYSCnc4ua31nd8SE1MSim5ik/zXMXpYo1GOqifd P/X0WfG8p6heNt+Xy0gqNlNqSOIxxt0Nd86BAL9/QBZ+jB5jKr7EaiinZHCFi2zhj4PM ebtw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si836532plr.311.2019.01.14.10.44.24; Mon, 14 Jan 2019 10:44:40 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbfANSnN (ORCPT + 99 others); Mon, 14 Jan 2019 13:43:13 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33745 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726745AbfANSnN (ORCPT ); Mon, 14 Jan 2019 13:43:13 -0500 Received: by mail-pg1-f196.google.com with SMTP id z11so29977pgu.0 for ; Mon, 14 Jan 2019 10:43:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iEPj3gwfHL0lmQt8i9cpEJHC7YdOzae9+2BrYxoGEH8=; b=kxODf2BUPXe6qpbMT6sYczQw/BEcQQwJONNLhWorw3hAgE7k8P+WwucaxY3899hCwQ JgJQYF20asreFBqL+gopPExOAiIw3R+NQXcRLD/jFPu6y34CHGw1dqRvV6+llhoxPTrD EXr6gQDvdOBjGCrWQb1r0yHuZ3qtb1AVzX4UPiCDzJs2TE1MOmVTo/E+35k7h9WGOp/a w4fKgll26vrfSWAKflqo1Gvp/cT6JofR/LqhQbWN1xM7CE2WwXlDd7kH+aafoxfMEriA DlYDeHSv1MjsD/Xo3pRnn9ug9lo07pEThc/rnvwCC/50CunHixhpqQqLIuGrnf4td4ew Qavg== X-Gm-Message-State: AJcUuke+bCmZ+wulRW4/KF7Bx9sfUv25PBa+bN2TdfRXrGC18GzABWdu IfTxRYAuxdl2sLFiTs/ehCKAhw== X-Received: by 2002:aa7:8802:: with SMTP id c2mr19461747pfo.20.1547491392444; Mon, 14 Jan 2019 10:43:12 -0800 (PST) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id v191sm1197512pgb.77.2019.01.14.10.43.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 10:43:11 -0800 (PST) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Rajendra Nayak , Matthias Kaehlcke Subject: [PATCH] arm64: dts: sdm845: Add CPU topology Date: Mon, 14 Jan 2019 10:42:55 -0800 Message-Id: <20190114184255.258318-1-mka@chromium.org> X-Mailer: git-send-email 2.20.1.97.g81188d93c3-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Matthias Kaehlcke --- 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 { + core0 { + cpu = <&CPU4>; + }; + + core1 { + cpu = <&CPU5>; + }; + + core2 { + cpu = <&CPU6>; + }; + + core3 { + cpu = <&CPU7>; + }; + }; + }; }; pmu { -- 2.20.1.97.g81188d93c3-goog