diff options
| author | Jia Jia <physicalmtea@gmail.com> | 2026-08-20 16:03:32 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-09-04 17:06:02 -0400 |
| commit | 975eeb2291a6a410c1a7199c273384de436c13ac (patch) | |
| tree | 5b6420ff36506c4268ff7fe8f4acbc8ab9f146e8 /scripts/Makefile.thinlto | |
| parent | d815cff740fae4aa6becf5ee74324a804e40ada3 (diff) | |
| download | linux-next-975eeb2291a6a410c1a7199c273384de436c13ac.tar.gz linux-next-975eeb2291a6a410c1a7199c273384de436c13ac.zip | |
vhost/net: discard IOTLB when ACCESS_PLATFORM is cleared
Apply the common device IOTLB teardown when userspace clears
VIRTIO_F_ACCESS_PLATFORM. This drops stale translations and avoids
rebuilding an existing IOTLB during feature updates that keep
ACCESS_PLATFORM enabled.
The transition invalidates cached vring access even with an attached
backend. The backend remains attached, but userspace must configure the
vring addresses for the new address mode after a successful live
transition.
Fixes: 6b1e6cc7855b ("vhost: new device IOTLB API")
Link: https://lore.kernel.org/all/20260726141158.1652386-1-physicalmtea@gmail.com/
Signed-off-by: Jia Jia <physicalmtea@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260820080332.313933-4-physicalmtea@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
