From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: RT throttling and suspend/resume (was Re: [PATCH] i2c: omap: revert "i2c: omap: switch to threaded IRQ support") Date: Fri, 19 Oct 2012 16:54:55 -0700 Message-ID: <87391ahvao.fsf@deeprootsystems.com> References: <20121016133356.GG21801@arwen.pp.htv.fi> <87ipaanljt.fsf_-_@deeprootsystems.com> <20121017140002.GI11394@arwen.pp.htv.fi> <20121017143534.GJ11394@arwen.pp.htv.fi> <87txtsitpt.fsf@deeprootsystems.com> <20121018055136.GF11137@arwen.pp.htv.fi> <1350655227.2768.11.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:49793 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755709Ab2JSXyi (ORCPT ); Fri, 19 Oct 2012 19:54:38 -0400 Received: by mail-pa0-f46.google.com with SMTP id hz1so707819pad.19 for ; Fri, 19 Oct 2012 16:54:37 -0700 (PDT) In-Reply-To: <1350655227.2768.11.camel@twins> (Peter Zijlstra's message of "Fri, 19 Oct 2012 16:00:27 +0200") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Peter Zijlstra Cc: balbi@ti.com, Thomas Gleixner , Shubhrajyoti Datta , Paul Walmsley , linux-i2c@vger.kernel.org, Shubhrajyoti D , Wolfram Sang , Ben Dooks , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King Peter Zijlstra writes: > On Thu, 2012-10-18 at 08:51 +0300, Felipe Balbi wrote: >> > So the primary question remains: is RT runtime supposed to include the >> > time spent suspended? I suspect not. >> >> you might be right there, though we need Thomas or Peter to answer :-s > > re, sorry both tglx and I have been traveling, he still is, I'm trying > to play catch-up :-) > > Anyway, yeah I'm somewhat surprised the clock is 'running' when the > machine isn't. From what I could gather, this is !x86 hardware, right? > > x86 explicitly makes sure our clocks are 'stopped' during suspend, see > commit cd7240c0b900eb6d690ccee088a6c9b46dae815a. > > Can you do something similar for ARM? So I did the same thing for my ARM SoC, and it definitley stops the RT throttling. However, it has the undesriable (IMO) side effect of making timed printk output rather unhelpful for debugging suspend/resume since printk time stays constant throughout suspend/resume no matter how long you sleep. :( So does that mean we have to choose between useful printk times during suspend/resume or functioning IRQ threads during suspend/resume ? Kevin