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 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 E86C2C61DA4 for ; Tue, 14 Feb 2023 20:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=Sx19cQ3QHLBVAsKchOezIM++eF9ZvcV1TvQyWQm4cXQ=; b=jh+dblKJvfFP1v 7FiRidlaQureZKDzWtEXtYqcRlWHke8c2ULstddjGj2F9AK+UDk2jbwhz0MeS0AHS/UoQHArUzceV tSGiBUpWbfOPRDjeiwYrCQcSBybfX8W581znoordacc13S6PF3wnEXrZPeSeIFTB57Xr2VqwJdIGp Faz0ujDv5ZVN10ayvnez5E5i5UZu98s2MbwWIzwtEv/KkBCRcocJ4rQ8pkRoH9/2obOAD0iaApVVQ rr0Ekknpmc7mOuS0Bn2gETQ/e+4F3OzhNQnGpKb41kAhO52igGgZxkys9h546tfELJYSh9g4wkcC8 /oJjg59BgczIvwbtE9jA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pS1UP-003LEO-FZ; Tue, 14 Feb 2023 20:01:21 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pS1UL-003LBC-24 for linux-arm-kernel@lists.infradead.org; Tue, 14 Feb 2023 20:01:18 +0000 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 130CF1BF208; Tue, 14 Feb 2023 20:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1676404862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=msCEMBYUW+ET+AM+rP3myaFEP+xjOZlHNFrZgSaclZ0=; b=SOfrLe95ihwFNZ/lLttrf3O4/GmIUyKgjgYJW8rajjNfhT8VbU9DKMIGSj2hSPB/DGc/Ok DhC4FRmiPebHyVJ9Yc5krHuQ09f1TpqvzUC15EOvnt36p1C5bJoQNEoVf4XlPQxGIWARwV hURbcOlWh/Vin2l6zxsWAnGswDGX+C3THNTUe9MAnpjBGVkC4Slq4/fNCwCiZZDHhzJ/tT FLtUWIb6ECB6UI5xZD82DZ1nQx+qp3UoPWRkS8xIALkw4WB8qptnnXrNd/WFDQtkQNcsnB bIGv+7/v8Hwdb8quOZko9FXtMrtC3HFK/qi3xSL0jxU1BfQNT0D40/db4RxuLg== Date: Tue, 14 Feb 2023 21:01:00 +0100 From: Alexandre Belloni To: Marcel Ziswiler Cc: "kernel@pengutronix.de" , "a.zummo@towertech.it" , "festevam@gmail.com" , "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "s.hauer@pengutronix.de" , "linux-imx@nxp.com" Subject: Re: [REGRESSION] rtc: imx-sc: remove .read_alarm Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230214_120117_277359_024C2B70 X-CRM114-Status: GOOD ( 11.80 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, On 08/02/2023 15:06:28+0000, Marcel Ziswiler wrote: > Hi Alexandre > > Were you aware that this breaks the sysfs use case? E.g. before we were able to suspend and resume 10 seconds > later as follows: > > echo +10 > /sys/class/rtc/rtc1/wakealarm; echo mem > /sys/power/state > > Since the removal of .read_alarm in commit 7942121b8ca0 ("rtc: imx-sc: remove .read_alarm") this no longer > seems to work. > > This seems like a regression or is this not supposed to work? This seems like a regression and I think it was reported a while ago and then again just after you. I believe there is something to do that is smarter than reverting the patch, I need to check. Regards -- Alexandre Belloni, co-owner and COO, 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