Skip to content

ASoC: SOF: sof-client: Enforce client access scope

Peter Ujfalusi linux-sound 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into functionsound/soc/sof/sof-client.c sound/soc/sof/sof-client.h sound/soc/sof/sof-priv.h+17 -40 replies
2/2ASoC: SOF: sof-client: Introduce sof_client_dev_entry structuresound/soc/sof/sof-client.c sound/soc/sof/sof-client.h+69 -360 replies

Reviews trailers per patch

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

PatchBard LiaoRanjani Sridharan
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ASoC: SOF: sof-client: Enforce client access scope

Hi,

Up to this point we had a spoken rule what sof-client can access and what they must not (they cannot use sdev directly), recently there were attempts to break this rule as clients could access sdev via the sof client dev.

The series will re-arrange the client device struct to 'hide' the sdev (and the list) from client drivers to prevent abuse.

Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into function
ASoC: SOF: sof-client: Introduce sof_client_dev_entry structure

 sound/soc/sof/sof-client.c | 105 ++++++++++++++++++++++++++-----------
 sound/soc/sof/sof-client.h |   6 ---
 sound/soc/sof/sof-priv.h   |   9 ++++
 3 files changed, 83 insertions(+), 37 deletions(-)
Signature · 1 line
2.50.1