From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH] Input: pwm-beeper - fix: scheduling while atomic Date: Wed, 18 May 2016 09:06:01 -0700 Message-ID: <20160518160601.GB5407@kroah.com> References: <56C4735E.6020300@gmx.at> <20160222194639.GD26177@dtor-ws> <20160512121852.GB26824@ulmo.ba.sec> <5735F4E3.20008@gmx.at> <573C8761.9070601@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:35018 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752977AbcERQGI (ORCPT ); Wed, 18 May 2016 12:06:08 -0400 Content-Disposition: inline In-Reply-To: <573C8761.9070601@gmx.at> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Manfred Schlaegl Cc: Thierry Reding , Dmitry Torokhov , Manfred Schlaegl , Luis de Bethencourt , Olivier Sobrie , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, May 18, 2016 at 05:16:49PM +0200, Manfred Schlaegl wrote: > Pwm config may sleep so defer it using a worker. > > Trigger: > On a Freescale i.MX53 based board we ran into "BUG: scheduling while > atomic" because input_inject_event locks interrupts, but > imx_pwm_config_v2 sleeps. > > Tested on Freescale i.MX53 SoC with 4.6.0 and 4.1.24. > > Unmodified applicable to > * 4.6 (stable) > * 4.5.4 (stable) > * 4.4.10 (longterm) > * 4.1.24 (longterm) > > Modified applicable to > * 3.18.33 (longterm) What does this all mean? Have you read Documentation/stable_kernel_rules.txt for how to mark things for stable inclusion? thanks, greg k-h