From patchwork Thu Jan 26 10:35:21 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: 48564 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp204358wrn; Thu, 26 Jan 2023 02:38:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXu1Q+6t4lalXA/8U4r7xVGNRdbeNoUcridlcYbEpYo+5QW8jgZUbr3Uaf8JouYQFFRhP44m X-Received: by 2002:a05:6402:1009:b0:479:8313:3008 with SMTP id c9-20020a056402100900b0047983133008mr35020494edu.0.1674729498613; Thu, 26 Jan 2023 02:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674729498; cv=none; d=google.com; s=arc-20160816; b=I8WxxPFChRlVHHqjcCunuBNTTjfjifWGVu/zbHXjiWM0FSIXx9rNrQETjeiKUfXZz3 QwZO4FFwPG7h3GU3vI/EROwngqSpPa8LWJqPgUzlfuK+bMgFgVbqbpWRHo/Hzk3rercw gkl93anGxMCNFRT0WZ217O4otxqdG4+Z7O9UEWTgtZvBgfZe6AMKSsNgafE2NPMiSQ2j pUtIAMCK+liu1UB3K88VD6MJPFQNN+zpMEwMgNsPdmksx+nyMDmS+Wc0nvxV2LvKudE1 YAGyiJxnLJPJOn0DuwAGpqmZ4/42nzMB/IehoG9Xfm19VxHN2N1J1bXOmRrmXK+JLF48 u2Gg== 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=oq9ZeEBJe3kRXlo/6/IjznWvVQskObsD2w8mpTfUG1E=; b=JzCYFajW30VTLD+OuJMDoUJ9bbM4tJVMJdSoF8Xfzj9PVkrBAEM/wp5GSbjwLtbZ77 zNwn/cIvsyD8S6QAiZ2TBZ+yFWG2XCih82JWN0GYRjDR2UwN2D8owl+SMeHtntmyjLoh H4nvs/mYj8F33fySYTr9L2bJ9T1Nvz6BTWgVuSh2AbDVJkWGge/eJ1lLFdHYBsUnU0ar xGzWd2T2DomWjPUKwKVhjTOz3QRcJgeezdAlWNbavjeFy0tVj07J5hgSF5CEuSDKEgNY bptijPsjPzYpZiPq08puL2tda/6U70SjIKWrr2P8rjTZ2LhBKYEei5lO+sO6Ez9TIaY7 6C+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WBmewUkJ; 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 dm20-20020a05640222d400b0049e3fcd693dsi1299883edb.489.2023.01.26.02.37.54; Thu, 26 Jan 2023 02:38:18 -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=WBmewUkJ; 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 S236622AbjAZKfi (ORCPT + 99 others); Thu, 26 Jan 2023 05:35:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236431AbjAZKfh (ORCPT ); Thu, 26 Jan 2023 05:35:37 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9AA153B38; Thu, 26 Jan 2023 02:35:35 -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 CE3086602E69; Thu, 26 Jan 2023 10:35:33 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1674729334; bh=iKRWu1G6lRj82iCKcuPFgVRRJGOdOZ+wFl7EKyG3ooo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WBmewUkJe5wonIHRiTpTwd4y9LJFeNiqAIRlyHP0ntZd3YdC9VuAR4IWXrnCi5j6O bVj76/T7a4Mvh4jI3IHgOXufyAPmv1JhOd1wOXW46ObYVRwnp5ULe49E51NDG2vAXs RoI4Do0lmXPc5o7ngrW1HkNemIZzSBhStzqhh5U8w/ti2mscnMobiokVo+yQBe4UB1 kgdoW1GG5Gq39tRfG3/3T57TtAmr3f4Y/66k025ngMKJS+HDXPBQVoBp1qUq8hXiOk dANmYtFKfSL3Upae90DEf0qATiImCLsraUIEv4/y87LfFMI2wikuI2CRB/zHF5RKES dgJQtDozy246A== 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 1/6] arm64: dts: mt8195: Fix CPU map for single-cluster SoC Date: Thu, 26 Jan 2023 11:35:21 +0100 Message-Id: <20230126103526.417039-2-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?1756081158680954881?= X-GMAIL-MSGID: =?utf-8?q?1756081158680954881?= MT8195 features the ARM DynamIQ technology and combines both four Cortex-A78 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster: fix the CPU map to reflect that. Signed-off-by: AngeloGioacchino Del Regno Fixes: 37f2582883be ("arm64: dts: Add mediatek SoC mt8195 and evaluation board") --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 926325935777..f04f836d9a72 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -199,22 +199,20 @@ core2 { core3 { cpu = <&cpu3>; }; - }; - cluster1 { - core0 { + core4 { cpu = <&cpu4>; }; - core1 { + core5 { cpu = <&cpu5>; }; - core2 { + core6 { cpu = <&cpu6>; }; - core3 { + core7 { cpu = <&cpu7>; }; };