Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp601291rdh; Thu, 26 Oct 2023 10:23:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEuaA+CwcsNimEBMUuvXn3hvYOy/95k8bwxgJd2vpPYqjPyWftGcgVWdf3tgPT2Y40tOhQu X-Received: by 2002:a05:690c:f0f:b0:5a7:d937:6f27 with SMTP id dc15-20020a05690c0f0f00b005a7d9376f27mr112583ywb.19.1698341021052; Thu, 26 Oct 2023 10:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698341021; cv=none; d=google.com; s=arc-20160816; b=KMHiwsFOg/vfGCrcyFpQniBEKPY/9vl5j863qlQsTsO2zq03yvrasj03LV662GBKrQ hDzJi8eXlsdZEXZlsZ8p+4LmhekJwcduMN0y5WIig9MyK1HWGASWG3H/F+51+LkTkZ8l QSj8RRKpK+ujV7KHsqcwJYw+RfevZBJFYVT6XetGR7wCrRZxGqpFOIbgtPHL7cQuq4kB 51oYOYeeVXon4KctFBYCXLhcXB8A4c4cPsxkMurZR6d+6O7M+IErPsSoUdLxz2E12ceG ttwVH6cJlw0G/9eXk9MhMzH+slwZNpSKfbWbgDyJ9FlbGFwP3sWW6kySFfJX0DIqNsLS ThnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=MzBqlRfHwF5IBqFv/fA8lqiPQS6/KhCYVFSzkw8CDvc=; fh=e+1OUSWEZrU3CSMY282mXKNMaRt3dP8b6xjnz3qm9Zc=; b=MPWjzqVR4+tMNwUdpmwx9acGt2+fi/V7eIc0fWr6y+7TlFTVK7catN52J0+m/cveSf 3GNtr0lI73S8S+LfNcp5I5mDybxP7XE8wjPFcmFnOCevEuS9HsYOSMSQoxTm1wZYNeNj Qna+MpvpE+nbBdsVR7NjjwkY6jo3U2qrhcPA8Mq2Mskzf9dCQOP3Fq9xxA5ZcYbPRG+O k9PjUQ7xQEScYZaPaOm8A0AKIWQh9/pfCBBuqWtSjYOTYjQNzMaI1zqeSlRZ8y0FvCxP 5lFfkib7vSb8deo7xuVP9Ki/oHFf0RHhLE6pIbDvYuC2Ea7fNFzCW7wrVgN0Z64551/B vEuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2nuw3nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id r4-20020a0de804000000b005a81a489448si13886818ywe.267.2023.10.26.10.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:23:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2nuw3nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CCD2C80D1EF7; Thu, 26 Oct 2023 10:23:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231771AbjJZRXa (ORCPT + 99 others); Thu, 26 Oct 2023 13:23:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbjJZRX2 (ORCPT ); Thu, 26 Oct 2023 13:23:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB9ABD59; Thu, 26 Oct 2023 10:23:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 911E5C433C8; Thu, 26 Oct 2023 17:23:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698341003; bh=KHEtv2BW5ufcLceTLdIMBqabDXWqTImDiZvqNq1ZFoo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Y2nuw3nr5k9IH1ntILq8GvFLs0t2MvQiD2LoKcrMDcVykD60U9AojdjxDDmDzg2U5 XSP0AC4essXZBjMCAt/q5uQer4x5Qr+OYvtZYW1pnBgnr9O11paHnmLZBgVO9bC4iZ WuhGbb72T+nKsCJFbn1dQRlS8dyjlYSVUEkQqwL2W3xEN900bUIoGw1TWMDO3YGEbu obNEUHnKrdVgMZj0+L9TRCdi9QKhGoi9WlhAldcAuaMr43XqMW/bvEMKLpOW3Lo1ma 2A1N/L1b8igEVExKuzs9Q6ihYxcO0Y7sFOMx9mNGeI9loH6voS+g1geObl7hvwBHEq OeSHNM0T6c+DA== From: Mark Brown To: Hector Martin , linux-kernel@vger.kernel.org, Mark Brown Cc: stable@vger.kernel.org In-Reply-To: <20231026-regmap-fix-selector-sync-v1-1-633ded82770d@kernel.org> References: <20231026-regmap-fix-selector-sync-v1-1-633ded82770d@kernel.org> Subject: Re: [PATCH] regmap: Ensure range selector registers are updated after cache sync Message-Id: <169834100229.152944.3846879997258619017.b4-ty@kernel.org> Date: Thu, 26 Oct 2023 18:23:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 26 Oct 2023 10:23:38 -0700 (PDT) On Thu, 26 Oct 2023 16:49:19 +0100, Mark Brown wrote: > When we sync the register cache we do so with the cache bypassed in order > to avoid overhead from writing the synced values back into the cache. If > the regmap has ranges and the selector register for those ranges is in a > register which is cached this has the unfortunate side effect of meaning > that the physical and cached copies of the selector register can be out of > sync after a cache sync. The cache will have whatever the selector was when > the sync started and the hardware will have the selector for the register > that was synced last. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: Ensure range selector registers are updated after cache sync commit: 0ec7731655de196bc1e4af99e495b38778109d22 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark