Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4970961imu; Tue, 8 Jan 2019 09:16:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN5NHCxiH/2n3mHBWzpZ4pie6UMBtSfYunyGE+wS9k6HS7CKSEs7adW555IBlxibx7SsdXkg X-Received: by 2002:a62:3943:: with SMTP id g64mr2583917pfa.114.1546967770660; Tue, 08 Jan 2019 09:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546967770; cv=none; d=google.com; s=arc-20160816; b=L5ILlmouil9ekMj881xn80tQ1CPMatAnIvhIBD868VjSgCNqs4VyoI3/UD4+xz+pAd tLjPb1B5v0hZ4ac4mE2ica64BGGVh6LG3gAVNVK7l20G7rNFNiskC81CYboFXxUFcsR0 qCKxMC+wonntqfstmaE0ExOWUj1cSIhZlNw1eyhYN3sXoAjt+xiY3l/HDVkdTs9aSz/j FVqpR8hQJo2y7+DTGGuHvywO4RZZwqge6Ye9BK8hRoc1FrP/JWq7S5U5yKC6ltOnGvbU Slqw0m5IXAeIxAncB4fP22yiejX+vqa3pn8mLyPjUYUt0jDPhlToX6OK9BXVmH5fSi6R L4zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=poGtQt6jT7aOhIXdJ4aTMT5qpSxbfj2AKakopZ2erLU=; b=0DI0UoACnk4wbpjqSh/snqamN0n/ax92qtyzwqbn4fACfxsWW4vI3kSoRqCL9OF3fJ T/izjJObndrzWBBahuFRUaq6apyO67R2Tz3alU6iT3s9x0iuaug/k3Daula3TZywCgug k3bfaxpwyKYcDzorJGtsC7hNJfL56kbxBqRiTEUPzgsnLQznKj9sTJgd4BbNFl+cTkui +8vZohl+6SgzeK6+kXhlN7PMSjheq7FO8euL6pVJJWiX5VmioXC8dBN4aO35ee47RkLe ve3WTLdKZdXR0H/2expI+D/gJ9gwmUIhK62jhfEnouqO+lUZX62bomulNfHFff8DklU3 hJew== 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 l4si505409pgr.346.2019.01.08.09.15.55; Tue, 08 Jan 2019 09:16:10 -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; 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 S1729094AbfAHPx6 (ORCPT + 99 others); Tue, 8 Jan 2019 10:53:58 -0500 Received: from muru.com ([72.249.23.125]:60710 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727840AbfAHPx6 (ORCPT ); Tue, 8 Jan 2019 10:53:58 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 19FC88080; Tue, 8 Jan 2019 15:54:04 +0000 (UTC) Date: Tue, 8 Jan 2019 07:53:54 -0800 From: Tony Lindgren To: Vincent Guittot Cc: "Rafael J. Wysocki" , Ulf Hansson , "open list:THERMAL" , linux-kernel , LAK , linux-omap@vger.kernel.org Subject: Re: Regression in v5.0-rc1 with autosuspend hrtimers Message-ID: <20190108155354.GL5544@atomide.com> References: <20190107233833.GI5544@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Vincent Guittot [190108 08:00]: > 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 ? It's set to 3 seconds. The difference between let's say C-A9 pandaboard (that is working) compared to C-A15 omap5-uevm is that the C-A15 has arch_timer in use. Other than that things should behave more or less the same way. Hmm so could it be that we now rely on timers that that may not be capable of waking up the system from idle states with hrtimer? Regards, Tony