summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/wkup_m3_rproc.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-09-06 22:21:58 +0800
committerMichael S. Tsirkin <mst@redhat.com>2021-09-14 18:10:43 -0400
commit7bb5fb207334758ce6ee84345d6f08e4fb284fe6 (patch)
tree8d5e6f2172db7f33f1e6a9ff50ef987b0d099a75 /drivers/remoteproc/wkup_m3_rproc.c
parent6243e3c78ace66d337a1e43b60a1aa8f5b61bd72 (diff)
downloadlwn-7bb5fb207334758ce6ee84345d6f08e4fb284fe6.tar.gz
lwn-7bb5fb207334758ce6ee84345d6f08e4fb284fe6.zip
vduse: Cleanup the old kernel states after reset failure
We should cleanup the old kernel states e.g. interrupt callback no matter whether the userspace handle the reset correctly or not since virtio-vdpa can't handle the reset failure now. Otherwise, the old state might be used after reset which might break something, e.g. the old interrupt callback might be triggered by userspace after reset, which can break the virtio device driver. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Link: https://lore.kernel.org/r/20210906142158.181-1-xieyongji@bytedance.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/remoteproc/wkup_m3_rproc.c')
0 files changed, 0 insertions, 0 deletions