Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1310073
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mark Brown <broonie@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: Lockdep warning when using REGCACHE_RBTREE |
| Date | Fri, 15 Jan 2016 13:00:02 +0100 |
| Message-ID | <qRbcS-5yd-7@gated-at.bofh.it> (permalink) |
| References | <qQYIG-5f6-19@gated-at.bofh.it> <qR9b4-4eJ-15@gated-at.bofh.it> |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="R6pG8OF89Zv1WQ+4" |
| Content-Disposition | inline |
| X-Cookie | APL hackers do it in the quad. |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| X-Sa-Exim-Connect-IP | 2a01:348:6:8808:fab::3 |
| X-Sa-Exim-Mail-From | broonie@sirena.org.uk |
| X-Sa-Exim-Version | 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) |
| X-Sa-Exim-Scanned | Yes (on mezzanine.sirena.org.uk) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 40 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Stefan Agner <stefan@agner.ch>, festevam@gmail.com, mingo@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org |
| X-Original-Date | Fri, 15 Jan 2016 11:49:46 +0000 |
| X-Original-Message-ID | <20160115114946.GV6588@sirena.org.uk> |
| X-Original-References | <afeb9e00e3082de585cfa458a0f47c56@agner.ch> <20160115094541.GH3421@worktop> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1310073 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Fri, Jan 15, 2016 at 10:45:41AM +0100, Peter Zijlstra wrote: > So _regmap_write() does: map->lock(map->lock_arg) > Which isn't very enlightening, since that can be a mutex or a spinlock, > the above strongly suggests spinlock though. > Looking at __regmap_init(), this seems to depend on: > (bus && bus->fast_io) || config->fast_io > now, afaict, regmap_mmio is used in this case, which has .fast_io = > true. > So yeah, fail. Indeed, that'd do it. It hadn't occurred to me that someone would be using MMIO with an rbtree cache.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Lockdep warning when using REGCACHE_RBTREE Stefan Agner <stefan@agner.ch> - 2016-01-14 23:40 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Mark Brown <broonie@kernel.org> - 2016-01-15 01:10 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Stefan Agner <stefan@agner.ch> - 2016-01-15 02:20 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Mark Brown <broonie@kernel.org> - 2016-01-15 17:30 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Stefan Agner <stefan@agner.ch> - 2016-01-15 20:20 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Peter Zijlstra <peterz@infradead.org> - 2016-01-15 10:50 +0100
Re: Lockdep warning when using REGCACHE_RBTREE Mark Brown <broonie@kernel.org> - 2016-01-15 13:00 +0100
csiph-web