Message ID | 20230329063728.14126-2-a-nandan@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp207642vqo; Tue, 28 Mar 2023 23:46:45 -0700 (PDT) X-Google-Smtp-Source: AKy350bs4N/dgEki3E0BP2M7YM8mcjCExoTk3oqAjs4goYFzEUMhjqtPI+j0DfpkVjT5CxipL2ol X-Received: by 2002:a50:ff15:0:b0:4c0:9bd7:54cc with SMTP id a21-20020a50ff15000000b004c09bd754ccmr17476831edu.11.1680072405086; Tue, 28 Mar 2023 23:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680072405; cv=none; d=google.com; s=arc-20160816; b=Hiimz31hl0TQDeyf3PUjy3GEVHTxeIKOmITVkgH3KLR4Kyso7Rk26yaubd1wUBu736 POwQYM1pNzNdZCT2eVRNSmAaBOz0Ps3n3dTzWeEiwCw21Si4FYiHpsDczuIQ5gbvFl25 AHcgHnSpBU4ihMZJYTPW7DPhf0geApcfvEXsSZL6VUwlHK3W+c2BC+sVTSTHmG8XnuXV 1QD4XILS2CMXRWant2LA3qa5qVz0Vk1BLRLq2ZiRewl9q8ELNvDqfNEp1xApqmNE1e2v lrmy1urmUFUVraKzkCmiV00A9iD4WxgqcgZQV/7ydUtO91PFY8MwTsJPL0uVsX9Jf6qN 9Dgw== 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=JyLLM6Q3tG+rSX3XvfgFZNSe6N13/0dr8WLmVSQa39o=; b=E7YFRRQgSD3r8dbLWDjHWXP8NuHZ6ampnNWsK8aEWAo1Ndq7blEskiYxHy+6ZApM81 l3bj8gTTSlMGuWGGh26tf0yBcaWJC8Nd+/Vl2IV004HY/q4xYBCi7jlVsYpZULAUYJE6 fdXtx+7BIaw9hRNsm3/3N8bY7JvU89UIpL71BmVlLOIC/xQwVIsXye3g13bJ+WWnV17d BqIWM21mFWazZPrsCD+zyAUuPwl2XkFnLYcIO+i1jsKSAsBo25qM4UOCAba4QzA6Wx3E DSf0mbFRwTZIudRQkPSTN12o0va3Q8WUyQr5RS9c7J731EDPuv1JN5pWVdVCoHn5aU+Z 0J/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GrB2jwqT; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a056402050c00b004fe9345386esi31850889edv.585.2023.03.28.23.46.21; Tue, 28 Mar 2023 23:46:45 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=GrB2jwqT; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbjC2Ghu (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Wed, 29 Mar 2023 02:37:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjC2Ghq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 29 Mar 2023 02:37:46 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1A22D48; Tue, 28 Mar 2023 23:37:45 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32T6bZRr102611; Wed, 29 Mar 2023 01:37:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680071855; bh=JyLLM6Q3tG+rSX3XvfgFZNSe6N13/0dr8WLmVSQa39o=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GrB2jwqToiROgSEw4Jt5KQp8s5ObMOS7Bm7KWmj8OXJG+wyg61TVCk8ROypNXy/EZ Pp01Qr1wdmlr56GQj1xjqWiWgTq+U4/5ma8EbVQDYUbbiQSYsyH3Prop2fBX++xRUM pFdmLM4e6osniwMPIC7ew/1jRjUQe+HyCabjw6Zg= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32T6bZNr040132 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Mar 2023 01:37:35 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 29 Mar 2023 01:37:35 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 29 Mar 2023 01:37:35 -0500 Received: from LT5CD112GSQZ.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32T6bTgl072630; Wed, 29 Mar 2023 01:37:32 -0500 From: Apurva Nandan <a-nandan@ti.com> To: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: Apurva Nandan <a-nandan@ti.com> Subject: [PATCH 1/2] arm64: dts: ti: k3-j721e-main: Switch MAIN R5F clusters to Split-mode Date: Wed, 29 Mar 2023 12:07:27 +0530 Message-ID: <20230329063728.14126-2-a-nandan@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230329063728.14126-1-a-nandan@ti.com> References: <20230329063728.14126-1-a-nandan@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761683602421497869?= X-GMAIL-MSGID: =?utf-8?q?1761683602421497869?= |
Series |
arm64: dts: ti: k3-j72xx-main: Switch MAIN R5F clusters to Split-mode
|
|
Commit Message
Apurva Nandan
March 29, 2023, 6:37 a.m. UTC
From: Suman Anna <s-anna@ti.com> J721E SoCs have two R5F clusters in the MAIN domain, and both of these are configured for LockStep mode at the moment. Switch both of these R5F clusters to Split mode by default to maximize the number of R5F cores. The MCU R5F cluster continues to be in the preferred LockStep mode. Note that this configuration is the default for remoteproc mode (kernel driver boots the R5F processors). These will be overridden for early-booted remoteprocs through the corresponding IPC-only support in the K3 R5F remoteproc driver. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Apurva Nandan <a-nandan@ti.com> --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 12:07-20230329, Apurva Nandan wrote: > From: Suman Anna <s-anna@ti.com> > > J721E SoCs have two R5F clusters in the MAIN domain, and both of these > are configured for LockStep mode at the moment. Switch both of these R5F > clusters to Split mode by default to maximize the number of R5F cores. > The MCU R5F cluster continues to be in the preferred LockStep mode. > > Note that this configuration is the default for remoteproc mode (kernel > driver boots the R5F processors). These will be overridden for early-booted > remoteprocs through the corresponding IPC-only support in the K3 R5F > remoteproc driver. > This looks like a firmware specific behavior, best done in overlay along with any custom memory map controls you may have to do for that specific firmware. If this is indeed a fixes, the commit message needs to clearly indicate why this is a fix and use the Fixes tag to propogate the fixes. > Signed-off-by: Suman Anna <s-anna@ti.com> > Signed-off-by: Apurva Nandan <a-nandan@ti.com> > --- > arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > index c935622f0102..31dadbdc0d5a 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > @@ -1722,7 +1722,7 @@ watchdog1: watchdog@2210000 { > > main_r5fss0: r5fss@5c00000 { > compatible = "ti,j721e-r5fss"; > - ti,cluster-mode = <1>; > + ti,cluster-mode = <0>; > #address-cells = <1>; > #size-cells = <1>; > ranges = <0x5c00000 0x00 0x5c00000 0x20000>, > @@ -1762,7 +1762,7 @@ main_r5fss0_core1: r5f@5d00000 { > > main_r5fss1: r5fss@5e00000 { > compatible = "ti,j721e-r5fss"; > - ti,cluster-mode = <1>; > + ti,cluster-mode = <0>; > #address-cells = <1>; > #size-cells = <1>; > ranges = <0x5e00000 0x00 0x5e00000 0x20000>, > -- > 2.34.1 >
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index c935622f0102..31dadbdc0d5a 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -1722,7 +1722,7 @@ watchdog1: watchdog@2210000 { main_r5fss0: r5fss@5c00000 { compatible = "ti,j721e-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>, @@ -1762,7 +1762,7 @@ main_r5fss0_core1: r5f@5d00000 { main_r5fss1: r5fss@5e00000 { compatible = "ti,j721e-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5e00000 0x00 0x5e00000 0x20000>,