From: "Kumar, Udit" <u-kumar1@ti.com>
To: "Markus Schneider-Pargmann (TI.com)" <msp@baylibre.com>,
Tom Rini <trini@konsulko.com>, Sumit Garg <sumit.garg@kernel.org>,
Nishanth Menon <nm@ti.com>,
Robert Nelson <robertcnelson@gmail.com>,
Vignesh Raghavendra <vigneshr@ti.com>, Bryan Brattlof <bb@ti.com>
Cc: "Vishal Mahaveer" <vishalm@ti.com>,
"Kevin Hilman" <khilman@baylibre.com>,
"Dhruva Gole" <d-gole@ti.com>,
"Sebin Francis" <sebin.francis@ti.com>,
"Kendall Willis" <k-willis@ti.com>,
"Akashdeep Kaur" <a-kaur@ti.com>,
u-boot@lists.denx.de, "Anshul Dalal" <anshuld@ti.com>,
"Moteen Shah" <m-shah@ti.com>, "Santhosh Kumar K" <s-k6@ti.com>,
"Nathan Morrisson" <nmorrisson@phytec.com>,
"Garrett Giordano" <ggiordano@phytec.com>,
"Judith Mendez" <jm@ti.com>, "Aparna Patra" <a-patra@ti.com>,
"Jayesh Choudhary" <j-choudhary@ti.com>,
"Chintan Vankar" <c-vankar@ti.com>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Neha Malcom Francis" <n-francis@ti.com>,
"Prasanth Babu Mantena" <p-mantena@ti.com>,
"Beleswar Padhi" <b-padhi@ti.com>,
"Manorit Chawdhry" <m-chawdhry@ti.com>,
"Andrew Davis" <afd@ti.com>, "Wadim Egorov" <w.egorov@phytec.de>,
"Andrew Goodbody" <andrew.goodbody@linaro.org>,
"E Shattow" <e@freeshell.de>, "Devarsh Thakkar" <devarsht@ti.com>,
"Peng Fan" <peng.fan@nxp.com>,
"Jerome Forissier" <jerome.forissier@linaro.org>,
"Sam Protsenko" <semen.protsenko@linaro.org>,
"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
"Andre Przywara" <andre.przywara@arm.com>,
"Théo Lebrun" <theo.lebrun@bootlin.com>
Subject: Re: [PATCH v8 08/13] arm: mach-k3: am62a7_init: Resume on LPM exit
Date: Tue, 23 Dec 2025 13:40:58 +0530 [thread overview]
Message-ID: <094bbc1c-8a97-4f75-992f-c53615f22d46@ti.com> (raw)
In-Reply-To: <20251222-topic-am62-ioddr-v2025-04-rc1-v8-8-e70fed16b166@baylibre.com>
Hi Markus
On 12/23/2025 1:31 AM, Markus Schneider-Pargmann (TI.com) wrote:
> When exiting a low power mode with DDR self-refresh, we can directly
> resume after DDR setup is done. Call the common function to resume.
>
> Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@baylibre.com>
> ---
> arch/arm/mach-k3/am62ax/am62a7_init.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/mach-k3/am62ax/am62a7_init.c b/arch/arm/mach-k3/am62ax/am62a7_init.c
> index c1c7d669a45f53b7528c80d44bf9b914fed1cc10..51b0386853b065d62cd0ecac589e316de5ab4038 100644
> --- a/arch/arm/mach-k3/am62ax/am62a7_init.c
> +++ b/arch/arm/mach-k3/am62ax/am62a7_init.c
> @@ -198,6 +198,15 @@ void board_init_f(ulong dummy)
> ret = uclass_get_device(UCLASS_RAM, 0, &dev);
> if (ret)
> panic("DRAM init failed: %d\n", ret);
> +
> + if (wkup_ctrl_is_lpm_exit()) {
> + u64 meta_data_addr;
> +
> + ret = wkup_r5f_am62_lpm_meta_data_addr(&meta_data_addr);
> + if (ret)
> + panic("Failed to get LPM meta data address %d\n", ret);
> + lpm_resume_from_ddr(meta_data_addr);
> + }
Could you help, how qos will be set after s2r
see
https://lore.kernel.org/all/5058275b-a198-43b1-a040-df330775f695@ti.com/
as well
> #endif
> spl_enable_cache();
>
>
next prev parent reply other threads:[~2025-12-23 13:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-22 20:01 [PATCH v8 00/13] am62: IO+DDR resume support Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 01/13] arm: mach-k3: Kconfig: Add symbol for IO+DDR Low Power Mode Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 02/13] arm: mach-k3: am62xx-lpm-common: Add CANUART wakeup check helpers Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 03/13] arm: mach-k3: Remove CANUART IO isolation Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 04/13] ram: k3-ddrss: Add support for DDR in self-refresh Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 05/13] firmware: ti_sci: Add TI_SCI_MSG_MIN_CONTEXT_RESTORE Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 06/13] arm: mach-k3: am62xx-lpm-common: Add lpm_resume_from_ddr Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 07/13] arm: mach-k3: am62xx-lpm-common: Helper for LPM meta data address from DT Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 08/13] arm: mach-k3: am62a7_init: Resume on LPM exit Markus Schneider-Pargmann (TI.com)
2025-12-23 8:10 ` Kumar, Udit [this message]
2026-01-05 15:44 ` Markus Schneider-Pargmann
2025-12-22 20:01 ` [PATCH v8 09/13] arm: mach-k3: am62p5_init: " Markus Schneider-Pargmann (TI.com)
2025-12-23 8:13 ` Kumar, Udit
2025-12-22 20:01 ` [PATCH v8 10/13] arm: dts: k3-am62a: Add r5 device nodes Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 11/13] arm: dts: k3-am62p: " Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 12/13] configs: am62ax_evm_r5: Enable IODDR resume support Markus Schneider-Pargmann (TI.com)
2025-12-22 20:01 ` [PATCH v8 13/13] configs: am62p_evm_r5_defconfig: " Markus Schneider-Pargmann (TI.com)
2025-12-23 8:17 ` [PATCH v8 00/13] am62: IO+DDR " Kumar, Udit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=094bbc1c-8a97-4f75-992f-c53615f22d46@ti.com \
--to=u-kumar1@ti.com \
--cc=a-kaur@ti.com \
--cc=a-patra@ti.com \
--cc=afd@ti.com \
--cc=andre.przywara@arm.com \
--cc=andrew.goodbody@linaro.org \
--cc=anshuld@ti.com \
--cc=b-padhi@ti.com \
--cc=bb@ti.com \
--cc=c-vankar@ti.com \
--cc=d-gole@ti.com \
--cc=devarsht@ti.com \
--cc=e@freeshell.de \
--cc=ggiordano@phytec.com \
--cc=ilias.apalodimas@linaro.org \
--cc=j-choudhary@ti.com \
--cc=jerome.forissier@linaro.org \
--cc=jm@ti.com \
--cc=k-willis@ti.com \
--cc=khilman@baylibre.com \
--cc=m-chawdhry@ti.com \
--cc=m-shah@ti.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=msp@baylibre.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=nmorrisson@phytec.com \
--cc=p-mantena@ti.com \
--cc=peng.fan@nxp.com \
--cc=robertcnelson@gmail.com \
--cc=s-k6@ti.com \
--cc=sebin.francis@ti.com \
--cc=semen.protsenko@linaro.org \
--cc=sumit.garg@kernel.org \
--cc=theo.lebrun@bootlin.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
--cc=vishalm@ti.com \
--cc=w.egorov@phytec.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox