From patchwork Mon Sep 9 11:14:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13796982 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8DE22ECE579 for ; Mon, 9 Sep 2024 12:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KFcYjNN1qXzDlnBkl6i0qfOJ7Ms9qe82BWNfSpUlHsY=; b=jI6QRldwMaWzUIa+gGqWC0Px7o fOtNFi2muUTR3Nq6zKCNn+e1cbWwmiT/asGdZGtwZRR5r6WZmGciSissERudbxZo8x5tCV6b2wuu9 2xKVWoV0JIkW1aYQB9p01D7HPnJq5+2YDxtIp+CDe2nVqDQj+R003Hn11uwtZaqR/ZhH/2bBy7fRA xpCE+nArHioKNlCiXPFjWVv/qfC8cvu33o1NfLpMzEBYppr20Uk6eB/pY4mnj2ihOQxwkEXRgXO6I ywcnxI9cw5ENS4KoFA4bIbNyWAOSOErGrSOZPQM/HNu11Orlrq7RQTej1Dj0yHL7knqyd+iaGVD75 2SwFq9bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sndn4-00000001tq4-3kiS; Mon, 09 Sep 2024 12:46:46 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sncP4-00000001d9z-1R0T for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 11:17:55 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2055f630934so31436715ad.1 for ; Mon, 09 Sep 2024 04:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1725880673; x=1726485473; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KFcYjNN1qXzDlnBkl6i0qfOJ7Ms9qe82BWNfSpUlHsY=; b=iovYQ/B/0Sx9WIRkU05JPr3GgiBpwkW7pdEaOrzwHa+PMpS2vRGCqRclazyYoMTJ3o LSmxqaZDrfbo+J995ugwJauvBRMMyL3DZBYbdyCJS2R+Aq5N8B/E8s3Ovk4ZqtW1XK0B 0NxS1jIqJLzuhPzhVxpfYVZS/pDXyzatlxuLY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725880673; x=1726485473; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KFcYjNN1qXzDlnBkl6i0qfOJ7Ms9qe82BWNfSpUlHsY=; b=XRQ01NrJVKHz/0jXU7XOAmoI5IKILX5Mio3sqHuIh3naGjEe4ggSmzdO1SI1ZMW9EI m9HYT80rvq6XxUhu1H7DswoTclTC9Ryzs+yWSYDOB51vSeE7rQnmwJsxwxP8sFqLE6dM IFd2x0Eg9rsvEf1MuwDGNK0T16IKd5v0r6e20DTbMDKU8iaUa9F5sNHpg3k0XqeLphCz 9QE0Gsv5fTjdamQiyj7nrMd+ZfXqPGEgWeQ5P44CTNBvGE1L+NrBPbD4gIG97VyAcdlt OWQnB6M68xQaA0+AlP7cst5PC7HZte3iWWsthcu1wjYYXfF6yTOkCDh8gf6k4PXKbh5S /BeQ== X-Forwarded-Encrypted: i=1; AJvYcCVO+//5uhtfpD4rKG4XQ2FvBhsUd/i6bG8Xe6x/wZ43PpLRqPqWLCk/tzkldm6M+1pYH2bb0BpCDgZBc7Kai1jC@lists.infradead.org X-Gm-Message-State: AOJu0YyI5k7TeZJXFsASn+N0fQvmnfqIIrtwg2cGGketN9hliOzRcnAp npt4yzdFgmK5DC8omfJuu6Ve1tqo7SLU2QPnOzUeBrOe6+aEuVCKyBxiqYEEqA== X-Google-Smtp-Source: AGHT+IGW/m/QWYy+K8SbOWl6PqefCafd3OQvK1UrzaePRrUeDkDzlOR+CjxwO5NOu5/gsy/3FH/PBw== X-Received: by 2002:a17:903:22c4:b0:206:adc8:2dcb with SMTP id d9443c01a7336-2070a537840mr96366815ad.25.1725880673325; Mon, 09 Sep 2024 04:17:53 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:6647:6d5f:dd48:8f5c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20710f1dc55sm32039745ad.186.2024.09.09.04.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 04:17:52 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 02/13] arm64: dts: mediatek: mt8188: Specify CPU big core cluster Date: Mon, 9 Sep 2024 19:14:15 +0800 Message-ID: <20240909111535.528624-3-fshao@chromium.org> X-Mailer: git-send-email 2.46.0.469.g59c65b2a67-goog In-Reply-To: <20240909111535.528624-1-fshao@chromium.org> References: <20240909111535.528624-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_041754_394229_C1C906C1 X-CRM114-Status: GOOD ( 11.91 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MT8188 SoC features two CPU clusters: one with 6 little A55 cores, and the other with 2 big A78 cores. Update the CPU topology to reflect the actual hardware configurations. Signed-off-by: Fei Shao --- arch/arm64/boot/dts/mediatek/mt8188.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index cdd2fe14effa..788dfb5484bd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -203,12 +203,14 @@ core4 { core5 { cpu = <&cpu5>; }; + }; - core6 { + cluster1 { + core0 { cpu = <&cpu6>; }; - core7 { + core1 { cpu = <&cpu7>; }; };