Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2454881rdh; Sun, 29 Oct 2023 17:45:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGxpvx1RR/zUdb6FngBgC7unKvEUv9VcHUNt9k6U1Wbtf8A7LFj7Q2t0Ua1YVurqMX5Llx X-Received: by 2002:a05:6a21:778a:b0:16b:7602:1837 with SMTP id bd10-20020a056a21778a00b0016b76021837mr7404527pzc.29.1698626715694; Sun, 29 Oct 2023 17:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698626715; cv=none; d=google.com; s=arc-20160816; b=qJsXsY4q785JnsL3vma0jTzgDnoz+kt1OGayIUmPiSa01EqySafFPPU/yl28a5uDmK VXjd3vw8x+D26Y2FHvMdp4oFWeR7PuChQqqJCx/bBCzok8OmZAPssJIt7VmXe6WN6k57 K36I3ighCHf/oD8NigtsDdavrbEpWVS0WR7XlVqE7YLs/xa/u9spFVPVHsBdUQVi9O7z lQI0j/prB0skbXHHAjkQ8SwjRC0xXLdXzeOOGMc2xxszqsu8lMe85pmAnwfQhzoIoLPl wSOl3EeAunKKFjZ0fTC7NUHQMOAQ69YPrVtcNUTdweADBZL0AGnijSLLZjTxUHFkr5nu QbQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kd9sLOcMMocLV175wLPiLGXs3b5Bj/22gAGv9j68f7E=; fh=Qh0dv/dEpvPXbeM4SRIxsG+bSOLs0zu6p1ucvz0twfU=; b=StKZKDPNRbReC4DrNJusQGMpGPh6+ckw7C+fPnLZAqZ/yTn3//t8ZPhzzBICGCnzuC cL0e4gTDoRxqEAmkfjhrUPODXB89MYX4LomI32A2aSLv1POQDih+PHnmaDsr/GXhCTLn f1926AHYknm0o/8qOFI0CFWuLy9bDH2Uh+8FrCyZpHvWowMs9nf0RRsnuobheM/wZqRM UwDgPEP5HgRVYGo5m1zRDEBb59C6y5r319zmJx1GTwslpcSPcbYsSdh/f0etAkwPEwf+ 8eJK7n+PoobseJ3+1eyt/SEyO97StfzIQKf9q0XT9i993gWuDzkzZzyBY0vG5tT62mMh al/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="eMfQmjI/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y73-20020a638a4c000000b005b7c7efed1csi4139376pgd.295.2023.10.29.17.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 17:45:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="eMfQmjI/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8B832808E563; Sun, 29 Oct 2023 17:45:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230495AbjJ3ApB (ORCPT + 99 others); Sun, 29 Oct 2023 20:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjJ3ApB (ORCPT ); Sun, 29 Oct 2023 20:45:01 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DFC7BA; Sun, 29 Oct 2023 17:44:57 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5210C60002; Mon, 30 Oct 2023 00:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1698626695; 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=kd9sLOcMMocLV175wLPiLGXs3b5Bj/22gAGv9j68f7E=; b=eMfQmjI/ZhpQPs9jjJINnL3RQL0QKRhiLBClr7b/1igTAsLyPXeph4B7Tlda7uv8Eumdh1 aPoUv56g2e2w6H/h9pVZJXTZwQyvrQsCkp0KzYHHu78GV5PYEtzYaFh2CXAZca1+fndhak 9YfS2obxbhzJ7BCC7VOfgIouKULquXFEhBy/pL3ZwFqSLfqWbQGUOtEjl2fyJE1zSeZ7QC RNbDfL5XcmQHPCUf/pRR1IxKcpm0tuRj+tQYpG6yC31ZVl2DX7ORJ2QZh+IoLXyBpchNiI AE2xk3aS8n2w+tUZHt9qU2bmjemvwMCCxkWXi//9mx38s6aKUxpWD1bsl8UB7w== Date: Mon, 30 Oct 2023 01:44:55 +0100 From: Alexandre Belloni To: John Stultz , Guenter Roeck Cc: Alessandro Zummo , Thomas Gleixner , Stephen Boyd , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Norris Subject: Re: [PATCH v2 0/2] rtc: alarmtimer: Use maximum alarm time offset Message-ID: <169862665994.296255.17369001298571068518.b4-ty@bootlin.com> References: <20230915152238.1144706-1-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230915152238.1144706-1-linux@roeck-us.net> X-GND-Sasl: alexandre.belloni@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 29 Oct 2023 17:45:10 -0700 (PDT) On Fri, 15 Sep 2023 08:22:36 -0700, Guenter Roeck wrote: > Some userspace applications use timerfd_create() to request wakeups after > a long period of time. For example, a backup application may request a > wakeup once per week. This is perfectly fine as long as the system does > not try to suspend. However, if the system tries to suspend and the > system's RTC does not support the required alarm timeout, the suspend > operation will fail with an error such as > > [...] Applied, thanks! [1/2] rtc: Add API function to return alarm time bound by rtc limit commit: b0790dc7419f334574fc5416690913ab4c9e9ba5 [2/2] rtc: alarmtimer: Use maximum alarm time offset commit: f628128dfe77f6e475507798b0f7ed25831ae893 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com