Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1911985lql; Wed, 13 Mar 2024 11:35:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUeMxd686Je5q6FUevkTVW2eFPqK1LWsDrgCZ01Q7cbREjQVneBFDhO1ckyqTqvcIv3izrxtcyo9Hm6IUfAAMRZqCOYRs5Sn1+pNyNOQ== X-Google-Smtp-Source: AGHT+IEQDZIgbSIrxKwU07RLDwiV5MtcrazfO9ufXn+T22qRNMEAJ3R3kFrZkJDKsTTRtDTqzOcp X-Received: by 2002:a05:6214:b93:b0:690:ba21:afe3 with SMTP id fe19-20020a0562140b9300b00690ba21afe3mr614256qvb.31.1710354924987; Wed, 13 Mar 2024 11:35:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710354924; cv=pass; d=google.com; s=arc-20160816; b=NC9K7/YLfFHRe+Q6PzSaSf5lp9dJYX7VR8PTfqYKAghxPS3ZWXN0+yrLLttuANOkjn GjvnvklqdIDKV4TAvCVLxdEHXZwtPDsDv1L5kWmede1aTwfcJu3vwJd1RQK199tmdRrn 6Se1Wob3sI8H/iCySF54l++g1IvPTxz8tTEQ48/V+zlwMxSK8BhI8jxhQ280lyfRh8NC 593UFSgDo502/eYbS3DgvEqr7SCAK2VXcpxQrwx3dmFwSW2fa56DJGEck8aMYwqSAMU/ fww/GguPoC2yoksbdbs3DpIAsiq/D4Ssz35B4PzniZQO+SRNMz0Wwf6QBuw+KzxOLo7+ N2bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PckaQq1gSkS/lo3uXmBmthHwAJVsrfFghy2x1cBarGY=; fh=j6DIjMkuJ4h31/SO54809pWKkSKxXWE3MDOPc/V8Yt0=; b=mCxoZMUstykRYpjxEqUB6jJITh+BlNjmwIwCZ8qNHr75HNL07g6pfwgE+sy6FNV71O iEi5FDOHdlyhq4/KRNX9r8tKGxLA/wuf5ydnuRyC/1mmxJ+YfYvwFx6/Dk3kZ0iguqQ1 ThXEuyHC5lfEPOG1iUT1dhM25uW+NzujcW3zfP7AsVs739Z7DTL9XPD7LCi4QZymfksM o4ZJ5d1Zw8l60ckr5Nt7hqmWD4DsT2ebUCv78AEE/VmcF2sP4iijLxRKs6ECP/OmVbyF 2NDxyiUz12RLKfW7T1QJRrvQYXoXYJC251xoUDKGS1CzFyx7t+ssvqgrbUByIwlMr+VC xALg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eBSMeSui; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gs9-20020a056214226900b0068fb8db15fdsi10251751qvb.54.2024.03.13.11.35.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 11:35:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eBSMeSui; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B20F91C25820 for ; Wed, 13 Mar 2024 18:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB6DC7F496; Wed, 13 Mar 2024 17:16:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eBSMeSui" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1EEBE612DC; Wed, 13 Mar 2024 17:16:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710350192; cv=none; b=WgZ40kBjnRooezSDSvtlHE9257ZoIp1q4jkuxdPaoG54OAF2fCCzF9zr4/znCDhk/kRECGIvSaOOYm2+FnksIxVWqhcr7YhvMJqEIAVTfI9/x51IOmwDVIOr+LoDdv6iZ8beiMHXXfd/W43e/vxx+1yKbvPdxaaMNQJCVpIjIPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710350192; c=relaxed/simple; bh=KBmGVG0tShTIOfu5Kdwsr3zszT6tpzb6w2J0pA0Nv0o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n/qvek9zP+cQF16/Cr7oV4sfV00hCBNnrVIZmzBlGgEUa7hjD9mi/Na3SZ6oOlRL41dHCbesT17I/Ueu/79161KwAYcAp1uWkJ4SWGTRUuD7F3Yj26knzm1WsGT9PBzkz3LS9QIJYil1RKexs58RMElrW60QEZnQWdj2B4QIPtc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eBSMeSui; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3E4AC433C7; Wed, 13 Mar 2024 17:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710350191; bh=KBmGVG0tShTIOfu5Kdwsr3zszT6tpzb6w2J0pA0Nv0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eBSMeSuiQlglw1FhL+jFT9AKmI7Ubp2QrXMzGbvo+ajlxcARM0ID+esgAz3OUVIqv knlq4Zf4VdJXAeFrWNNevaR0HLUWTyM2zKStDhkEsHiEZ673PBluNaGPDuT75cYYpZ 2x73+u6Lg3CizeYPJ7XEXveHQIxrGcVs0b6zUWYo+wBm5UvRJ+2IGbPfRUko9ZU+Ea T++884U512glJM+BwQKWR1ebxay+tWOdovBslKMj6SYH1cGI6KDfD7sefGuxdF9O5a oGY6Rb/M69JaCMh5JvpXyMkRaXtEbkqb5BmZPt2BJ7jo4JHUxk5XbZnKXL5nvXf0fQ cx12YbFzuz3Wg== Date: Wed, 13 Mar 2024 13:16:29 -0400 From: Sasha Levin To: Mark Brown Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Ansuel Smith Subject: Re: [PATCH 5.15 72/76] regmap: allow to define reg_update_bits for no bus configuration Message-ID: References: <20240313164223.615640-1-sashal@kernel.org> <20240313164223.615640-73-sashal@kernel.org> <6274f1ce-f2e0-414b-b9a9-bf2840fefd90@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <6274f1ce-f2e0-414b-b9a9-bf2840fefd90@sirena.org.uk> On Wed, Mar 13, 2024 at 04:46:04PM +0000, Mark Brown wrote: >On Wed, Mar 13, 2024 at 12:42:19PM -0400, Sasha Levin wrote: >> From: Ansuel Smith >> >> [ Upstream commit 02d6fdecb9c38de19065f6bed8d5214556fd061d ] >> >> Some device requires a special handling for reg_update_bits and can't use >> the normal regmap read write logic. An example is when locking is >> handled by the device and rmw operations requires to do atomic operations. >> Allow to declare a dedicated function in regmap_config for >> reg_update_bits in no bus configuration. > >This is fairly clearly new functionality? It is, but like the other commit, this new functionality is needed for a later fix. We indicate this in the commit message by adding a trailer: Signed-off-by: Ansuel Smith Link: https://lore.kernel.org/r/20211104150040.1260-1-ansuelsmth@gmail.com Signed-off-by: Mark Brown Stable-dep-of: 3f42b142ea11 ("serial: max310x: fix IO data corruption in batched operations") ^^^^^^^^^ Signed-off-by: Sasha Levin -- Thanks, Sasha