Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1741810lqa; Mon, 29 Apr 2024 19:09:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDDt/JqaSUHAxocfoOisYJf+X1vyNeRU0x9VlDt5wPxnyAcaE0flghoJp2PRGfhlzq47xA1HOhL+4cB8D6FJT/uTQoVEA5xIp7qt51kw== X-Google-Smtp-Source: AGHT+IF/JNCXW9rJDJgAgokBARu/QGBVL1Nz7uy8jVHPIC5oDCk41uy+KK78uxkkKr097mE3NkY5 X-Received: by 2002:a2e:b784:0:b0:2d6:f698:7ecf with SMTP id n4-20020a2eb784000000b002d6f6987ecfmr7478337ljo.9.1714442981739; Mon, 29 Apr 2024 19:09:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714442981; cv=pass; d=google.com; s=arc-20160816; b=aWIdHl/IkgfOeEMGB8xgCyjY8dbpc2vplQdqotmn0+YSXKzoQ9X4MIGXNezH0+Oi/+ guAqU90pE1tXGWdQfx+Io8aa1Z/bxGe5BOa1iDLdijepSrqWGHsC7HPosFTCCRE43C1N ZE/tTHNQKXnBwBgTN+2VFtB+Q9BIkO8kJzZ3oSdCswzjuY/y0XrpVaup18mx5CW214Bx WliAhgIkYEGfQKLjVZ1ELVG5/XSWBCsbkpupbJwyy9b8jIHNusk+uHV/wQygx85HAZaN Nhp6jEs4sgflYtXmTa8uY6Is2sUU1onwM+N7oHlJ38d3dgBZOpqidh4kK4DIZY2ag0Fi 0yNg== 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=Y7O3cz/eY7H13A5uDglsuhg1RXHmQHXFWlR0r6h7OFM=; fh=oszQEoOXL2s3PaiN69IiTRvzJrohar09xN260CcPNt4=; b=kN9NUkRV0kyjhXyNtpsIbOHtmvbYjRy79bxkAyVBXTfGJQ8NKDSlpTn+TonTWrngGB gu6bkBfEpt0kxfo73Vd1xVZVR1WjAcTtRRUzacOg6hrVqQQezZpZShsB3nxC1cSNMoWH K6Lr4HvvahJqpVfGB5WQP7CSS9bMB/CXyHsBnVpMEG75zI+NWwb5UE3Z+Y+oDpY+Wn7j 8S7mM4nDcKnKzDXtVwhsXyccna4q9lItCErtUOVU8YK1ffDgeH8qKeQMMWg9BPG6qGyK jThvJktoN/IXl/zvIPv/cOBdFtDzteMsQVFNSRQAw+PrWWLkPQ3ZElxZjos+Wt18iUde hUnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJUMsfuC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163255-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163255-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r24-20020a50d698000000b00571e5edc719si12809530edi.458.2024.04.29.19.09.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 19:09:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163255-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJUMsfuC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-163255-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163255-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 72D521F22B49 for ; Tue, 30 Apr 2024 02:09:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9363F8F6D; Tue, 30 Apr 2024 02:09:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JJUMsfuC" 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 BBE6A8BE0 for ; Tue, 30 Apr 2024 02:09:34 +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=1714442974; cv=none; b=f9BA+SvXiaNrE0fNGs24pkOFq9Ll4gIFC1wwppYWREnGGGAhiDvLTia77MPGVsEXvcgHKdUYk2jjEKFx9P2eS0+MuP4N+2uxbQyVTPoi5zXT4BAu0kzoQhL4na8W0VGIZ2wQTwCdT/nxKaEr3h2buY9itgDCjecg489PfSAIvVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714442974; c=relaxed/simple; bh=Y7O3cz/eY7H13A5uDglsuhg1RXHmQHXFWlR0r6h7OFM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GlGFoIBEWoPCgaw+HWo9elblcWQUrooCmUHQMQsSHyPbDdHBlfLGr0Xo38ZgvupY4TFK0OHU673g23AhKA0MuZPbl6PKjiBdn/jFhDLyCIh/T6cLA4/KDdsccXkX3zbSBOVN1niMbjYKgFamwQtNrIMyKrAdJOEPOFyjHqzBdsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JJUMsfuC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D217AC116B1; Tue, 30 Apr 2024 02:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714442974; bh=Y7O3cz/eY7H13A5uDglsuhg1RXHmQHXFWlR0r6h7OFM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JJUMsfuCo235P3ok0OirBx4MRM0suwE4Pl5WqDxvJOmFfGuMXuUbushih197XaFyN ZL8GcQ/QFbca2O3smWcsMaIRcy4SoYk135R7rpztm5+svp6AAFLxsi2nUQ6mx0O3UH jhFxHv9wRgQDY85hRL2pzsAzo2dHtaiIJZgZ5XxVBUJ1AQO11viX5hIdInyrNOQNe4 82DU0iniMeC4IiCWGdtwVht7fPB6ib2wAF/e3UFPUH8hlLX/vzvmm6DQRS3lT1RqRT UtSuM706+YJLcg2m/KGRe6IyjyhJXddtLBTO+Tm/CC5ec0BYdxz7s2rRbqMPOtn3ly NwSsNq+sHUp8Q== Date: Tue, 30 Apr 2024 11:09:31 +0900 From: Mark Brown To: Jisheng Zhang Cc: Liam Girdwood , linux-kernel@vger.kernel.org Subject: Re: [PATCH] regulator: tps6286x-regulator: Enable REGCACHE_FLAT Message-ID: References: <20240430010019.1980-1-jszhang@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vUPQgMyWj5wTiDjH" Content-Disposition: inline In-Reply-To: <20240430010019.1980-1-jszhang@kernel.org> X-Cookie: lisp, v.: --vUPQgMyWj5wTiDjH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 30, 2024 at 09:00:19AM +0800, Jisheng Zhang wrote: > Enable regmap cache to reduce i2c transactions and corresponding > interrupts if regulator is accessed frequently. Since the register map > is small, we use a FLAT regmap cache. There are a number of disadvantages to the flat cache, especially the lack of sparseness, so it is generally better to use the maple cache unless there's a specific need for the flat cache (usually the fact that it doesn't allocate). --vUPQgMyWj5wTiDjH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYwUtoACgkQJNaLcl1U h9A4oQf/drHL14gR5AhLgItP1G/01UvnpM44BjIfwQ4RJLEqe9cHfoKrz5UT2W28 zY4heoUrWcdpNTlttQ+ZDe7lL0Ht4ZOTIFB/a0eg+JFogVNYGO/Ky4B6+//+Y/Lb wT21YpcTrWaIf6eXKY3V1uHLTwvSoznaWdfH6vgD08TyDlMllvlhYX2SCWgfn5is sQhuMzaUiClEhjx8Dv8OcYYcfTCuA+eWFY6GtrB4iTCY7ihupvxyBWMXyZo1LkRN nPBPfuZTk7W8YY1GP2e6GRiPRKpEjfgiBTesA45vkCl6zqRSlObVDjT516YtahMn wtyOGo862uijqBaJqrLKW64JwgV9sg== =OLXB -----END PGP SIGNATURE----- --vUPQgMyWj5wTiDjH--