* Regmap cached only when write happen to register
@ 2012-05-14 16:41 Laxman Dewangan
2012-05-14 16:47 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Laxman Dewangan @ 2012-05-14 16:41 UTC (permalink / raw)
To: Mark Brown, linux-kernel@vger.kernel.org
Hi Mark,
When debugging on register caching, found that register is getting
cached only when write happen to the register otherwise it will not get
cached even any number of read happen.
Is it by intended or there is opportunity to enhance it so that during
read also we can cache it.\?
Thanks,
Laxman
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Regmap cached only when write happen to register
2012-05-14 16:41 Regmap cached only when write happen to register Laxman Dewangan
@ 2012-05-14 16:47 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-05-14 16:47 UTC (permalink / raw)
To: Laxman Dewangan; +Cc: linux-kernel@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
On Mon, May 14, 2012 at 10:11:31PM +0530, Laxman Dewangan wrote:
> When debugging on register caching, found that register is getting
> cached only when write happen to the register otherwise it will not
> get cached even any number of read happen.
> Is it by intended or there is opportunity to enhance it so that
> during read also we can cache it.\?
If you check -next you should find that the current code already caches
any single register read.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-14 16:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 16:41 Regmap cached only when write happen to register Laxman Dewangan
2012-05-14 16:47 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).