OpenCloudOS-Kernel/sound/soc/sof/amd
Ajit Kumar Pandey d2be77b382
ASoC: SOF: amd: Use dedicated MBOX for ACP and PSP communication
We are currently using generic PSP Mailbox register for sending SHA
complete command to PSP but observe random arbitration issue during
PSP validation as MP0_C2PMSG_26_REG used by other kernel modules.

Use separate mailbox registers and doorbell mechanism to send SHA_DMA
complete command to PSP. This fixes such validation issues and added
flexibility for sending more ACP commands to PSP in future as new mbox
registers i.e MP0_C2PMSG_114_REG and MP0_C2PMSG_73_REG are dedicated
by PSP for ACP communications.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220421165820.337207-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-21 18:25:18 +01:00
..
Kconfig ASoC: SOF: amd: Add Renoir PCI driver interface 2021-11-17 17:35:52 +00:00
Makefile ASoC: SOF: amd: Add trace logger support 2021-11-17 17:35:55 +00:00
acp-dsp-offset.h ASoC: SOF: amd: Use semaphore register to synchronize ipc's irq 2022-03-07 13:12:49 +00:00
acp-ipc.c ASoC: SOF: amd: Remove unneeded semicolon 2022-03-09 17:34:57 +00:00
acp-loader.c ASoC: SOF: amd: Move group register configuration to acp-loader 2022-03-07 13:12:50 +00:00
acp-pcm.c ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral 2022-03-11 13:41:01 +00:00
acp-stream.c ASoC: SOF: amd: Flush cache after ATU_BASE_ADDR_GRP register update 2022-03-07 13:12:48 +00:00
acp-trace.c ASoC: SOF: dma-trace: Pass pointer to params_ext struct in trace_init() 2022-02-08 13:38:04 +00:00
acp.c ASoC: SOF: amd: Use dedicated MBOX for ACP and PSP communication 2022-04-21 18:25:18 +01:00
acp.h ASoC: SOF: amd: Use dedicated MBOX for ACP and PSP communication 2022-04-21 18:25:18 +01:00
pci-rn.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
renoir.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00