public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check
@ 2010-03-26 21:02 Omar Ramirez Luna
  2010-03-26 21:02 ` [PATCH 1/2] DSPBRIDGE: add checking 128 byte alignment for dsp cache line size Omar Ramirez Luna
  2010-04-06  2:49 ` [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check Omar Ramirez Luna
  0 siblings, 2 replies; 4+ messages in thread
From: Omar Ramirez Luna @ 2010-03-26 21:02 UTC (permalink / raw)
  To: linux-omap
  Cc: Ameya Palande, Hiroshi Doyu, Felipe Contreras, Nishanth Menon,
	Omar Ramirez Luna

Technical info:
https://omapzoom.org/gf/download/docmanfileversion/52/985/DSP_cache.pdf

This set of patches introduces the 128 byte alignment check,
needed to avoid corruption if the dsp is meant to write to
boundary portions of an unaligned chunk of memory.

The second patch uses a field composed of 2 bits to distinguish
if the mapped chunk is readable/writeable, so the check can be
performed on w/rw chunks of memory. 

Omar Ramirez Luna (2):
  DSPBRIDGE: add checking 128 byte alignment for dsp cache line size
  DSPBRIDGE: Distinguish between read or write buffers

 arch/arm/plat-omap/include/dspbridge/dbdefs.h |    7 ++++++-
 drivers/dsp/bridge/Kconfig                    |   14 ++++++++++++++
 drivers/dsp/bridge/rmgr/proc.c                |   19 +++++++++++++++++++
 drivers/dsp/bridge/wmd/tiomap3430.c           |    4 ++--
 4 files changed, 41 insertions(+), 3 deletions(-)


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

end of thread, other threads:[~2010-04-06  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 21:02 [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check Omar Ramirez Luna
2010-03-26 21:02 ` [PATCH 1/2] DSPBRIDGE: add checking 128 byte alignment for dsp cache line size Omar Ramirez Luna
2010-03-26 21:02   ` [PATCH 2/2] DSPBRIDGE: Distinguish between read or write buffers Omar Ramirez Luna
2010-04-06  2:49 ` [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check Omar Ramirez Luna

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