Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754519AbcC3Ppk (ORCPT ); Wed, 30 Mar 2016 11:45:40 -0400 Received: from mga02.intel.com ([134.134.136.20]:63918 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753990AbcC3Ppj (ORCPT ); Wed, 30 Mar 2016 11:45:39 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,416,1455004800"; d="scan'208";a="678055641" From: "Pandruvada, Srinivas" To: "edubezval@gmail.com" , "srikars@nvidia.com" CC: "Zhang, Rui" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "mlongnecker@nvidia.com" Subject: Re: [PATCH v2] thermal: add sysfs_notify on some attributes Thread-Topic: [PATCH v2] thermal: add sysfs_notify on some attributes Thread-Index: AQHRfw+EtbHsrnt/jkqwyrCo77I33J9wLdYAgAGoHQCAANfAAA== Date: Wed, 30 Mar 2016 15:45:35 +0000 Message-ID: <1459352752.13525.51.camel@intel.com> References: <1457979156-10972-1-git-send-email-srikars@nvidia.com> <1458079520.4486.39.camel@intel.com> <20160329013540.GA15615@localhost.localdomain> <56FB3FB4.1010308@nvidia.com> In-Reply-To: <56FB3FB4.1010308@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.199.80] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u2UFjkYK023414 Content-Length: 1275 Lines: 37 On Tue, 2016-03-29 at 19:53 -0700, Srikar Srimath Tirumala wrote: > On 03/28/2016 06:35 PM, Eduardo Valentin wrote: > > > > On Tue, Mar 15, 2016 at 11:08:00PM +0000, Pandruvada, Srinivas > > wrote: > > > > > > On Mon, 2016-03-14 at 11:12 -0700, Srikar Srimath Tirumala wrote: [...] > > I have created a wiki for LPC 2016 > > http://wiki.linuxplumbersconf.org/2016:thermal > > > > Overall I believe we need to solve the (temperature) sensing in a > > more > > structured way within the kernel. We have three subsystem that > > allow > > performing temperature sensing. They are different in design and > > concept, but still solve similar problems. > > > I went through the LPC presentation/patches and had a couple of > questions. > > The thermal iio device seems perfectly suited for sending large > amounts  > of thermal data from the kernel framework to user space. Are there a > lot  > of platforms where thermal throttling happens in user space? Yes.  > If so, Is  > this an indication that passive thermal throttling is going into the  > user space some time in the future? Not really. Kernel takes care about more immediate/urgent needs. User space is more about long term control, where you will prevent aggressive controls from kernel. Thanks, Srinivas