Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1351828

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning
Date 2016-03-07 18:40 +0100
Message-ID <ra7iq-5Vi-19@gated-at.bofh.it> (permalink)
References <ra5JE-4Li-7@gated-at.bofh.it> <ra6w3-5kV-21@gated-at.bofh.it> <ra6Z4-5LX-27@gated-at.bofh.it> <ra78L-5Qh-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 7 Mar 2016 18:24:12 +0100 (CET)
Jiri Kosina <jikos@kernel.org> wrote:

> > So, if Clang is producing wrong X86 code here, is it possible to turn 
> > interrupts on/off manually? But, hmm that affects other places as well 
> > in the Linux sources, so.  
> 
> This issue needs to be handled in the compiler.
> 

Exactly. The compiler may get away with this in userspace (maybe), but
for the kernel, it is definitely a show stopper. Especially if it knows
that an asm() may be called.

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Sedat Dilek <sedat.dilek@gmail.com> - 2016-03-07 17:00 +0100
  Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Sedat Dilek <sedat.dilek@gmail.com> - 2016-03-07 17:30 +0100
  Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Alan Stern <stern@rowland.harvard.edu> - 2016-03-07 17:50 +0100
    Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Jiri Kosina <jikos@kernel.org> - 2016-03-07 18:10 +0100
      Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Sedat Dilek <sedat.dilek@gmail.com> - 2016-03-07 18:20 +0100
        RE: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning David Laight <David.Laight@ACULAB.COM> - 2016-03-07 18:40 +0100
          RE: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Alan Stern <stern@rowland.harvard.edu> - 2016-03-07 19:10 +0100
            Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-07 19:40 +0100
    Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Steven Rostedt <rostedt@goodmis.org> - 2016-03-07 18:10 +0100
    Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Steven Rostedt <rostedt@goodmis.org> - 2016-03-07 18:20 +0100
    Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Sedat Dilek <sedat.dilek@gmail.com> - 2016-03-07 18:20 +0100
      Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Jiri Kosina <jikos@kernel.org> - 2016-03-07 18:30 +0100
        Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Steven Rostedt <rostedt@goodmis.org> - 2016-03-07 18:40 +0100
          Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Andy Lutomirski <luto@amacapital.net> - 2016-03-07 19:10 +0100
            Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning Steven Rostedt <rostedt@goodmis.org> - 2016-03-07 20:20 +0100

csiph-web