<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CI][SHARDS] igt@perf_pmu@busy-idle-no-semaphores-bcs0 - dmesg-warn - WARNING: possible irq lock inversion dependency detected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111626#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [CI][SHARDS] igt@perf_pmu@busy-idle-no-semaphores-bcs0 - dmesg-warn - WARNING: possible irq lock inversion dependency detected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111626">bug 111626</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>Sigh,

The following commit has been merged into the locking/core branch of tip:

  Commit-ID:     a0855d24fc22d49cdc25664fb224caee16998683
  Gitweb:       
<a href="https://git.kernel.org/tip/a0855d24fc22d49cdc25664fb224caee16998683">https://git.kernel.org/tip/a0855d24fc22d49cdc25664fb224caee16998683</a>
  Author:        Davidlohr Bueso <<a href="mailto:dave@stgolabs.net">dave@stgolabs.net</a>>
  AuthorDate:    Thu, 24 Oct 2019 20:36:34 -07:00
  Committer:     Ingo Molnar <<a href="mailto:mingo@kernel.org">mingo@kernel.org</a>>
  CommitterDate: Tue, 29 Oct 2019 12:22:52 +01:00

  locking/mutex: Complain upon mutex API misuse in IRQ contexts

  Add warning checks if mutex_trylock() or mutex_unlock() are used in
  IRQ contexts, under CONFIG_DEBUG_MUTEXES=y.

  While the mutex rules and semantics are explicitly documented, this allows
  to expose any abusers and robustifies the whole thing.

  While trylock and unlock are non-blocking, calling from IRQ context
  is still forbidden (lock must be within the same context as unlock).

  Signed-off-by: Davidlohr Bueso <<a href="mailto:dbueso@suse.de">dbueso@suse.de</a>>
  Signed-off-by: Peter Zijlstra (Intel) <<a href="mailto:peterz@infradead.org">peterz@infradead.org</a>>
  Cc: Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>>
  Cc: Peter Zijlstra <<a href="mailto:peterz@infradead.org">peterz@infradead.org</a>>
  Cc: Thomas Gleixner <<a href="mailto:tglx@linutronix.de">tglx@linutronix.de</a>>
  Cc: <a href="mailto:dave@stgolabs.net">dave@stgolabs.net</a>
  Link: <a href="https://lkml.kernel.org/r/20191025033634.3330-1-dave@stgolabs.net">https://lkml.kernel.org/r/20191025033634.3330-1-dave@stgolabs.net</a>
  Signed-off-by: Ingo Molnar <<a href="mailto:mingo@kernel.org">mingo@kernel.org</a>>

next kernel this warning will get louder.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>