Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2605635ybe; Tue, 3 Sep 2019 15:50:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMhgDL5gYBumyi8FFkpkL/juzCBz6Mutuwq6jrwuWmYIW4CfN7hHbZjVoMDpWvxCjZPTmV X-Received: by 2002:aa7:9202:: with SMTP id 2mr10092938pfo.81.1567551038430; Tue, 03 Sep 2019 15:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567551038; cv=none; d=google.com; s=arc-20160816; b=hQFZ5BAmt4rgfSqRpinn54h1pp/MbxvNurwjJzSQx4yo/R+cVNA1Gv6VvkWiM/85lp 47pMdJFX2Fg5w5j7t+/pvGX6F38FqoEUGwvspuW4oagGbeLFTN3/cVMeh7dG9sOAZbhR CG5BB0g5loghdqETO6CMywIcFBKYPcJ8rh81aQC33aGSJHDaBLGh+AH7knH8gYcVE9De j4h+i7qDn5/SgjIu23oRnAEQFPQiRmMdtPJYxIlP91gPXivVDoleSqbQPK/0UdT59EgK KCtUSAYobhs6Mt+ShQ9oLIIpbk78de1+RYFLAyOQifu2n/mSAhGXwyv09o5avc9K+c9J 3Mfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=sfNA3h4/dDi665hFugvcHQWx5lQT9JIMdlBjH/ARhVA=; b=ZEd0I9JKCQYJ15lsuk4hkPfIEoKebnW69M4vLkyzeKoroaLDaX1rVsczjHabaQRg3V pQBq0mbJcDGIJLKTdp0cYbKsqmGhC6/V7fEXR1uwFZMR6vqZon6UXjMWmyNq7fggEHnv HQk4ajsl2ce0g1+D5QUQy1Uguwh9qjR927MiuR3AVK3yjAsSShS8j8Gr/BaGIG0DcR1r rEHUe3V/NazYgMnvi30gMsfkq/Wy/mmuEJgsmjUG+5LLqv/tO58BSiHOF+vJJziT54fN USzIrrE4VCGM0G+Vzik7BwTv8jLbuys/VeqKoeyUkjKsrS8Mn95FxVfKxHEV0Xp8slbx tpWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si6997481plq.333.2019.09.03.15.50.21; Tue, 03 Sep 2019 15:50:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbfICWt3 (ORCPT + 99 others); Tue, 3 Sep 2019 18:49:29 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:34764 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbfICWt3 (ORCPT ); Tue, 3 Sep 2019 18:49:29 -0400 Received: from p5de0b6c5.dip0.t-ipconnect.de ([93.224.182.197] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i5Hc2-0006tz-Pu; Wed, 04 Sep 2019 00:49:23 +0200 Date: Wed, 4 Sep 2019 00:49:21 +0200 (CEST) From: Thomas Gleixner To: Michael cc: Alexandre Belloni , linux-rtc@vger.kernel.org, John Stultz , Stephen Boyd , linux-kernel@vger.kernel.org Subject: Re: Problem when function alarmtimer_suspend returns 0 if time delta is zero In-Reply-To: <4fc3a016-ec2f-a15e-5fd1-6794a001e2d9@mipisi.de> Message-ID: References: <08fbdf25-faa1-aa13-4f13-d30acbf27dda@mipisi.de> <20190902074917.GA21922@piout.net> <4fc3a016-ec2f-a15e-5fd1-6794a001e2d9@mipisi.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Sep 2019, Michael wrote: > Thomas, > > thank you very much for your patch. Unfortunately currently I can only test it > with a kernel 4.1.52 but i've tried to patch > your new logic into my older kernel version. https://people.kernel.org/tglx/notes-about-netiquette