From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A3672F8BE6; Thu, 23 Oct 2025 08:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.235 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761208013; cv=none; b=hhR5vm+vXcp1QpD+E1rgs2b+iTRzVUKGcD+VzMFWcl+bUWoN53FJz1Qw+wQ11Rn2NXsdR2Voz3NlwWg5j6heDY+bl/Akjm4Zr2uqsBwZwhAFups/P8Y+2MrBHFcVXOjmJVQL7rNfy/WdJWOqxRchRA4dVGnRf4Odgg2t2SSiGgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761208013; c=relaxed/simple; bh=8ITcHTlrm3kX+LD6C+sylaX9MmujOF8phbcUMbMEiBo=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=iCvzlVGs0aLtuebljA6FxTXSQuWAOy0r0FavMPnDrpwfkKDE+DaAhLEHisUqJWAZ5vIyN0cIpS1/7X/vo5T/shWZyV9S/4cQlyfDhV4m0W1Vnmg6PLhbiGYe1ZDnmxt6iejz0cn1U5V90ShD0CIK5phrZwNUdR3wSEa8lHUq5lc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=C9v+ynXO; arc=none smtp.client-ip=198.47.23.235 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="C9v+ynXO" Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 59N8QJIk486628; Thu, 23 Oct 2025 03:26:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1761207979; bh=8ITcHTlrm3kX+LD6C+sylaX9MmujOF8phbcUMbMEiBo=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=C9v+ynXOXmMHKsDt4CsxCVhBlE4/0BKIwINqcu8lDseGOUR3UylEj9FUfHtyRji7C X3vM2t/UaUb3RM0F9CVb6+GnMUnw/xLxbCw6UohBTjEZXjnFvUDG2LKrwcrdGS8EuD 8hOAEKbXRK6LP1gWh6wuwI1DHM+kMpZM4F6G/mig= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 59N8QJuu2991195 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Thu, 23 Oct 2025 03:26:19 -0500 Received: from lewvowa02.ent.ti.com (10.180.75.80) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Thu, 23 Oct 2025 03:25:49 -0500 Received: from DLEE204.ent.ti.com (157.170.170.84) by lewvowa02.ent.ti.com (10.180.75.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.55; Thu, 23 Oct 2025 03:25:48 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE204.ent.ti.com (157.170.170.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Thu, 23 Oct 2025 03:25:48 -0500 Received: from [172.24.234.212] (uda0510294.dhcp.ti.com [172.24.234.212]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 59N8PdJ32560624; Thu, 23 Oct 2025 03:25:40 -0500 Message-ID: Date: Thu, 23 Oct 2025 13:55:39 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] Suspend to RAM does not work anymore with k3-am62-ti-ipc-firmware.dtsi From: Beleswar Prasad Padhi To: Hiago De Franco , Andrew Davis , "Nagalla, Hari" CC: , , , , , , , , , , , , Robert Nelson , =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , Emanuele Ghidoli , Francesco Dolcini , Matthias Schiffer , Logan Bristol , Josua Mayer , John Ma , Nathan Morrisson , Garrett Giordano , Matt McKee , Wadim Egorov , Max Krummenacher , "Stefan Eichenberger" , Hiago De Franco , Diogo Ivo , Li Hua Qian , Jan Kiszka , Baocheng Su , Benedikt Niedermayr , References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On 21/10/25 14:33, Beleswar Prasad Padhi wrote: > Hi Hiago, > > On 20/10/25 19:47, Hiago De Franco wrote: >> Hello all, >> >> After commit 1d6161617c10 (“arm64: dts: ti: k3-am62-ti-ipc-firmware: >> Refactor IPC cfg into new dtsi”), suspend-to-RAM stopped working on >> AM62x. > > The above commit is only refactoring changes and should not > cause any trouble. I think the commit you are interested in > should be: a49f991e740f ("arm64: dts: ti: k3-am62-verdin: > Add missing cfg for TI IPC Firmware"). > > >> Do you have suggestions on how best to fix this in the driver, or should >> we consider reverting the DTS change until suspend-to-RAM works again? > > List of suggestions/solutions in order of preference: > 1. If no intention to enable IPC on rprocs: >       Do _not_ include k3-am62-ti-ipc-firmware.dtsi > 2. If intention is to enable IPC on rprocs: >       Make sure rproc firmware is available in rootfs. >       rproc would boot up and consume the mbox >       msg, suspend would be successful. Tested this >       on TI AM62x-sk with commit 1d6161617c, works > 3. Add support in mbox driver to flush the pending >     queues. Posted a RFC version for #3: https://lore.kernel.org/all/20251022102015.1345696-1-b-padhi@ti.com/ It still has open questions regarding scenarios with FIFO firewalling and supporting existing OMAP SoCs which could restore context upon resume. Cc: Andrew, Hari Thanks, Beleswar