Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4453993imu; Tue, 8 Jan 2019 00:01:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN74lH0qV8c8rdh9UKWuvSa6Rl8vlgeqETq7y1icn9vd63ykJkoFmtKgRx89FaQnjKzQi5fZ X-Received: by 2002:a17:902:2969:: with SMTP id g96mr730830plb.295.1546934491554; Tue, 08 Jan 2019 00:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546934491; cv=none; d=google.com; s=arc-20160816; b=YDSRXuPLXiS4QlSkoW8nTKMBRVFQdFd4A8RzoHl3IPwxZ+YEItrp6hmE7Cv9Qo3TRN E2Oi4LwAsN95Cxgaw5xclElgn7/rmlu13+saDLXDxBjFZ/9JWuZYLODmxOmUA9X8Om9+ x620s82DTBxuNNPaptQz54xUdvjUvh3fuvHqAVIXWVzjIKEbnbJOH+0QJohw+Xdh2D+g +xps9rxdM2h6o33YqrBhh0j5CoZ8iZNRyEqnvc5LafBMQw7wb4V2AxAhLZ4ypfUjoeZJ y2jFKmymZK2BcHRWzpYCF/BLUm91m2KgXuJPjK4bXc1+A8BCaNUJRFR2lczSGizq8lw5 x6AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=n80u3Bj0sRgCZ2Ib0Abtxqm5mtdRub1PL/fORDN6hnY=; b=rqArBfGxrJ1NfHLbXKd7rP6MD9EOoV6T7btpeDchYA6E4QHXE9VfBTzH8mX+E5kb8U nnsaKIGgZIsoqCfkfC3UHIIPNBdgh1/GoAxyxksgaSF217xjPXpHcA2jYrfZXRY0bh1C 6X3veg/oDJCueBacvAnnUkXjVxjvSY5yAvFjJdoFv4UThnK1Ij4gVFl0DcK3QB2rkEjo 5/9FSvMtPN8s88X3UJoZOR4gopShA0rONer/CvOAMefjO88tcAy1DfTx+0irDd1qy+8t r/smwuwlAvkt59bIRpmbkqEw7Krqxs2q/G/liDWCvdAoraHiOh7eQcVd8+3rxDY9S0OB vglg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FYL63tw/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si46378561plp.130.2019.01.08.00.01.15; Tue, 08 Jan 2019 00:01:31 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b="FYL63tw/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727954AbfAHIAI (ORCPT + 99 others); Tue, 8 Jan 2019 03:00:08 -0500 Received: from mail-io1-f53.google.com ([209.85.166.53]:39462 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727473AbfAHIAI (ORCPT ); Tue, 8 Jan 2019 03:00:08 -0500 Received: by mail-io1-f53.google.com with SMTP id k7so2456394iob.6 for ; Tue, 08 Jan 2019 00:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n80u3Bj0sRgCZ2Ib0Abtxqm5mtdRub1PL/fORDN6hnY=; b=FYL63tw/QA90Ex09/G/sBbeL30LHGYI+8z03Z1/5O/1TtRMLuUNTgTE8VumYE/cXlL nPU9jRF5B/ofMmki6ZZl227e7+f5XdetHdD4Ihri/acNdR3FvyMlhMfQQWc8RDgDJRnJ stp71yeQIw7IF5rcPshtpeb1dfBtXUWb1U3lA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n80u3Bj0sRgCZ2Ib0Abtxqm5mtdRub1PL/fORDN6hnY=; b=Grn5Fx7Sc7u+2A6HwFsaVS7i9beNMwVRTId0tUm2j6OgrjMrLCnLrn3fDEHizh6Uje benGTEmbdfsyXzA/3FwUMN3mNxsHd4i1XtrIEiB4OawxCAW2JiyBkVR/iYCtejRSdXba uJjAWGD3w34odRfRynNO/l3pNYsHpZJlNmrTqnkMkywEYnVys+kNfJpQ6OghPkKRamA4 uTsfbcyqgqgkVJrXUhRI5YqhZgTCTyJS4EbbZcYUPLLmSwMRu+RK2zBszRRfLTgOEZPf zeaDEfPP3JgVpaHtW7hpg1DxT/R3Y6x67O+BjZp5rG4uF9miTWEeoq+hkryleRXjNCCI mTYA== X-Gm-Message-State: AJcUukdKA0vRyL0WuzNmFSrurrWcHMgg1xwhEoVs5uFAvShSqdllAnQa JtT+qopDReUh9/EFTjsAnM6dSt0/HUoiRPlRo03VJw== X-Received: by 2002:a6b:c8c9:: with SMTP id y192mr375125iof.183.1546934407614; Tue, 08 Jan 2019 00:00:07 -0800 (PST) MIME-Version: 1.0 References: <20190107233833.GI5544@atomide.com> In-Reply-To: <20190107233833.GI5544@atomide.com> From: Vincent Guittot Date: Tue, 8 Jan 2019 08:59:56 +0100 Message-ID: Subject: Re: Regression in v5.0-rc1 with autosuspend hrtimers To: Tony Lindgren Cc: "Rafael J. Wysocki" , Ulf Hansson , "open list:THERMAL" , linux-kernel , LAK , linux-omap@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tony, On Tue, 8 Jan 2019 at 00:38, Tony Lindgren wrote: > > Hi all, > > Looks like commit 8234f6734c5d ("PM-runtime: Switch autosuspend > over to using hrtimers") caused a regression on at least > omap5-uevm where 8250 UART rx wake no longer works. I have not > noticed this happening on others so far. > > The devices I've tested all are using 8250 with dedicated > wakeirqs configured for the rx pin. I can see the interrupt > increase on omap5-uevm after some one or more keypresses, > but then nothing. It seems that the uart just falls back > asleep right away or something. > > Any ideas what might be going wrong? What is the autosuspend value ? Can it be that the autosuspend is set to a short value but was finally greater than 10-20ms on arm32. And now the autosuspend happens before and this has changed the sequence ? Regards, Vincent > > Regards, > > Tony >