Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702970
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock |
| Date | 2017-08-03 13:40 +0200 |
| Message-ID | <uamDU-7Ls-23@gated-at.bofh.it> (permalink) |
| References | <u9gTT-5Ah-5@gated-at.bofh.it> <uaksq-6mu-11@gated-at.bofh.it> <uakVs-6xq-21@gated-at.bofh.it> <ualeQ-6Uy-55@gated-at.bofh.it> <uamDU-7Ls-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 3 Aug 2017, Coelho, Luciano wrote:
> Okay, so as I understand it the problem has been there for a long time,
> but the splat is only coming up now because of Thomas' patch that adds
> the lockdep map[1], right?
Yeah, sorry, forgot to mention that pre-49dfe2a67797 kernels wouldn't
produce this, as there would not be aware of the fact that
cpus_read_lock() is actually semantically a lock.
> I see the workqueue allocation you mentioned. I'll try to move this
> allocation out of the mutex and see how it goes.
I have been briefly looking into this as well -- it'll basically have to
be moved out of the trans_pcie->mutex context, but
(a) I'm not sure whether that's actually safe
(b) iwl_pcie_rx_reuse_rbd() (which is where corresponding work is being
queued) is not a proper context either (it's atomic context)
Thanks,
--
Jiri Kosina
SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 11:20 +0200
Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock "Coelho, Luciano" <luciano.coelho@intel.com> - 2017-08-03 11:50 +0200
Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Kalle Valo <kvalo@codeaurora.org> - 2017-08-03 12:10 +0200
Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 13:40 +0200
Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock Jiri Kosina <jikos@kernel.org> - 2017-08-03 15:10 +0200
Re: [linuxwifi] x86/thermal: AB-BA dependency between mvm->mutex and tz->lock "Coelho, Luciano" <luciano.coelho@intel.com> - 2017-08-03 13:40 +0200
csiph-web