From patchwork Wed Mar 29 06:37:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 13191941 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 ECF4AC761AF for ; Wed, 29 Mar 2023 06:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Kt7NqwnvP4ZlYRRa4VlNIc94ClWJf0FD2apob0bUAwo=; b=dSTNiS/MdJaSUd jltjvtHMVISsQ+XTnYJ3sVDWIAQZtufirqPJcoQPd+71rIJvj/oJOM73xSLPRpx4pOwhLsbK1rR+X HQjBMi2OGra8NxvTPGNUaJAlAOYX7Cu+dfWKudHYh09T0UMZRBpC68viVJtsIelpf0mzqxiSoULtS W2OZhWaqgYcq/HZlCVyP+plq/0nwCxzJVWueWJPC8OpeGKt8nIksRpuIcRMfpo4/qKyMPPmTMsac0 BQ0Bm3RhiR8Qz02iLsTVsxBggUkMGIJewAJcuNA+OoBBkUCMd6s22HfuWSckgsWPZkGcbXhInamyV 8XmF8kGfArB9Mygw6rXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phPRR-00Gp4J-3A; Wed, 29 Mar 2023 06:37:53 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phPRG-00Gp0p-0p for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 06:37:43 +0000 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 To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , CC: Apurva Nandan 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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230328_233742_372163_D4EE3818 X-CRM114-Status: GOOD ( 13.37 ) 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 From: Suman Anna 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 Signed-off-by: Apurva Nandan --- 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>, From patchwork Wed Mar 29 06:37:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 13191940 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 57F39C74A5B for ; Wed, 29 Mar 2023 06:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nZpF7tE+VJ+Ab1KJ9wgUhkHEjNXCgKArAjg4+2zBFfE=; b=zCLRoKIC8OxGUH K6+Ip7wKTjTR9mWvo+fNpXUQ1E+Rd9UYfHZqgTBC1LpHsgyIUXgaFTRraHvrTUkc0E9eOR06UBUiO 854ck7d2JkAqoV5eZHyKhO3anx8qQY+3YD0ZaWzGYDxixuNhQsQxT8we4gDHmuqZ9cOK1UYhrv2C8 AaiopJ6bxe+rc4cxHoPkGJRlq3FP1cPoy//FoB4bF1a5xXEt2gOKOtlHJAe5UfTZW2SThVIYwG5rK w3+kJdxjskj7Fom9/ckXShyozXMB2gsGYkPVBQXVWOBw6JzenMpWN43zXoxbOcOrn6KjWTsDKViiJ Az9W3hzmbwD/O6JNCL7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phPRS-00Gp4g-36; Wed, 29 Mar 2023 06:37:54 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phPRG-00Gp1I-13 for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 06:37:44 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32T6bcQ3102626; Wed, 29 Mar 2023 01:37:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680071858; bh=x+EGfwgO9aghxjxrSWU4sfCF07paK9IYcru8c4BG+84=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rnOqFkIvASzkaWBiTWykszttaAFlkZ8wM0TmK62EaT/RED2Mo2QwHuxJ/uktGmtI6 GmCgCOXQdBbZPDzCBaewcZRYhmaEuGwOBeDw6WgWJbQmClUDhukc86o09drI5tejhQ dKVctZQLzpuj6j5AW6fsaC7jM6YD3hS8M1vFQ/wI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32T6bc5i008917 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Mar 2023 01:37:38 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE102.ent.ti.com (10.64.6.23) 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:37 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE114.ent.ti.com (10.64.6.35) 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:37 -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 32T6bTgm072630; Wed, 29 Mar 2023 01:37:35 -0500 From: Apurva Nandan To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , , , CC: Apurva Nandan Subject: [PATCH 2/2] arm64: dts: ti: k3-j7200-main: Switch MAIN R5F cluster to Split-mode Date: Wed, 29 Mar 2023 12:07:28 +0530 Message-ID: <20230329063728.14126-3-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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230328_233742_454671_7E793128 X-CRM114-Status: GOOD ( 14.05 ) 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 From: Suman Anna J7200 SoCs has a R5F cluster in each of the MAIN and MCU domains, and both of these are configured for LockStep mode at the moment. Switch the MAIN R5F cluster 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 Signed-off-by: Apurva Nandan --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 138381f43ce4..573a7f949b1d 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -797,7 +797,7 @@ watchdog1: watchdog@2210000 { main_r5fss0: r5fss@5c00000 { compatible = "ti,j7200-r5fss"; - ti,cluster-mode = <1>; + ti,cluster-mode = <0>; #address-cells = <1>; #size-cells = <1>; ranges = <0x5c00000 0x00 0x5c00000 0x20000>,