From patchwork Thu Jun 15 11:43:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 108461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp588534vqr; Thu, 15 Jun 2023 05:17:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ627BRbDanFXdDiuOjvvP+0Xyj1abtlj6Th/EOiBAAi8Df5CsvxXf94ooaXhECpXB0t0AO6 X-Received: by 2002:a17:902:f547:b0:1b3:c3ca:1534 with SMTP id h7-20020a170902f54700b001b3c3ca1534mr12676243plf.30.1686831442345; Thu, 15 Jun 2023 05:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686831442; cv=none; d=google.com; s=arc-20160816; b=SMGHcbD8+dCaggDHKks6Lr5RcCtOn3iP4uskQSTFUC7i0fSd/Rin7/7AmyXkjz/q02 tHZJsXyDLKgOmumutDpqm5V8GzYkWFA9rj1yXKRyqJGdWtgX1CtJVrdqKTcRG39K4cAk ErQS8z09TjaqTEU2A9s/hsU+Majd3GDFqxp+dCjOjyMRA45GUDtYZK03DqdlRHHHE5zE kdC0sI+K95UM5XjM+XY58yzmjx8enW4MzIgPNwwOYxwOtwnFjdscjdw2o7jbA2aH+2ZH 7Ctk7GMYqLpVMEDyUB8v+rf9BBL5ezixWpP+bvwiSRMSsOzzQguU3AKkFawssHt0aVf0 UDuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Anps2OcoQpbogqnokp9xS/gKJnG/kQ4P4Q7N2rxdefU=; b=aujIrzxClRUl8UC3uWOpV8woy2/L8h8H2dt368K0hpmuFqObXsmNON9NXKPSZWPznh eZ4doEtXhHLHqicstDDnBgXUj59eI7H6ZKPbf0drRxzwuPpodaK+hwjtwOf9hPnz8gok k0eckcboCN4GbM8XUdfoEqM8Ji9oMP2l1pcTs5hzz/tHMJnfYgMBHWEK8xDsvov9uR9P +ynP3xDXuLgZmVp2OAAmWu6qHfi32krgZawIcyFEPfzJOZe5+xxCQtmNros4NVf0oEs2 0Z23CNplbZdAikeh4dumsPxXmruv1ANSPXzLxyYjSl+oAyL6TsX4FmuSN/5jAnRJgnwL cBDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQqnG7eL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij25-20020a170902ab5900b001b28738dde1si12285261plb.8.2023.06.15.05.17.09; Thu, 15 Jun 2023 05:17:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sQqnG7eL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344635AbjFOLtW (ORCPT + 99 others); Thu, 15 Jun 2023 07:49:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344630AbjFOLsy (ORCPT ); Thu, 15 Jun 2023 07:48:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47AC06589 for ; Thu, 15 Jun 2023 04:44:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79EE663B4E for ; Thu, 15 Jun 2023 11:43:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B9DAC433C0; Thu, 15 Jun 2023 11:43:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686829397; bh=TiiRBJUWh3aDlJ6vQx4ygwCEC3o6aA0ix2061Cv4wqI=; h=From:To:Cc:Subject:Date:From; b=sQqnG7eLwcxeaIAt01tDaX9MU5TGLlCLZKD94YWH8zjL3pL1JjAsOiKoSmozKJVKX 6krKrhEl533xgJHGJpbbG0xJr6DnnggP4iDCXM7nZGt+0Cm3t4IInzx41rAP7pGqhC 5hCC7vRjXFrpLiiVWygrgStgF4bWSG+llryE76y+WbAUdz2hvqIpN4ps5browEAx2l O4ej+Bm3bN+gxR4JjL4YddEprn14GCR+jEr07y4K/Ri5iXyeMXfjhDLPpVm/zk7xhv jKSAB1uxMSvOtea9jkQF5FghOiKiCGe1MMKhR9ufZSI33qV/z6Bqrodh3Ia+0EY24d Pnqre3xQL8WMQ== From: Mark Brown To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] regmap fixes for v6.4-rc6 Date: Thu, 15 Jun 2023 12:43:07 +0100 Message-Id: <20230615114317.4B9DAC433C0@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768770966561012808?= X-GMAIL-MSGID: =?utf-8?q?1768770966561012808?= The following changes since commit 0cc6578048e0980d254aee345130cced4912f723: regmap: maple: Drop the RCU read lock while syncing registers (2023-05-24 11:21:52 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-fix-v6.4-rc6 for you to fetch changes up to 44e46572f0bae431a6092e3cfd2f47bff8b8d18c: regmap: regcache: Don't sync read-only registers (2023-06-13 13:15:00 +0100) ---------------------------------------------------------------- regmap: One more fix for v6.4 Another fix for the maple tree cache, Takashi noticed that unlike other caches the maple tree cache didn't check for read only registers before trying to sync which would result in spurious syncs for read only registers where we don't have a default. This was due to the check being open coded in the caches, we now check in the shared "does this register need sync" function so that is fixed for this and future caches. ---------------------------------------------------------------- Takashi Iwai (1): regmap: regcache: Don't sync read-only registers drivers/base/regmap/regcache.c | 3 +++ 1 file changed, 3 insertions(+)