diff options
| author | Jia Jia <physicalmtea@gmail.com> | 2026-08-20 16:03:31 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-09-04 17:06:02 -0400 |
| commit | d815cff740fae4aa6becf5ee74324a804e40ada3 (patch) | |
| tree | bbe1a5e1a97d58dc7fcd7088345310c37bc4de24 /scripts/Makefile.thinlto | |
| parent | 9b860838767c480b0a3cd632c4fc9632fb24caf0 (diff) | |
| download | linux-next-d815cff740fae4aa6becf5ee74324a804e40ada3.tar.gz linux-next-d815cff740fae4aa6becf5ee74324a804e40ada3.zip | |
vhost/vsock: discard IOTLB when ACCESS_PLATFORM is cleared
Clear the device IOTLB when userspace clears VIRTIO_F_ACCESS_PLATFORM.
Otherwise descriptor translation can continue to use mappings installed
before the feature change.
The common helper invalidates cached vring access and applies the
transition even while a backend is attached. The backend remains attached,
but userspace must configure the vring addresses for the new address mode
after a successful live transition.
Fixes: e13a6915a03f ("vhost/vsock: add IOTLB API support")
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jia Jia <physicalmtea@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260820080332.313933-3-physicalmtea@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
