From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755815AbcIFNdU (ORCPT ); Tue, 6 Sep 2016 09:33:20 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:38796 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754884AbcIFNdS (ORCPT ); Tue, 6 Sep 2016 09:33:18 -0400 Date: Tue, 6 Sep 2016 14:32:51 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Message-ID: <20160906133251.GR3950@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DQyH/uhjXcCb0idi" Content-Disposition: inline X-Cookie: FEELINGS are cascading over me!!! User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 188.29.165.1 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: [GIT PULL] regmap fixes for v4.8 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --DQyH/uhjXcCb0idi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The following changes since commit 3eab887a55424fc2c27553b7bfe32330df83f7b8: Linux 4.8-rc4 (2016-08-28 15:04:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v4.8-rc5 for you to fetch changes up to 787ad90332b3573d502a6c1aff52f708ca141976: Merge remote-tracking branch 'regmap/fix/rbtree' into regmap-linus (2016-09-03 12:10:09 +0100) ---------------------------------------------------------------- regmap: Fixes for v4.8 Several fixes here, the main one being the change from Lars-Peter which I'd been letting soak in -next since the merge window in case it uncovered further issues as it's a minimal fix rather than a change addressing the root cause of the problems (which would've been too invasive for -rc): - The biggest change is a fix from Lars-Peter to ensure that we don't create overlapping rbtree nodes which in turn avoids returning corrupt cache values to users, fixing some issues that were exposed by some recent optimisations with certain access patterns but had been present for a long time. - A fix from Elaine Zhang to stop us updating the cache if we get an I/O error when writing to the hardware. - A fix fromm Maarten ter Huurne to avoid uninitialized defaults in cases where we have non-readable registers but are initializing the cache by reading from the device. ---------------------------------------------------------------- Elaine Zhang (1): regmap: drop cache if the bus transfer error Lars-Peter Clausen (1): regmap: rbtree: Avoid overlapping nodes Maarten ter Huurne (1): regmap: cache: Fix num_reg_defaults computation from reg_defaults_raw Mark Brown (2): Merge remote-tracking branch 'regmap/fix/cache' into regmap-linus Merge remote-tracking branch 'regmap/fix/rbtree' into regmap-linus drivers/base/regmap/regcache-rbtree.c | 38 ++++++++++++++++++++++++++--------- drivers/base/regmap/regcache.c | 5 +++-- drivers/base/regmap/regmap.c | 2 ++ 3 files changed, 33 insertions(+), 12 deletions(-) --DQyH/uhjXcCb0idi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXzsWCAAoJECTWi3JdVIfQKZMH/AnMF5x9pEeeTfs3VFzsgaBK waUUr/wIyIIcbYUjuHof5A8Y6KIZmniRMqA2UIf+iVBQkMDK75gwHmWAgT7cq55V li4+nVVSmD2VbqyeOZjqZT8mgIT7A7Zy2532XppzOnYC+U+70qPogtOEkFfZIW7E 3NtYdYII4V0lPF9XEWcNp6L5mPSI/5DHvFWOqWVGD89ONG0HSaWrcwk5cpaUqZ+U lOcT0w5y/GC1yjmZqVSlc3eh8r9uA4fnaYArVGhPLNnX8X8IJAw752AvAaZE5Y3h 3uVUI5ZfRmA74Calcpbqv1tnuCc1inRVha+TAFoI50QuYnMAbSWWHUiKhqcXXUc= =1Ynh -----END PGP SIGNATURE----- --DQyH/uhjXcCb0idi--