From patchwork Mon Aug 26 10:48:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beleswar Prasad Padhi X-Patchwork-Id: 13777633 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 522B8C5321E for ; Mon, 26 Aug 2024 10:49:35 +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-Type: Content-Transfer-Encoding:MIME-Version: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:In-Reply-To:References:List-Owner; bh=Sdt9ErsTLxOJWQjj+at8gn6Uw33/oDVhLQO7dagY6aY=; b=2n1w4oTZhbjcu9hy76au0AK+m/ xiH0xAo9vPeEcqQEuw948/DcIe4P4crMbqmtBeppYZTfF1y0BppWLAjFV291WScgWd78NL6bz4SSf 4eXVMqEH7IA4I3bcKcgomMTa+/pecPTUcyBjifQJ8jGKj8RQOjMq32x41VcWJwmydal/9KMLPlw2z a6kg9xWAFPs9g0CL5jee/7zjm4vxLC5daEYoo//1jDz6hzL6Zeo6CoRJg2PY9gEH7c2AePbOUXgcx xN8G3WGICyu8aqEOCK5w54ffyOn13K51LP25VsGMNYU5Lsp/n7qlhtSU1qOmktBG1NvahpEG83Aa8 3pk2ivRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siXHp-00000006zyO-01gG; Mon, 26 Aug 2024 10:49:25 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siXH0-00000006zlj-2unW for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 10:48:36 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47QAmQKF008291; Mon, 26 Aug 2024 05:48:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724669306; bh=Sdt9ErsTLxOJWQjj+at8gn6Uw33/oDVhLQO7dagY6aY=; h=From:To:CC:Subject:Date; b=PHvp1FK5EG3EpiNJ55xTrnwZceDMq+nwJuBwzKttC2nQzHeTXGSw1tqsbsemnndFC 8P8sFIK1kiZcjfuR9A0/dsvnX5FawLXe9rIwv/OWLTpZKRR9E6gtPgtOJSeVdcXxLR fMPCjgBfhzGiug2NdRLJYyIewhZ7BSPhl4k2XZVI= 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 47QAmQXO037593 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Aug 2024 05:48:26 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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.23; Mon, 26 Aug 2024 05:48:26 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE114.ent.ti.com (157.170.170.25) 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; Mon, 26 Aug 2024 05:48:26 -0500 Received: from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [172.24.227.151]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47QAmLNj063606; Mon, 26 Aug 2024 05:48:22 -0500 From: Beleswar Padhi To: , , , , , CC: , , , , , , , , Subject: [PATCH v4 0/7] Reserve Timer Nodes to avoid clash with Remoteproc firmware Date: Mon, 26 Aug 2024 16:18:13 +0530 Message-ID: <20240826104821.1516344-1-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 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-20240826_034834_939961_166A4410 X-CRM114-Status: GOOD ( 12.63 ) 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 remoteproc firmware like of R5F and DSPs in the MAIN voltage domain use timers. At the same time, if Linux probes the timers, some instability is observed while booting remote cores. Therefore, change the status of the timer nodes to "reserved" to avoid any clash. NOTE: This series has been rebased on top of a sibling series[0] as both of them introduce changes in the same files. Thus, please apply [0] before applying this series. [0]: https://lore.kernel.org/all/20240826093024.1183540-1-b-padhi@ti.com/ v4: Changelog: 1) Refactored changes from {}-common-proc-board.dts to {}-som.dtsi to put all remoteproc related changes at one place as remotecores were getting enabled at {}-som.dtsi file. 2) Rebased this series on top of [0]. * Nishanth: 1) Fixed $subject line for all patches to include the board level files where the changes were applied instead of the SoC level files. 2) Applied these timer fixes to J721E-SK, AM68-SK and AM69-SK boards as well. Link to v3: https://lore.kernel.org/all/20240816073908.2343650-1-b-padhi@ti.com/ v3: Changelog: * Udit 1) j7200: Updated commit message description to remove DSPs as the SoC does not have one. 2) j722s: Updated the correct commit for "Fixes:" tag which introduced the bug. 3) For entire series, removed comment about timer usage by R5fs in the MCU voltage domain as those are used by Device Manager firmware to get SoC functional. Link to v2: https://lore.kernel.org/all/20240814104151.2038457-1-b-padhi@ti.com/ v2: Changelog: - Split the changes into individual patches for each SoC to tag the correct offending commit for "Fixes:" tag. * Udit 1) Add the correct clashing timer nodes for J7200 SoC. 2) Port these changes to board level dts files instead of SoC level dtsi files. Link to v1: https://lore.kernel.org/all/20240607105559.771080-1-b-padhi@ti.com/ Beleswar Padhi (7): arm64: dts: ti: k3-j7200-som-p0: Change timer nodes status to reserved arm64: dts: ti: k3-j721e-som-p0: Change timer nodes status to reserved arm64: dts: ti: k3-j721e-sk: Change timer nodes status to reserved arm64: dts: ti: k3-j721s2-som-p0: Change timer nodes status to reserved arm64: dts: ti: k3-am68-sk-som: Change timer nodes status to reserved arm64: dts: ti: k3-j784s4-evm: Change timer nodes status to reserved arm64: dts: ti: k3-am69-sk: Change timer nodes status to reserved arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 25 ++++++++++++ arch/arm64/boot/dts/ti/k3-am69-sk.dts | 41 ++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 13 +++++++ arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 29 ++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 29 ++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 25 ++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 41 ++++++++++++++++++++ 7 files changed, 203 insertions(+)