Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1233876
| From | Sedat Dilek <sedat.dilek@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions |
| Date | 2015-09-28 08:30 +0200 |
| Message-ID | <qdA6J-613-7@gated-at.bofh.it> (permalink) |
| References | <qddDc-7ru-7@gated-at.bofh.it> <qdeIV-vP-9@gated-at.bofh.it> <qdeIV-vP-7@gated-at.bofh.it> <qdzNn-5Ey-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Sep 28, 2015 at 8:03 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> * Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
>> [ 23.874836] BUG: sleeping function called from invalid context at
>> kernel/workqueue.c:2678
>> [ 23.874902] in_atomic(): 0, irqs_disabled(): 1, pid: 1411, name: acpid
>>
>> $ grep LOCKDEP /boot/config-4.3.0-rc2-438.1-llvmlinux-amd64
>
> Was this kernel built with LLVM?
>
> If yes then please do not report it as 'bugs' to lkml, unless you can also
> reproduce it under GCC. Please bring it up with the LLVM folks.
>
My apologies for flooding the ML.
Yes, this kernel was build with LLVM.
This snippet makes the BUG line go away for me.
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -731,6 +731,7 @@ void usbhid_close(struct hid_device *hid)
*/
spin_lock_irq(&usbhid->lock);
if (!--hid->open) {
+ trace_hardirqs_off();
spin_unlock_irq(&usbhid->lock);
hid_cancel_delayed_stuff(usbhid);
if (!(hid->quirks & HID_QUIRK_ALWAYS_POLL)) {
@@ -1392,6 +1393,8 @@ static void usbhid_disconnect(struct usb_interface *intf)
static void hid_cancel_delayed_stuff(struct usbhid_device *usbhid)
{
+ might_sleep();
+
del_timer_sync(&usbhid->io_retry);
cancel_work_sync(&usbhid->reset_work);
}
What does this say to me?
HID problem?
CLANG problem?
Not sure, still digging into it.
- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 08:30 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 09:40 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-09-27 17:50 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 18:00 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 18:20 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 18:30 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-09-27 18:50 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-09-27 18:50 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-27 19:30 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-09-27 19:50 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Ingo Molnar <mingo@kernel.org> - 2015-09-28 08:10 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-28 08:30 +0200
Re: [GIT PULL rcu/urgent] Fix two more 4.3 regressions "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-09-27 09:40 +0200
csiph-web