aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPardha Saradhi K <[email protected]>2017-05-15 19:44:29 +0530
committerMark Brown <[email protected]>2017-05-24 18:25:12 +0100
commit5cd1f5c32132101955d7f0e1955249a84f9b6fd9 (patch)
tree49661588fbe3b0e3b083b45bda00e654f21c6e5c /tools/perf/scripts/python/export-to-postgresql.py
parentab1b732d53c18f26f51cad49371be3244fe67504 (diff)
ASoC: Intel: Skylake: Fix IPC rx_list corruption
In SKL+ platforms, all IPC commands are serialised, i.e. the driver sends a new IPC to DSP, only after receiving a reply from the firmware for the current IPC. Hence it seems apparent that there is only a single modifier of the IPC RX List. However, during an IPC timeout case in a multithreaded environment, there is a possibility of the list element being deleted two times if not properly protected. So, use spin lock save/restore to prevent rx_list corruption. Signed-off-by: Pardha Saradhi K <[email protected]> Signed-off-by: Subhransu S. Prusty <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions