On 20/03/2019 11:25:31+0530, Keerthy wrote: > Hi Alexandre, > > https://pastebin.ubuntu.com/p/8w6HXKV6St/ > > I applied this patch on top of linux-next. I am able to wake up from rtc > from suspend to memory on am33-bbb. > > Also i tried your commands: > > echo +5 > /sys/class/rtc/rtc0/wakealarm ; echo mem > /sys/power/state > [ 147.046018] PM: suspend entry (deep) > [ 147.049675] PM: Syncing filesystems ... done. > [ 147.071869] Freezing user space processes ... (elapsed 0.001 seconds) > done. > [ 147.080658] OOM killer disabled. > [ 147.083974] Freezing remaining freezable tasks ... (elapsed 0.001 > seconds) done. > [ 147.092830] printk: Suspending console(s) (use no_console_suspend to > debug) > [ 147.233280] cpsw 4a100000.ethernet eth0: Link is Down > [ 147.248012] Disabling non-boot CPUs ... > [ 147.248048] pm33xx pm33xx: PM: Successfully put all powerdomains to > target state > [ 147.270934] net eth0: initializing cpsw version 1.12 (0) > [ 147.374824] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver > [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) > [ 147.562211] OOM killer enabled. > [ 147.565489] Restarting tasks ... done. > [ 147.616203] PM: suspend exit > > That also worked fine. > > For am335x-boneblack as well this patch works. > Ok, thanks a lot for confirming, I'll try to fix my setup, I'm probably just missing the m3 firmware. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com