Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2463180rdh; Sun, 29 Oct 2023 18:13:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUT0JkCgnjAWbF3aRj0QRP/dAXZ/aAQlJvkfU5P8YPvauTCzkJ0OTzal8zDsz+oYieCeuD X-Received: by 2002:a05:6358:6f09:b0:168:e2d5:ddcc with SMTP id r9-20020a0563586f0900b00168e2d5ddccmr11216167rwn.7.1698628437358; Sun, 29 Oct 2023 18:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698628437; cv=none; d=google.com; s=arc-20160816; b=mCtaIaulCnvDjLGrBQ5DOqTWWQdcWPbJem0bhkjlv2mi7bnoNt6avqMpBiI6XSCZ+Z Qf38zUYb+fe9/TKjWs+t8pVFla0B7N/HApC0eGRZeOBC691YHwzyHNN9ECKkht/jEM17 /Y9pcvnVzzyJNAV2niJZKCKdMC+Z1Ko85y7UnUW+vK/0fnB4slFIwwMlpB7E/mv0aT3N /O2heL7gn7sijgUojXgdTx5MGUwbl+I8Atq6lUwnHBb9ygGgU3VbbMr9wF4nLNDV5DXV 9Y4/fo6Ml8g4d93Yo9I1PkA/9RANB2Ob8FpUTIyLg2XxFBmI4LAbFmMVnpfGc+9kvIsX WKKQ== 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=CM76VELg8yRF9N2N/Qz4+zJQH0u4ctzk5oy/OV0miPA=; fh=Qh0dv/dEpvPXbeM4SRIxsG+bSOLs0zu6p1ucvz0twfU=; b=fDl9LU59hj4Nn4ZuXIgj6nxl6igwDG5AchZS5RJN+L5SJxxoeEUre+ZCe7W24gz5wv ceK6cX6LT2/DLLS4LGZx5RHx1Gt5VHaMWEVoruTLmuyjLRoTS3IGjODCeBI7N3R4wwxC HKH4ep1Z3AV4lr5EvSHLF6zCF4hHb3kl5421O/nveq1QJoLfrnvEs/CH8kslRwftQH0h mqtWlO8iui2oYCVvcpq7B9TY2so50HhHoI5eVXdgguRvMwopBJzm33w/FhegZAft7wsY XbICbfSAfVXnTzFPKXx/bGQtg8r8GtFDJ15yaigzEMYVLfotBQaJREG3vyTkDMqEEwu9 hU4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=eD0BWt7f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id c14-20020a634e0e000000b005b863258361si4246544pgb.45.2023.10.29.18.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 18:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=eD0BWt7f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id D828A8094D75; Sun, 29 Oct 2023 18:13:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbjJ3BAu (ORCPT + 99 others); Sun, 29 Oct 2023 21:00:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjJ3BAt (ORCPT ); Sun, 29 Oct 2023 21:00:49 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15ED9BD; Sun, 29 Oct 2023 18:00:45 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id CEBC71BF203; Mon, 30 Oct 2023 01:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1698627644; 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=CM76VELg8yRF9N2N/Qz4+zJQH0u4ctzk5oy/OV0miPA=; b=eD0BWt7fD4oaM1J7IRlRwqIh7vBROnZOd8XG/HrlKie5sJZUTOz3rb/4zCVBMTHMxocQ6q THiIlTQS3CKMbO+xDHCYg3mhMB+ge27DkoTS2boc23zg41PG8D75yOGq/4IdS3FGFcHOqJ Nlojdl2be0WQL8BVZhMckd68udRh/kIezcSui8ULTLf62iVBFDGS35wtShrczWbLBuKt1c bs+7YFOnUL+mOhihjpKzI1NuFcaIIbOQWNAqQ7eXy7woZskg3cnyP7z31wk4AO44lep8M6 JjbLGVIvE9JNR+cRzou8Khm/b7Kw3gV8h3PxgjwzRyG0ooZR1mpsbC1M+PQECA== Date: Mon, 30 Oct 2023 02:00:43 +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: <202310300100434b7ed65b@mail.local> References: <20230915152238.1144706-1-linux@roeck-us.net> <169862665994.296255.17369001298571068518.b4-ty@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <169862665994.296255.17369001298571068518.b4-ty@bootlin.com> 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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 29 Oct 2023 18:13:55 -0700 (PDT) On 30/10/2023 01:44:55+0100, Alexandre Belloni wrote: > > 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 > Actually, this is already in tip but I didn't get the notification. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com