From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C47BE3D902E for ; Mon, 10 Aug 2026 12:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786366348; cv=none; b=RPOsqczdrec3acnn0ovYYNuK0QkmJhIOdyRbqMUpjQOBb1wArtPSbPHZpk3e5F83X/ZnDuiFP/mJr1ju3rJaaSbwX4i3ciJNUli8fGAFyMA25QDia38ZeivqZtxT2+xJUMnMPz+lfDJO2IbY1ZQ7xD0Xw9lFANXc2S/yR1dOcRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786366348; c=relaxed/simple; bh=bcImtG27RadzlDHO9b2Pw6OMXMMT3Jjhma3WzdKPGc0=; h=Message-ID:From:To:Cc:Subject:Date; b=mA16gcvkBGwo/Gw2g1yN1bisqB7N+hhJ0eRZ0dMzEckgorPbcvy66NUC900A6MKw39Pv8b2qfT3J4wbCPs9tkJUnC9bkx3WneVrkcOm3P3CLFkAENlUO5C9o1WGUbbNdqF5aRHkkrERhtkN4d5sw7ZaVEanRkXrUAbZP5OAfn0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hmGvcswG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hmGvcswG" Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id D7BC61F00A3A; Mon, 10 Aug 2026 12:52:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786366347; bh=2j1mnNePQegGqGafXGdfdiwnKWtCP2GjRQr5iS44/Ek=; h=From:To:Cc:Subject:Date; b=hmGvcswGlcGKg+MrCMYjFffyxeAup8T9q/TZzWEM5ZSraR++6JnkNlOIQsLlYenfr 4KsGd2v+/7wypL5vXEm8b2wi2UXAPnUt54p6GZacnIp8jU+f+2jZTnJ4TehvfqnEeB Btt1BRHPCYvDRGKSs25/c5v9kLhttzKILFYxKsv0053TKwvl9GCasgzsvssRFQcBUA a+pYqWOuYQKx9Sk1243lhMTrH7TFVDVfb8nIdM5ujZkTchf6i/FGinu+6jifwZVxI+ JKgVDCzzGBG7hG0kpKc7xvX+suntrIhEex2wCHKmfXLm31OA5IpZKeDlGEIE0h5YSQ F0urkMhATrRxA== Message-ID: <47d871e54e94670ed98c2d13fb691b58@kernel.org> From: Mark Brown To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] regmap fixes for v7.2-rc7 Date: Mon, 10 Aug 2026 13:52:14 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The following changes since commit 075b74841bd0065a3bda3440873c747938e69b68: Linux 7.2-rc6 (2026-08-02 16:24:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v7.2-rc7 for you to fetch changes up to 4b05ccb17f92268384d483221a577fccfc291c7a: regcache: Sort the local copy of an unsorted reg_defaults array (2026-08-06 13:01:39 +0100) ---------------------------------------------------------------- regmap: Fixes for v7.2 These patches fix some issues which were noticed in some drivers where caches were not fully resynced after suspend. Drivers are supposed to be sorting the table of register defaults they provide to the core and the core was relying on that but it turns out there are many cases where this does not happen, it's easy to get wrong when using named defines for registers rather than numbers. It is more robust to remove the requirement for sorting and instead have the core ensure everything it needs sorting is sorted so do that. There will be patches during the merge window sorting the tables in drivers since it is more efficient to do that but this will just be a minor performance win rather than a correctness fix. ---------------------------------------------------------------- Mark Brown (1): regcache: Use a consistent sort for defaults table Peter Ujfalusi (1): regcache: Sort the local copy of an unsorted reg_defaults array drivers/base/regmap/regcache.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-)