[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151005145722.GT12635@sirena.org.uk>
Date: Mon, 5 Oct 2015 15:57:22 +0100
From: Mark Brown <broonie@...nel.org>
To: jon@...gle.org
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Jon Ringle <jringle@...dpoint.com>
Subject: Re: [PATCH 1/2] regmap: only call custom reg_update_bits() if reg is
marked volatile
On Mon, Oct 05, 2015 at 09:29:31AM -0400, jon@...gle.org wrote:
> From: Jon Ringle <jringle@...dpoint.com>
>
> The only time that it makes sense to call a custom provided reg_update_bits
> function, is the register being updated is one that has volatile bits.
> Otherwise, the normal read/modify/write cycle (where the read is likely to
> be free from the cache) will do just fine. This should keep the reg cache
> intact, since volatile registers won't get cached anyway.
Dave, to be clear please do *not* apply this patch at least for the time
being - I've not reviewed it or the one from Thursday that you applied
this morning.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists