Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Lars-Peter Clausen Newsgroups: linux.kernel Subject: Re: [PATCH v2] iio: fix sched WARNING "do not call blocking ops when !TASK_RUNNING" Date: Sun, 21 Aug 2016 15:00:01 +0200 Message-ID: References: X-Original-To: Jonathan Cameron , Brian Norris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: lars@metafoo.de Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 14 Organization: linux.* mail to news gateway X-Original-Cc: Hartmut Knaack , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Brian Norris , Peter Zijlstra , Ingo Molnar X-Original-Date: Sun, 21 Aug 2016 14:26:47 +0200 X-Original-Message-ID: <02f8f093-9544-29b1-2e96-2a897053f916@metafoo.de> X-Original-References: <20160802011244.GA54171@google.com> <37ea974c-9ac6-5a40-0f0e-ee34ef605a08@metafoo.de> <20160802165732.GA3310@localhost> <9a6a7f54-0343-db74-57a2-9f747ae659cc@metafoo.de> <20160804082621.GA11331@localhost> <20160809001937.GA23658@google.com> <7e9386ee-176d-6959-9950-6f4c967921e4@kernel.org> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1466973 On 08/21/2016 01:21 PM, Jonathan Cameron wrote: [...] > I've applied to this to the fixes-togreg branch of iio.git > > For now I haven't marked it for stable, purely because I'm not sure > when the first 'problem' usage was introduced. I'm happy to explicitly > send a request for stable inclusion if anyone wants to track down > which stable trees this is applicable to. > > I've very low on time today (holiday catch up) so won't get to > dig into it myself for a at least a few weeks. The issue has been around for a bit longer, but the wait_woken() infrastructure has only available since v3.19.