diff options
author | Ajit Kumar Pandey <[email protected]> | 2022-03-04 14:57:28 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-03-07 13:12:49 +0000 |
commit | dc0d4ed26dd2166b47c29d6a9829ac798e62a0fc (patch) | |
tree | 381545b3c98719ce2e92ab0dc32ab3e41d005380 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b7485ec850591ad62fde0526bd7fdc56cdc04efd (diff) |
ASoC: SOF: amd: Use semaphore register to synchronize ipc's irq
Add lock and unlock around ipc irq handling code using hw semaphore
register that exhibit special property for register read calls. As
host and DSP firmware uses few shared registers, there is a possible
race condition around those shared registers values. This lock ensure
synchronization between Firmware and host ipc interrupts.
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Ajit Kumar Pandey <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions