summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/axg-audio.h
diff options
context:
space:
mode:
authorJoakim Zhang <joakim.zhang@cixtech.com>2023-12-17 08:36:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-03 16:32:01 +0300
commit30532a4fd074ef3aaef3fa3919c5cf07c667b071 (patch)
tree505f9e7defe3d017dcdf1d6fc42e68b584c29356 /drivers/clk/meson/axg-audio.h
parent3c0e7de9cca3a2bf627a9bfe5592ccc1cfc19177 (diff)
downloadlinux-30532a4fd074ef3aaef3fa3919c5cf07c667b071.tar.xz
remoteproc: virtio: Fix wdg cannot recovery remote processor
[ Upstream commit b327c72753d6a78de37aed6c35756f2ef62897ee ] Recovery remote processor failed when wdg irq received: [ 0.842574] remoteproc remoteproc0: crash detected in cix-dsp-rproc: type watchdog [ 0.842750] remoteproc remoteproc0: handling crash #1 in cix-dsp-rproc [ 0.842824] remoteproc remoteproc0: recovering cix-dsp-rproc [ 0.843342] remoteproc remoteproc0: stopped remote processor cix-dsp-rproc [ 0.847901] rproc-virtio rproc-virtio.0.auto: Failed to associate buffer [ 0.847979] remoteproc remoteproc0: failed to probe subdevices for cix-dsp-rproc: -16 The reason is that dma coherent mem would not be released when recovering the remote processor, due to rproc_virtio_remove() would not be called, where the mem released. It will fail when it try to allocate and associate buffer again. Releasing reserved memory from rproc_virtio_dev_release(), instead of rproc_virtio_remove(). Fixes: 1d7b61c06dc3 ("remoteproc: virtio: Create platform device for the remoteproc_virtio") Signed-off-by: Joakim Zhang <joakim.zhang@cixtech.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20231217053659.3245745-1-joakim.zhang@cixtech.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clk/meson/axg-audio.h')
0 files changed, 0 insertions, 0 deletions