]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vfio/pci: Support 8-byte PCI loads and stores
authorBen Segal <bpsegal@us.ibm.com>
Wed, 19 Jun 2024 11:58:46 +0000 (13:58 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Jun 2024 18:47:01 +0000 (12:47 -0600)
commit4df13a6871d9e97aeeef72244e9a954c5cf11f54
treeeedeb1d7c8cbf7b3bd1df8acac7afed11c0be661
parent186bfe44ea41fb38c7a69becd7078724d28cd03c
vfio/pci: Support 8-byte PCI loads and stores

Many PCI adapters can benefit or even require full 64bit read
and write access to their registers. In order to enable work on
user-space drivers for these devices add two new variations
vfio_pci_core_io{read|write}64 of the existing access methods
when the architecture supports 64-bit ioreads and iowrites.

Signed-off-by: Ben Segal <bpsegal@us.ibm.com>
Co-developed-by: Gerd Bayer <gbayer@linux.ibm.com>
Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com>
Link: https://lore.kernel.org/r/20240619115847.1344875-3-gbayer@linux.ibm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_rdwr.c
include/linux/vfio_pci_core.h