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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55597C43381 for ; Wed, 20 Mar 2019 06:09:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 181A32184D for ; Wed, 20 Mar 2019 06:09:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="D/6OTAUc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="b30JtYNX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 181A32184D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FodqTJfNLYAvjGmSBy3rRN4B8cvdOJTXWDDwNTMHRZQ=; b=D/6OTAUcYwvjQR jR0+Qnq8PUi9xN2y7ahFaW2FvO3c94fltEB+2PLBGLLiRfkqzYjqfYAdtj8eG8VHBKhj0CgIi3YSo UGKkd5PXuh7jG2VvIDgC/rxhBb2zq99uo/ljN8x9U4IThNDjst+PBuCNBPn0izrKLUCYSe7fewy6w F9+Xro0mHFEs9MpAUuTFCwmdga6CpJYQRcjCOKildGkb2NlcFTriDvrSzpWkdtWMfQDX5ZvzOqvHE zp2r5ZEauc3Qk//+bCZwZjnNC7NSdB4jVkY376iDGwdaYnwG6yG/yDlS+aoNh3AdQxMkrxig0sVH6 tirFGl6FhwWevu7s8Hzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6UPn-0007x7-TE; Wed, 20 Mar 2019 06:09:27 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6UPl-0007wh-MS for linux-arm-kernel@bombadil.infradead.org; Wed, 20 Mar 2019 06:09:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9ZHBYARu3bhHY4SjOJ+jvMZ/ARhYgnpECzfsmfBAq3w=; b=b30JtYNXOVAlXA76X2yZFAzgn Lph5nvVq4eMKfDG9eZ1SuzXDh9tx+e3EiLc1MLtCxGMw2KNvWw/Mav5bFY7BWh8yblXJTIwuoawyq 3x71a98WnJc4aBga6o2ICH2EX9h+oqRpR1GOKCjFtcvZmgI/zpabIEvtWz1vnUUFotuHRykYgSW3H 5O+Xe3D+61ajuuP/B+mBsB9ld5QMPy4XIx+7QstRGuHlMrmyGoV3qWWeSxHT4gZNDsZzu0DmsJPeG QqSshUsaF8v484aZUloOoeh9obiC1IbofhZZg8uPBWHpdhUxkbfZjGHgNHRQRTu2YnOiRc5uRtSRq hZCLvebSw==; Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6UPh-00016V-ST for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2019 06:09:24 +0000 X-Originating-IP: 182.72.246.220 Received: from localhost (unknown [182.72.246.220]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id E4D80FF805; Wed, 20 Mar 2019 06:08:49 +0000 (UTC) Date: Wed, 20 Mar 2019 07:08:45 +0100 From: Alexandre Belloni To: Keerthy Subject: Re: [PATCH] rtc: omap: let the core handle range Message-ID: <20190320060845.GL29054@piout.net> References: <20190318124438.26327-1-alexandre.belloni@bootlin.com> <20190318124438.26327-2-alexandre.belloni@bootlin.com> <20190320051051.GJ29054@piout.net> <11d60e1a-a884-80e7-f206-ccf8cb58692e@ti.com> <6f9ff9e5-abb0-4aa4-5697-02799943bd25@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6f9ff9e5-abb0-4aa4-5697-02799943bd25@ti.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_060922_032302_521DF6CE X-CRM114-Status: GOOD ( 12.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel