Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1257714imu; Wed, 9 Jan 2019 14:42:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN6H0SLp+s0qgxYUEMosS/d9AgADHjZLsJq6a1O4H1pbB5X6gqtbbk0ygKpQuyxwKh1Q4AsK X-Received: by 2002:a63:c904:: with SMTP id o4mr7044339pgg.331.1547073751433; Wed, 09 Jan 2019 14:42:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547073751; cv=none; d=google.com; s=arc-20160816; b=JINVdPLZ7HdvAB0TKGvoIdL8enk2tB6N7iqXHMArYw5XBIeh/gUoezb0PUzfTExmRO lpKl4bgz/HdzuhGr+T21dozJ2bGazOSnIfCeu3xLkVlsdktfGvNVeSQF8kWG9hzICrEA 5Ik/c2ckNTmXCC73yRNUXjG1e3GcouA+LOlY0fBWAZYjzXeFdcRU67ifigFGjEnjo6D6 pyxJlEbn2rhBEVzxiSnZ2OMEzrlLXb5+sa+Fe9TO3xtRO2DjGUVj5YCN0KhzeO2O3fvR qcS2AnfGOYG1m9pmjMf0pGY9ArZAmfNfnSTgpZQgH6jBoPdxbVfxm1megtnhi5hEUw6X oeTQ== 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; bh=mbOrBzvxpr23c/lgxXfwTc8+8FBXMZjPC223hJfy8qo=; b=xOMJqt01CsDb6tkrdHZYwZQHFTDD2dh/4m+bshIhHKtPUL32BHyi/Yo0z16odDUW8s 4LGejeE9ztq3i3a2gAwC38IYijeojdbLc4giHkvpbyoto4ZNVv+cmiI1QUg9CGtFQOPN KMcxnZizFl3EeWiqxWLU+5gtsHUrF2ALmEMy+Y69YL0aEt+uv3iWvVV5McW8CQxIC+E0 c5B825kJOFMMTB3p3ZCjVYUAsZqV4rXXayaM+jQLGomQ/wHKBWFl9+ZoRo2wFK+l/XSz VdU7f7wcgqNntLFsoyvHc/j3pvAnYgpagqejcu3j3ON3QgcRyZw3c5/htdExHwJPECyG oAPA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20si69886599pgh.241.2019.01.09.14.42.16; Wed, 09 Jan 2019 14:42: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727439AbfAIWGs (ORCPT + 99 others); Wed, 9 Jan 2019 17:06:48 -0500 Received: from mail-oi1-f178.google.com ([209.85.167.178]:45490 "EHLO mail-oi1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfAIWGr (ORCPT ); Wed, 9 Jan 2019 17:06:47 -0500 Received: by mail-oi1-f178.google.com with SMTP id y1so7608001oie.12; Wed, 09 Jan 2019 14:06:47 -0800 (PST) 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=mbOrBzvxpr23c/lgxXfwTc8+8FBXMZjPC223hJfy8qo=; b=sIRS4hZA1cEYi8d+lhHcgeKOkHV0id9gmwV9dwQgTlCs+obovfs0ibGuheJqcvB1zs RYb+CE8p/zDI0F8u/BlZzlS/Pz0652NV0UAeZiES7UrKXYgBgZ1Rfy/k7i6BQ0LqjJoz 3WizIsDg13nSpFWEvBPVmBoNjqGc1uf09+bOQWXjIGQUsuGNV2Vo8dTX2yCoP/0z9axr NssoepobcrqPD6ReCeOjPOQJDijFG6P9xmZQRJtsaylPdPO/UFqtuiX8w5b6wgUD4mx9 z4EXwbEJgxvy+Iwf3kqy9wI0lE8ez/VRID7hiLaBjHDqyjUS83pHqiOyr3SOX2C9d3Wb s99w== X-Gm-Message-State: AJcUukeUSBfoFk6pJhEPl64hn8vQSYIOYvkmtTBwnEsXNNRhbYKYB7Ze jgunXhRI7142b9lngdfOkF+e0oW1DSt35rS+F5kKUw== X-Received: by 2002:aca:6c8b:: with SMTP id h133mr5061008oic.33.1547071606398; Wed, 09 Jan 2019 14:06:46 -0800 (PST) MIME-Version: 1.0 References: <20190108213743.GN5544@atomide.com> <20190109014218.GA8363@linaro.org> <20190109111703.GA28605@lenoch> <20190109115824.GA1353@lenoch> <20190109133337.GA13579@lenoch> <20190109160736.GA7416@lenoch> <20190109172623.GB1711@lenoch> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 9 Jan 2019 23:06:34 +0100 Message-ID: Subject: Re: Regression in v5.0-rc1 with autosuspend hrtimers To: Vincent Guittot Cc: Ladislav Michl , Tony Lindgren , "Rafael J. Wysocki" , Ulf Hansson , "open list:THERMAL" , linux-kernel , LAK , Linux OMAP Mailing List 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 On Wed, Jan 9, 2019 at 7:05 PM Vincent Guittot wrote: > > On Wed, 9 Jan 2019 at 18:26, Ladislav Michl wrote: > > > > On Wed, Jan 09, 2019 at 05:32:31PM +0100, Vincent Guittot wrote: > > > On Wed, 9 Jan 2019 at 17:07, Ladislav Michl wrote: > > > > > > > > On Wed, Jan 09, 2019 at 03:12:25PM +0100, Vincent Guittot wrote: > > > > > Please keep all thread list when replying :-) > > > > > > > > Ahh, sorry for that... > > > > [snip] > > > > > On Wed, 9 Jan 2019 at 14:33, Ladislav Michl wrote: > > > > > > I agree, but it doea all the magic correctly, so you won't need > > > > > > to touch that code is ktime_t changes (I know, unlikely..) > > > > > > > > > > But the current implementation doesn't care of any changes in ktime_t > > > > > as it uses raw ns > > > > > > > > Fair enough, so let's go back to: > > > > > > This one looks good for me > > > > Lets split is for 'comments fix' patch, which was just send and 'the rest'. > > Now, 'the rest' can either be v2 of your "PM/runtime: Fix autosuspend_delay on > > 32bits arch" or will wait for 5.1. You decide :) > > I don't really mind. > > Rafael, > Do you prefer to only take the fix for u64 casting problem or do you > prefer to also take the optimization below in one single patch ? The casting problem is a bug and the optimization is next release material in my view. Please send the optimization separately.