From patchwork Sun Sep 15 20:47:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 1985922 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=ti-com-17Q1 header.b=vao03XaW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X6KqW5820z1y1g for ; Mon, 16 Sep 2024 06:47:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F23E88DFF; Sun, 15 Sep 2024 22:47:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="vao03XaW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 331E78880B; Sun, 15 Sep 2024 22:47:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 64C3B88706 for ; Sun, 15 Sep 2024 22:47:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vaishnav.a@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48FKlI6Z084669; Sun, 15 Sep 2024 15:47:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1726433238; bh=fJQjUrQD6Ut9Ag+4+OVFI6jvL/pDxKkGCiFqBHHy5yg=; h=From:To:CC:Subject:Date; b=vao03XaWRsuSZGV4vkPOR2DL1DyCh+rB8DBFDC5ZibLFA6FXUIXwGh4P/LIcjRYWN ePk2aFaEdZD5VG02xCIwlcXIz4kJ/IM7Z/sxlPLOORX4+f7wq4rn3kKRLyfntWF7CU XLCRk5c4GIdOvzuW0Zl/uuqWnXlhRyQyL8wiguHg= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 48FKlIjh095678; Sun, 15 Sep 2024 15:47:18 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 15 Sep 2024 15:47:18 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sun, 15 Sep 2024 15:47:18 -0500 Received: from uda0490681.. ([10.24.69.142]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 48FKlFMx063264; Sun, 15 Sep 2024 15:47:15 -0500 From: Vaishnav Achath To: CC: , , , , , , , Subject: [PATCH] board: ti: j722s: Update Resource Management configs Date: Mon, 16 Sep 2024 02:17:14 +0530 Message-ID: <20240915204714.1051646-1-vaishnav.a@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Update J722S Resource Management configs to the latest output generated by K3 Resource Partitioning tool. Main change includes allocating more BCDMA channels to A53 for CSI2RX to support 4 x CSIRX capture instance simultaneously. Signed-off-by: Vaishnav Achath --- Test logs (CSI capture + RM config dump): https://gist.github.com/vachath/7b37cd288ef16ad8a2ac6ff5710d1e9a board/ti/j722s/rm-cfg.yaml | 48 ++++++++++++++++++++++----------- board/ti/j722s/tifs-rm-cfg.yaml | 28 +++++++++++++------ 2 files changed, 53 insertions(+), 23 deletions(-) diff --git a/board/ti/j722s/rm-cfg.yaml b/board/ti/j722s/rm-cfg.yaml index 21ca30104c..e32beb8479 100644 --- a/board/ti/j722s/rm-cfg.yaml +++ b/board/ti/j722s/rm-cfg.yaml @@ -244,7 +244,7 @@ rm-cfg: subhdr: magic: 0x7B25 size: 8 - resasg_entries_size: 1160 + resasg_entries_size: 1184 reserved: 0 resasg_entries: - @@ -1017,13 +1017,13 @@ rm-cfg: reserved: 0 - start_resource: 8 - num_resource: 12 + num_resource: 32 type: 12750 host_id: 12 reserved: 0 - - start_resource: 20 - num_resource: 20 + start_resource: 8 + num_resource: 32 type: 12750 host_id: 38 reserved: 0 @@ -1035,13 +1035,13 @@ rm-cfg: reserved: 0 - start_resource: 0 - num_resource: 12 + num_resource: 32 type: 12769 host_id: 12 reserved: 0 - - start_resource: 12 - num_resource: 20 + start_resource: 0 + num_resource: 32 type: 12769 host_id: 38 reserved: 0 @@ -1053,10 +1053,22 @@ rm-cfg: reserved: 0 - start_resource: 0 - num_resource: 8 + num_resource: 2 type: 12810 host_id: 12 reserved: 0 + - + start_resource: 2 + num_resource: 2 + type: 12810 + host_id: 20 + reserved: 0 + - + start_resource: 4 + num_resource: 2 + type: 12810 + host_id: 22 + reserved: 0 - start_resource: 22 num_resource: 18 @@ -1065,21 +1077,27 @@ rm-cfg: reserved: 0 - start_resource: 12288 - num_resource: 64 + num_resource: 56 type: 12813 host_id: 12 reserved: 0 - - start_resource: 12352 - num_resource: 64 + start_resource: 12344 + num_resource: 48 type: 12813 - host_id: 38 + host_id: 20 reserved: 0 - - start_resource: 12416 - num_resource: 88 + start_resource: 12392 + num_resource: 48 type: 12813 - host_id: 128 + host_id: 22 + reserved: 0 + - + start_resource: 12440 + num_resource: 64 + type: 12813 + host_id: 38 reserved: 0 - start_resource: 1536 diff --git a/board/ti/j722s/tifs-rm-cfg.yaml b/board/ti/j722s/tifs-rm-cfg.yaml index 5e8d7e0444..4a2af0ebca 100644 --- a/board/ti/j722s/tifs-rm-cfg.yaml +++ b/board/ti/j722s/tifs-rm-cfg.yaml @@ -244,7 +244,7 @@ tifs-rm-cfg: subhdr: magic: 0x7B25 size: 8 - resasg_entries_size: 976 + resasg_entries_size: 992 reserved: 0 resasg_entries: - @@ -897,13 +897,13 @@ tifs-rm-cfg: reserved: 0 - start_resource: 8 - num_resource: 12 + num_resource: 32 type: 12750 host_id: 12 reserved: 0 - - start_resource: 20 - num_resource: 20 + start_resource: 8 + num_resource: 32 type: 12750 host_id: 38 reserved: 0 @@ -915,13 +915,13 @@ tifs-rm-cfg: reserved: 0 - start_resource: 0 - num_resource: 12 + num_resource: 32 type: 12769 host_id: 12 reserved: 0 - - start_resource: 12 - num_resource: 20 + start_resource: 0 + num_resource: 32 type: 12769 host_id: 38 reserved: 0 @@ -933,10 +933,22 @@ tifs-rm-cfg: reserved: 0 - start_resource: 0 - num_resource: 8 + num_resource: 2 type: 12810 host_id: 12 reserved: 0 + - + start_resource: 2 + num_resource: 2 + type: 12810 + host_id: 20 + reserved: 0 + - + start_resource: 4 + num_resource: 2 + type: 12810 + host_id: 22 + reserved: 0 - start_resource: 22 num_resource: 18