]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio/pci: Pull BAR mapping setup from read-write path
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 21 Mar 2018 18:46:20 +0000 (12:46 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 26 Mar 2018 19:22:58 +0000 (13:22 -0600)
commit0d77ed3589ac054d197ccde7231e36f9e032426c
tree90d921dfa7c134288cb0889653ec8d72302366a5
parent356e88ebe4473a3663cf3d14727ce293a4526d34
vfio/pci: Pull BAR mapping setup from read-write path

This creates a common helper that we'll use for ioeventfd setup.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_rdwr.c