From mboxrd@z Thu Jan 1 00:00:00 1970 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 D6572CA101F for ; Fri, 5 Sep 2025 02:48:00 +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: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UNwxcaJFSrFO5q+R1t0J7M4sGh4VvR9Irx9KtutqIis=; b=RX6JCdPb92IvqN42ZwTLwxAEi+ Ql71tWmcTMGZdGqYNBa8jbUr8qMXYIYb4zl7CSV0Ic+LfNKPm4tfIa9xZXHFYhV0Fc5/HF+/OR+OD fmhhz2x/nlgWsspm7EtQRieEBZhvXjB03e0a4cJ8BWUUQlYOZbfhlJ7tVoIg6TNdhmucs7xcSmT3g 55eGVz7ZbiFDl69/tx2Qlx/dcQEXVm69qaTHVjHmHTQw5O6h0p1d7FT78EhOcGQyb1RQSed19ZwTt b5qdgOs34O25b7DxrsZUugk9p5t5PrPeaMNqALDkMEc3qXQX6UhdOIeyvlN2uYAFusC2A3qCu2KSr 1Mq4txlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uuMUU-0000000GErb-1eNY; Fri, 05 Sep 2025 02:47:54 +0000 Received: from lelvem-ot02.ext.ti.com ([198.47.23.235]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uuMRl-0000000GDtd-0dYt for linux-arm-kernel@lists.infradead.org; Fri, 05 Sep 2025 02:45:06 +0000 Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 5852ivfj3654671; Thu, 4 Sep 2025 21:44:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757040297; bh=UNwxcaJFSrFO5q+R1t0J7M4sGh4VvR9Irx9KtutqIis=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=WhRQa/oe0vza4t+wPi400uTMIETdVCn92OmjEKIy823CyxlUz66awuXcroEYhY/yf rnW9WyC7n9bRZcsCSTEvn3UA5ygbShgjFtnHCCojIA3DWiQrDT10FWH0W9YlyC+wvV RyhM/mp2pi3PRwB61v1n/+J+p+ZgzUDdchkApTdA= Received: from DFLE20.ent.ti.com (dfle20.ent.ti.com [10.64.6.57]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 5852ivsY1325372 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Sep 2025 21:44:57 -0500 Received: from DFLE208.ent.ti.com (10.64.6.66) by DFLE20.ent.ti.com (10.64.6.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Thu, 4 Sep 2025 21:44:57 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE208.ent.ti.com (10.64.6.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.2.2562.20; Thu, 4 Sep 2025 21:44:56 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) 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.55 via Frontend Transport; Thu, 4 Sep 2025 21:44:56 -0500 Received: from [10.249.48.175] ([10.249.48.175]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 5852is6x054550; Thu, 4 Sep 2025 21:44:54 -0500 Message-ID: <5dc272a9-6a14-47df-e7ce-006517e2cb43@ti.com> Date: Thu, 4 Sep 2025 21:44:54 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 00/33] Refactor TI IPC DT configs into dtsi To: Judith Mendez , Beleswar Padhi , , , , , , CC: , , , , , Robert Nelson , Jo_o Paulo Gon_alves , Parth Pancholi , Emanuele Ghidoli , Francesco Dolcini , Matthias Schiffer , Logan Bristol , Josua Mayer , John Ma , Nathan Morrisson , Garrett Giordano , Matt McKee , Wadim Egorov , Andrejs Cainikovs , "Max Krummenacher" , Stefan Eichenberger , Hiago De Franco References: <20250823160901.2177841-1-b-padhi@ti.com> <8fea9d7d-faa0-4e51-b7a5-e17a945bf1ed@ti.com> Content-Language: en-US From: Hari Nagalla In-Reply-To: <8fea9d7d-faa0-4e51-b7a5-e17a945bf1ed@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250904_194505_281765_10778E75 X-CRM114-Status: GOOD ( 20.48 ) 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 On 9/4/25 15:40, Judith Mendez wrote: > Hi Beleswar, > > On 8/23/25 11:08 AM, Beleswar Padhi wrote: >> The TI K3 SoCs have multiple programmable remote processors like >> R5F, M4F, C6x/C7x etc. The TI SDKs for these SoCs offer sample firmware >> which could be run on these cores to demonstrate an "echo" IPC test. >> Those firmware require certain memory carveouts to be reserved from >> system memory, timers to be reserved, and certain mailbox >> configurations for interrupt based messaging. These configurations >> could be different for a different firmware. >> >> Refactor these firmware dependent configurations from board level DTS >> into a dtsi for now. This dtsi for TI IPC firmware is board-independent >> and can be applied to all boards from the same SoC Family. This gets >> rid of code duplication (>50%) and allows more freedom for users >> developing custom firmware (or no firmware) to utilize system resources >> better; easily by swapping out this dtsi. To maintain backward >> compatibility, the dtsi is included in all existing boards. >> >> DTSI vs Overlay: >> 1. I chose DTSI over overlay as both the ways required including the >> refactored file in existing board-level files to maintain backward >> compatibility, so didn't see the advantage of using overlays here. >> 2. If we do down the overlay path, existing board-level file names have >> to be changed to indicate they are without the IPC support; so that >> they can be combined with the overlay to generate the same-named DTBs. >> For example: >> k3-am69-sk.dtb := k3-am69-sk-sans-ipc.dtb k3-j784s4-ti-ipc-firmware.dtbo >>                  ~~~~~~~~ >> >> I am not sure if this renaming of files is ideal? >> > > Thanks for you patches, I was able to boot test on am62px SK and > am62ax SK boards. I was also able do a simple rpmsg echo test with some > additional patches on top of your changes: > https://gist.github.com/jmenti/4ae7a6a65c2cb95fd54f48d32430c1e9 > > so for am62ax and am62px SK boards: > > Tested-by: Judith Mendez > Tested the AM64 dts patches on AM64-SK board and it worked. Thanks Tested-by: Hari Nagalla