Skip to content

DSPBRIDGE: 128 bytes alignment check

Omar Ramirez Luna linux-omap 1 version Applied

Status from this message: Pushed to dspbridge.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2DSPBRIDGE: add checking 128 byte alignment for dsp cache line sizedrivers/dsp/bridge/Kconfig drivers/dsp/bridge/rmgr/proc.c+25 -00 replies
2/2DSPBRIDGE: Distinguish between read or write buffersarch/arm/plat-omap/include/dspbridge/dbdefs.h drivers/dsp/bridge/rmgr/proc.c drivers/dsp/bridge/wmd/tiomap3430.c+20 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] DSPBRIDGE: 128 bytes alignment check

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(-)