From patchwork Thu Jan 26 10:35:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 48566 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp204609wrn; Thu, 26 Jan 2023 02:39:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXt9z7aSTqQNDsqtln1N0/nbqeHGKs2X8aOEi53//0iu6g5HnIiM3OWSadNGFoyCo7ghMk1h X-Received: by 2002:a17:907:8a1d:b0:84d:3822:2fc7 with SMTP id sc29-20020a1709078a1d00b0084d38222fc7mr48675137ejc.77.1674729559557; Thu, 26 Jan 2023 02:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674729559; cv=none; d=google.com; s=arc-20160816; b=QXA+xLKyrFnsnbhlGKaAE/LO+qweXdmGcOFV2VEfU2Jbua87rczykt9z2kVu3bLMNU ubmK1hvfpPQpksa0bwLGjaX6UgfhEz8+jparwc1UP7fvRsNVqwtsfzW0FjkAyRCBQsrU 1ex3GbxvAVx5mY3RXTaHe/R15U43+gkWh3+l89Dv7Pzk/gG4UrnfpomOPD8PTKwitrM6 TzeE3osRDij2x74bMuzG7lFkRWkvtnToXQgKu27lV6U52iGg49S+bOFopSI0ByzhVXem PKUvdNXPkDAQ3/54E/+7pIoa3ZtY0WI6IDm8bEzGyiof+v1sFCZxV/zTLmHe7Pn+BvKd MpQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CdMhwvhhDbBYQI9iPyyHxhBBR1u18WorVVYVl8Rrz88=; b=kD/TzC27fVIC9IaJdUHgkPpf5+LwBKfxj5FnzlefNhHfZRDSes58oh0ESV+IBaLzdE 0xE6p0MPHpLViLPjKdyHrTUvIbnueHRjOmgfLT6EAPUC+L23nWYq2N2w5T9goRkFAxa/ 6MQnfwys4Ojznbn+0T/Kjvc2l5xII+AwLio3n/ckQlgzQ4vWK/fEsObZ74fW5o5HggCZ 2DEjDZZSAzM+rEpitwp8ayxnNNaFhubjn+kVbCG/q5urofOUfBYlFAE20Y6KfUsH91zS pxchrEpUvB7c3G9HDs4l0WPZGNlHSofR5CVPV2bs1wGNT1O5GeTOzlLZPX77BfCyFcpd V9mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Y6f19OUr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 10-20020a170906028a00b00866e6cae111si1057817ejf.18.2023.01.26.02.38.55; Thu, 26 Jan 2023 02:39:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Y6f19OUr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236821AbjAZKfp (ORCPT + 99 others); Thu, 26 Jan 2023 05:35:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236636AbjAZKfi (ORCPT ); Thu, 26 Jan 2023 05:35:38 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DF1C5619C; Thu, 26 Jan 2023 02:35:37 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4A5856602E6B; Thu, 26 Jan 2023 10:35:35 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1674729335; bh=EMl5yatPQKhtWM2fU3fhn8R0Jnt0BN2gaE4N11T994Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y6f19OUrNeNzCjr6L+ZBaC4DyPgc+JYOsCxmwcQOLpd9vW6TCon7lYhjV6Zw/dHvA NXl/DKKPev3eeQaRUrLg4e3pKPqnIPiLkaihZhPi4YCeXB5vFzCOlbirFICVQkLFvH AUfnFIaWTar0j0B8ZShrBx2k3RrMOoQmtmtfuAstwkSyTeUGamZjdsXfPx74vUDpuz ebk56daRyTxwQGtR73T07iQageU+SxG3GZpuRHfOIFWXvua4dnkrcgdQC8yeK54dGY vYk8pgVJ5NSLlpwPOfts1xAnmHNAO5A3Jxy5QnudA19ZDNLf8C1L6OQfMWEqiFNNh9 UjJfElFU7zuSw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, seiya.wang@mediatek.com, tinghan.shen@mediatek.com, allen-kh.cheng@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH 3/6] arm64: dts: mt8186: Fix CPU map for single-cluster SoC Date: Thu, 26 Jan 2023 11:35:23 +0100 Message-Id: <20230126103526.417039-4-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230126103526.417039-1-angelogioacchino.delregno@collabora.com> References: <20230126103526.417039-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756081222630728284?= X-GMAIL-MSGID: =?utf-8?q?1756081222630728284?= MT8186 features the ARM DynamIQ technology and combines both two Cortex-A76 (big) and six Cortex-A55 (LITTLE) CPUs in one cluster: fix the CPU map to reflect that. Signed-off-by: AngeloGioacchino Del Regno Fixes: 2e78620b1350 ("arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile") --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index c9124bb0c960..9e8daaa044dc 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -48,14 +48,12 @@ core4 { core5 { cpu = <&cpu5>; }; - }; - cluster1 { - core0 { + core6 { cpu = <&cpu6>; }; - core1 { + core7 { cpu = <&cpu7>; }; };