public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/4] OMAP: McBSP: Use register cache
@ 2010-01-14 15:58 Janusz Krzysztofik
  2010-01-14 16:03 ` [PATCH v9 1/4] OMAP: McBSP: Use macros for all register read/write operations Janusz Krzysztofik
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Janusz Krzysztofik @ 2010-01-14 15:58 UTC (permalink / raw)
  To: Jarkko Nikula; +Cc: Tony Lindgren, Peter Ujfalusi, linux-omap

Change the way McBSP registers are maintained: store values written to the
device in a cache in order to make use of those cached values when
convenient.

This could help for developing the McBSP context save/restore features, as
well as solve the problem of possible register corruption, experienced on
OMAP1510 based Amstrad Delta board at least.

Series created against linux-omap for-next, commit
fb7380d70e041e4b3892f6b19dff7efb609d15a4 (2.6.33-rc3+ dated 2010-01-11).
All patches tested on OMAP1510 based Amstrad Delta and compile-tested using
omap_3430sdp_defconfig at least.

Latest changes:
- patch 3: allow for using the mcbsp->free as a guard for cache access,
	   adpot for fixed error handling in omap_mcbsp_request().
- patch 5: dropped
- all: refresh against latest l-o for-next tree.

Janusz Krzysztofik (4):
	OMAP: McBSP: Use macros for all register read/write operations
	OMAP: McBSP: Modify macros/functions API for easy cache access
	OMAP: McBSP: Introduce caching in register write operations
	OMAP: McBSP: Use cache when modifying individual register bits

 arch/arm/mach-omap1/mcbsp.c             |   16 -
 arch/arm/mach-omap2/mcbsp.c             |   20 +
 arch/arm/plat-omap/include/plat/mcbsp.h |    3
 arch/arm/plat-omap/mcbsp.c              |  480 
++++++++++++++++----------------
 4 files changed, 278 insertions(+), 241 deletions(-)

Thanks,
Janusz

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-02-03 19:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 15:58 [PATCH v9 0/4] OMAP: McBSP: Use register cache Janusz Krzysztofik
2010-01-14 16:03 ` [PATCH v9 1/4] OMAP: McBSP: Use macros for all register read/write operations Janusz Krzysztofik
2010-01-14 16:07 ` [PATCH v9 2/4] OMAP: McBSP: Modify macros/functions API for easy cache access Janusz Krzysztofik
2010-01-14 16:11 ` [PATCH v9 3/4] OMAP: McBSP: Introduce caching in register write operations Janusz Krzysztofik
2010-01-14 16:13 ` [PATCH v9 4/4] OMAP: McBSP: Use cache when modifying individual register bits Janusz Krzysztofik
2010-01-15  9:11   ` Peter Ujfalusi
2010-01-15 16:43     ` Janusz Krzysztofik
2010-01-18  8:05       ` Peter Ujfalusi
2010-01-18 11:13         ` Jarkko Nikula
2010-01-15  7:42 ` [PATCH v9 0/4] OMAP: McBSP: Use register cache Jarkko Nikula
2010-01-18  8:07 ` Peter Ujfalusi
2010-02-03 19:49   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox