summaryrefslogtreecommitdiffstats
path: root/mm/early_ioremap.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2022-03-10 15:52:11 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-03-10 08:12:04 -0500
commit95932ab2ea07b79cdb33121e2f40ccda9e6a73b5 (patch)
tree168fc062bd85d9bdf0f2437df3f610b293218d85 /mm/early_ioremap.c
parent3dd7d135e75cb37c8501ba02977332a2a487dd39 (diff)
downloadlinux-95932ab2ea07b79cdb33121e2f40ccda9e6a73b5.tar.bz2
vhost: allow batching hint without size
Commit e2ae38cf3d91 ("vhost: fix hung thread due to erroneous iotlb entries") tries to reject the IOTLB message whose size is zero. But the size is not necessarily meaningful, one example is the batching hint, so the commit breaks that. Fixing this be reject zero size message only if the message is used to update/invalidate the IOTLB. Fixes: e2ae38cf3d91 ("vhost: fix hung thread due to erroneous iotlb entries") Reported-by: Eli Cohen <elic@nvidia.com> Cc: Anirudh Rayabharam <mail@anirudhrb.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20220310075211.4801-1-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Eli Cohen <elic@nvidia.com>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions