search for: vfio_pci_priv

Displaying 19 results from an estimated 19 matches for "vfio_pci_priv".

2016 Aug 30
4
[PATCH v2 2/2] vfio: add virtio pci quirk
...RM > to signal they are safe to use with an IOMMU. > > Without this bit, exposing the device to userspace is unsafe, so probe > and fail VFIO initialization unless noiommu is enabled. > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > --- > drivers/vfio/pci/vfio_pci_private.h | 1 + > drivers/vfio/pci/vfio_pci.c | 14 ++++ > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > drivers/vfio/pci/Makefile | 1 + > 4 files changed, 156 insertions(+) > create mode 100644 drivers/vfio/pci/vfio_pci_virtio...
2016 Aug 30
4
[PATCH v2 2/2] vfio: add virtio pci quirk
...RM > to signal they are safe to use with an IOMMU. > > Without this bit, exposing the device to userspace is unsafe, so probe > and fail VFIO initialization unless noiommu is enabled. > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > --- > drivers/vfio/pci/vfio_pci_private.h | 1 + > drivers/vfio/pci/vfio_pci.c | 14 ++++ > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > drivers/vfio/pci/Makefile | 1 + > 4 files changed, 156 insertions(+) > create mode 100644 drivers/vfio/pci/vfio_pci_virtio...
2016 Apr 18
1
[PATCH RFC 3/3] vfio: add virtio pci quirk
...RM > to signal they are safe to use with an IOMMU. > > Without this bit, exposing the device to userspace is unsafe, so probe > and fail VFIO initialization unless noiommu is enabled. > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > --- > drivers/vfio/pci/vfio_pci_private.h | 1 + > drivers/vfio/pci/vfio_pci.c | 11 +++ > drivers/vfio/pci/vfio_pci_virtio.c | 135 ++++++++++++++++++++++++++++++++++++ > drivers/vfio/pci/Makefile | 1 + > 4 files changed, 148 insertions(+) > create mode 100644 drivers/vfio/pci/vfio_pci_virtio....
2016 Apr 18
1
[PATCH RFC 3/3] vfio: add virtio pci quirk
...RM > to signal they are safe to use with an IOMMU. > > Without this bit, exposing the device to userspace is unsafe, so probe > and fail VFIO initialization unless noiommu is enabled. > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > --- > drivers/vfio/pci/vfio_pci_private.h | 1 + > drivers/vfio/pci/vfio_pci.c | 11 +++ > drivers/vfio/pci/vfio_pci_virtio.c | 135 ++++++++++++++++++++++++++++++++++++ > drivers/vfio/pci/Makefile | 1 + > 4 files changed, 148 insertions(+) > create mode 100644 drivers/vfio/pci/vfio_pci_virtio....
2016 Aug 30
6
[PATCH v2 0/2] vfio: blacklist legacy virtio devices
...This adds a quirk detecting these and disabling VFIO unless the noiommu mode is used. At the moment, this only applies to virtio-pci devices. The patch might make sense on stable as well. Michael S. Tsirkin (2): vfio: report group noiommu status vfio: add virtio pci quirk drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/vfio.h | 2 + drivers/vfio/pci/vfio_pci.c | 14 ++++ drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ drivers/vfio/vfio.c | 12 ++++ drivers/vfio/pci/Makefile | 1 + 6 files changed, 17...
2016 Aug 30
6
[PATCH v2 0/2] vfio: blacklist legacy virtio devices
...This adds a quirk detecting these and disabling VFIO unless the noiommu mode is used. At the moment, this only applies to virtio-pci devices. The patch might make sense on stable as well. Michael S. Tsirkin (2): vfio: report group noiommu status vfio: add virtio pci quirk drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/vfio.h | 2 + drivers/vfio/pci/vfio_pci.c | 14 ++++ drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ drivers/vfio/vfio.c | 12 ++++ drivers/vfio/pci/Makefile | 1 + 6 files changed, 17...
2016 Aug 30
2
[PATCH v2 2/2] vfio: add virtio pci quirk
...> > > Without this bit, exposing the device to userspace is unsafe, so probe > > > and fail VFIO initialization unless noiommu is enabled. > > > > > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > > > --- > > > drivers/vfio/pci/vfio_pci_private.h | 1 + > > > drivers/vfio/pci/vfio_pci.c | 14 ++++ > > > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > > > drivers/vfio/pci/Makefile | 1 + > > > 4 files changed, 156 insertions(+) > > > c...
2016 Aug 30
2
[PATCH v2 2/2] vfio: add virtio pci quirk
...> > > Without this bit, exposing the device to userspace is unsafe, so probe > > > and fail VFIO initialization unless noiommu is enabled. > > > > > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > > > --- > > > drivers/vfio/pci/vfio_pci_private.h | 1 + > > > drivers/vfio/pci/vfio_pci.c | 14 ++++ > > > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > > > drivers/vfio/pci/Makefile | 1 + > > > 4 files changed, 156 insertions(+) > > > c...
2016 Apr 18
0
[PATCH RFC 3/3] vfio: add virtio pci quirk
...ci devices can set VIRTIO_F_IOMMU_PLATFORM to signal they are safe to use with an IOMMU. Without this bit, exposing the device to userspace is unsafe, so probe and fail VFIO initialization unless noiommu is enabled. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/vfio/pci/vfio_pci_private.h | 1 + drivers/vfio/pci/vfio_pci.c | 11 +++ drivers/vfio/pci/vfio_pci_virtio.c | 135 ++++++++++++++++++++++++++++++++++++ drivers/vfio/pci/Makefile | 1 + 4 files changed, 148 insertions(+) create mode 100644 drivers/vfio/pci/vfio_pci_virtio.c diff --git a/drivers/v...
2016 Aug 30
0
[PATCH v2 2/2] vfio: add virtio pci quirk
...ci devices can set VIRTIO_F_IOMMU_PLATFORM to signal they are safe to use with an IOMMU. Without this bit, exposing the device to userspace is unsafe, so probe and fail VFIO initialization unless noiommu is enabled. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/vfio/pci/vfio_pci_private.h | 1 + drivers/vfio/pci/vfio_pci.c | 14 ++++ drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ drivers/vfio/pci/Makefile | 1 + 4 files changed, 156 insertions(+) create mode 100644 drivers/vfio/pci/vfio_pci_virtio.c diff --git a/drivers/...
2016 Apr 18
5
[PATCH RFC 0/3] virtio-pci: iommu support
...s that mix IOMMU and no-IOMMU configs. If so, failing on probe might not be the right thing to do, should fail binding to IOMMU group instead. Michael S. Tsirkin (3): virtio: add features for IOMMU control vfio: report group noiommu status vfio: add virtio pci quirk drivers/vfio/pci/vfio_pci_private.h | 1 + include/uapi/linux/virtio_config.h | 10 +- drivers/vfio/pci/vfio_pci.c | 13 ++- drivers/vfio/pci/vfio_pci_virtio.c | 142 +++++++++++++++++++++++++++ drivers/vfio/platform/vfio_platform_common.c | 2 +- drivers/vfio/vfio.c...
2016 Apr 18
5
[PATCH RFC 0/3] virtio-pci: iommu support
...s that mix IOMMU and no-IOMMU configs. If so, failing on probe might not be the right thing to do, should fail binding to IOMMU group instead. Michael S. Tsirkin (3): virtio: add features for IOMMU control vfio: report group noiommu status vfio: add virtio pci quirk drivers/vfio/pci/vfio_pci_private.h | 1 + include/uapi/linux/virtio_config.h | 10 +- drivers/vfio/pci/vfio_pci.c | 13 ++- drivers/vfio/pci/vfio_pci_virtio.c | 142 +++++++++++++++++++++++++++ drivers/vfio/platform/vfio_platform_common.c | 2 +- drivers/vfio/vfio.c...
2016 Aug 30
0
[PATCH v2 2/2] vfio: add virtio pci quirk
...use with an IOMMU. > > > > Without this bit, exposing the device to userspace is unsafe, so probe > > and fail VFIO initialization unless noiommu is enabled. > > > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > > --- > > drivers/vfio/pci/vfio_pci_private.h | 1 + > > drivers/vfio/pci/vfio_pci.c | 14 ++++ > > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > > drivers/vfio/pci/Makefile | 1 + > > 4 files changed, 156 insertions(+) > > create mode 100644 drivers...
2016 Aug 30
0
[PATCH v2 2/2] vfio: add virtio pci quirk
...is bit, exposing the device to userspace is unsafe, so probe > > > > and fail VFIO initialization unless noiommu is enabled. > > > > > > > > Signed-off-by: Michael S. Tsirkin <mst at redhat.com> > > > > --- > > > > drivers/vfio/pci/vfio_pci_private.h | 1 + > > > > drivers/vfio/pci/vfio_pci.c | 14 ++++ > > > > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > > > > drivers/vfio/pci/Makefile | 1 + > > > > 4 files changed, 156 insertions(...
2017 Jan 22
1
[PATCH v2] vfio error recovery: kernel support
...fixed a couple of bugs Alex, pls review but don't apply until we get - userspace updated to use the new interface - testing reports drivers/vfio/pci/vfio_pci.c | 35 ++++++++++++++++++++++++++++++++++- drivers/vfio/pci/vfio_pci_intrs.c | 19 +++++++++++++++++++ drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/virtio_config.h | 12 +++++++++++- include/uapi/linux/vfio.h | 1 + 5 files changed, 66 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 0e33278..5d489b5 100644 --- a/drivers/vfio/pci/vfio_pci.c +...
2017 Jan 22
1
[PATCH v2] vfio error recovery: kernel support
...fixed a couple of bugs Alex, pls review but don't apply until we get - userspace updated to use the new interface - testing reports drivers/vfio/pci/vfio_pci.c | 35 ++++++++++++++++++++++++++++++++++- drivers/vfio/pci/vfio_pci_intrs.c | 19 +++++++++++++++++++ drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/virtio_config.h | 12 +++++++++++- include/uapi/linux/vfio.h | 1 + 5 files changed, 66 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 0e33278..5d489b5 100644 --- a/drivers/vfio/pci/vfio_pci.c +...
2017 Jan 22
2
[PATCH v3] vfio error recovery: kernel support
...e updated to use the new interface - testing reports Cao jin, could you pls look into integrating this with your userspace patches? drivers/vfio/pci/vfio_pci.c | 34 +++++++++++++++++++++++++++++++++- drivers/vfio/pci/vfio_pci_intrs.c | 19 +++++++++++++++++++ drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/virtio_config.h | 12 +++++++++++- include/uapi/linux/vfio.h | 1 + 5 files changed, 65 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 0e33278..7d58b8f 100644 --- a/drivers/vfio/pci/vfio_pci.c +...
2017 Jan 22
2
[PATCH v3] vfio error recovery: kernel support
...e updated to use the new interface - testing reports Cao jin, could you pls look into integrating this with your userspace patches? drivers/vfio/pci/vfio_pci.c | 34 +++++++++++++++++++++++++++++++++- drivers/vfio/pci/vfio_pci_intrs.c | 19 +++++++++++++++++++ drivers/vfio/pci/vfio_pci_private.h | 1 + include/linux/virtio_config.h | 12 +++++++++++- include/uapi/linux/vfio.h | 1 + 5 files changed, 65 insertions(+), 2 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 0e33278..7d58b8f 100644 --- a/drivers/vfio/pci/vfio_pci.c +...
2016 Aug 30
0
[Qemu-devel] [PATCH v2 0/2] vfio: blacklist legacy virtio devices
...ing VFIO unless the > noiommu mode is used. At the moment, this only applies to virtio-pci devices. > > The patch might make sense on stable as well. > > Michael S. Tsirkin (2): > vfio: report group noiommu status > vfio: add virtio pci quirk > > drivers/vfio/pci/vfio_pci_private.h | 1 + > include/linux/vfio.h | 2 + > drivers/vfio/pci/vfio_pci.c | 14 ++++ > drivers/vfio/pci/vfio_pci_virtio.c | 140 ++++++++++++++++++++++++++++++++++++ > drivers/vfio/vfio.c | 12 ++++ > drivers/vfio/pci/Makefile...