ASoC: SOF: Abstract away the 'bar' usage (mostly)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | ASoC: SOF: Intel: bdw: Set the mailbox offset directly in bdw_probesound/ | +2 | 0 replies | |
| 2/12 | ASoC: SOF: ipc: Remove snd_sof_dsp_mailbox_init()sound/ sound/ sound/ | +6 | 0 replies | |
| 3/12 | ASoC: SOF: imx: Do not initialize the snd_sof_dsp_ops.read64sound/ sound/ | +0 | 0 replies | |
| 4/12 | ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM typessound/ | +8 | 2 replies | |
| 5/12 | ASoC: SOF: imx: imx8m: Bar index is only valid for IRAM and SRAM typessound/ | +8 | 0 replies | |
| 6/12 | ASoC: SOF: loader: No need to export snd_sof_fw_parse_ext_data()sound/ sound/ | +1 | 0 replies | |
| 7/12 | ASoC: SOF: core: Do not use 'bar' as parameter for block_read/writesound/ sound/ sound/ +2 more | +78 | 0 replies | |
| 8/12 | ASoC: SOF: debug: Add generic API and ops for DSP regionssound/ sound/ sound/ | +43 | 0 replies | |
| 9/12 | ASoC: SOF: imx: Provide debugfs_add_region_item ops for coresound/ sound/ | +3 | 0 replies | |
| 10/12 | ASoC: SOF: Intel: Provide debugfs_add_region_item ops for coresound/ sound/ sound/ +4 more | +8 | 0 replies | |
| 11/12 | ASoC: SOF: loader: Use the generic ops for region debugfs handlingsound/ | +28 | 0 replies | |
| 12/12 | ASoC: SOF: debug: No need to export the snd_sof_debugfs_io_item()sound/ sound/ | +4 | 0 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Guennadi Liakhovetski | Kai Vehmanen | Pierre-Louis Bossart | Ranjani Sridharan | Daniel Baluta | Bard Liao |
|---|---|---|---|---|---|---|
| 1/12 | R-b | R-b | R-b | R-b | ||
| 2/12 | R-b | R-b | R-b | R-b | ||
| 3/12 | R-b | R-b | R-b | |||
| 4/12 | R-b | R-b | R-b | |||
| 5/12 | R-b | R-b | R-b | |||
| 6/12 | R-b | R-b | R-b | |||
| 7/12 | R-b | R-b | R-b | |||
| 8/12 | R-b | R-b | R-b | |||
| 9/12 | R-b | R-b | R-b | |||
| 10/12 | R-b | R-b | R-b | |||
| 11/12 | R-b | R-b | R-b | |||
| 12/12 | 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.
Cover letter [PATCH 00/12] ASoC: SOF: Abstract away the 'bar' usage (mostly)
Hi,
The direct use of 'bar' as address regions in SOF can limit portability and makes assumption that all platforms are using memory mapped regions or BARs to communicate with the DSP.
The core API should not use 'bar' in it's parameter lists or make assumption that the platform needs to comply with this system integration.
Use the region type as an ID in core and translate that in platform dependent code to a way to access registers, mailbox or DSP memory.
Regards,
Peter
---
Peter Ujfalusi (12):
ASoC: SOF: Intel: bdw: Set the mailbox offset directly in bdw_probe
ASoC: SOF: ipc: Remove snd_sof_dsp_mailbox_init()
ASoC: SOF: imx: Do not initialize the snd_sof_dsp_ops.read64
ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types
ASoC: SOF: imx: imx8m: Bar index is only valid for IRAM and SRAM types
ASoC: SOF: loader: No need to export snd_sof_fw_parse_ext_data()
ASoC: SOF: core: Do not use 'bar' as parameter for block_read/write
ASoC: SOF: debug: Add generic API and ops for DSP regions
ASoC: SOF: imx: Provide debugfs_add_region_item ops for core
ASoC: SOF: Intel: Provide debugfs_add_region_item ops for core
ASoC: SOF: loader: Use the generic ops for region debugfs handling
ASoC: SOF: debug: No need to export the snd_sof_debugfs_io_item()
sound/soc/sof/debug.c | 24 ++++-- sound/soc/sof/imx/imx8.c | 17 +++-- sound/soc/sof/imx/imx8m.c | 13 +++- sound/soc/sof/intel/apl.c | 1 + sound/soc/sof/intel/bdw.c | 5 +- sound/soc/sof/intel/byt.c | 2 + sound/soc/sof/intel/cnl.c | 1 + sound/soc/sof/intel/icl.c | 1 + sound/soc/sof/intel/pci-tng.c | 1 + sound/soc/sof/intel/tgl.c | 1 + sound/soc/sof/ipc.c | 34 +++------ sound/soc/sof/loader.c | 137 +++++++++++++++------------------- sound/soc/sof/ops.h | 25 +++++-- sound/soc/sof/sof-priv.h | 55 +++++++------- sound/soc/sof/utils.c | 28 +++++-- 15 files changed, 187 insertions(+), 158 deletions(-)
Signature · 1 line
2.33.0