]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio/pci: Disable qword access to the VGA region
authorKevin Tian <kevin.tian@intel.com>
Thu, 18 Dec 2025 08:16:50 +0000 (08:16 +0000)
committerAlex Williamson <alex@shazbot.org>
Tue, 23 Dec 2025 21:07:08 +0000 (14:07 -0700)
commit8bb808cea3016c11c39e6c7f40a2f772e2eed3fe
treed9943413ac4c9a15c0b998058e015df53b5bc0ff
parentdc85a46928c41423ad89869baf05a589e2975575
vfio/pci: Disable qword access to the VGA region

Seems no reason to allow qword access to the old VGA resource. Better
restrict it to dword access as before.

Suggested-by: Alex Williamson <alex@shazbot.org>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20251218081650.555015-3-kevin.tian@intel.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/pci/vfio_pci_rdwr.c