Skip to content

SoC: SOF: ipc: Optimizations for tx message

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: SOF: Intel: cnl: Use pm_gate->hdr.cmd in cnl_compact_ipc_compress()sound/soc/sof/intel/cnl.c+2 -40 replies
2/3ASoC: SOF: ipc: Drop header parameter from sof_ipc_tx_message_unlocked()sound/soc/sof/ipc.c+12 -90 replies
3/3ASoC: SOF: ipc: Do not allocate buffer for msg_datasound/soc/sof/ipc.c+1 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKai VehmanenBard LiaoDaniel BalutaRander WangRanjani SridharanPierre-Louis Bossart
1/3R-b R-b R-b R-b R-b R-b
2/3R-b R-b R-b R-b R-b R-b
3/3R-b R-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] SoC: SOF: ipc: Optimizations for tx message

Hi,

The series will drop the internal use of 'header' parameter which is always set to hdr->cmd.

The other simplification is to use the provided message directly as it is guarantied to be valid throughout the message sending and we can save memory by not allocating a temporary buffer, also saving on needles memcpy() operations.

Regards,
Peter
---
Peter Ujfalusi (3):
ASoC: SOF: Intel: cnl: Use pm_gate->hdr.cmd in
cnl_compact_ipc_compress()
ASoC: SOF: ipc: Drop header parameter from
sof_ipc_tx_message_unlocked()
ASoC: SOF: ipc: Do not allocate buffer for msg_data

 sound/soc/sof/intel/cnl.c |  6 ++----
 sound/soc/sof/ipc.c       | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 16 deletions(-)
Signature · 1 line
2.35.0