search for: virtio_pci_modern_dev

Displaying 7 results from an estimated 7 matches for "virtio_pci_modern_dev".

2023 May 03
1
[PATCH v5 virtio 02/11] virtio: allow caller to override device DMA mask in vp_modern
To add a bit of vendor flexibility with various virtio based devices, allow the caller to specify a different DMA mask. This adds a dma_mask field to struct virtio_pci_modern_device. If defined by the driver, this mask will be used in a call to dma_set_mask_and_coherent() instead of the traditional DMA_BIT_MASK(64). This allows limiting the DMA space on vendor devices with address limitations. Signed-off-by: Shannon Nelson <shannon.nelson at amd.com> --- drivers/v...
2023 May 03
1
[PATCH v5 virtio 01/11] virtio: allow caller to override device id in vp_modern
To add a bit of vendor flexibility with various virtio based devices, allow the caller to check for a different device id. This adds a function pointer field to struct virtio_pci_modern_device to specify an override device id check. If defined by the driver, this function will be called to check that the PCI device is the vendor's expected device, and will return the found device id to be stored in mdev->id.device. This allows vendors with alternative vendor device ids to use...
2023 Mar 23
0
[PATCH v3 virtio 1/8] virtio: allow caller to override device id and DMA mask
...with various virtio based devices, allow > the caller to specify a different device id and DMA mask. This adds > fields to struct XXX to specify an override device id check and a DMA mask. > > Signed-off-by: Shannon Nelson <shannon.nelson at amd.com> > --- > drivers/virtio/virtio_pci_modern_dev.c | 36 +++++++++++++++++--------- > include/linux/virtio_pci_modern.h | 6 +++++ > 2 files changed, 30 insertions(+), 12 deletions(-) > > diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c > index 869cb46bef96..6ad1bb9ae8fa 100644 >...
2023 Mar 05
1
ocfs2 xattr
...e jbd2 crc32c_generic hid_generic usbhid hid xhci_pci xhci_hcd ahci libahci libata virtio_net net_failover virtio_blk failover usbcore scsi_mod psmouse crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel i2c_i801 i2c_smbus scsi_common [ 27.392203] lpc_ich virtio_pci virtio_pci_legacy_dev virtio_pci_modern_dev usb_common virtio virtio_ring [ 27.396539] CR2: 0000000000000000 [ 27.397026] ---[ end trace 0000000000000000 ]--- [ 27.397518] RIP: 0010:strlen+0x0/0x20 [ 27.398009] Code: b6 07 38 d0 74 14 48 83 c7 01 84 c0 74 05 48 39 f7 75 ec 31 c0 c3 cc cc cc cc 48 89 f8 c3 cc cc cc cc 0f 1f 84 00 00 0...
2023 Mar 17
0
[PATCH RFC v2 virtio 3/7] pds_vdpa: virtio bar setup for vdpa
...hu, Mar 9, 2023 at 9:31?AM Shannon Nelson <shannon.nelson at amd.com> wrote: > >> > >> The PDS vDPA device has a virtio BAR for describing itself, and > >> the pds_vdpa driver needs to access it. Here we copy liberally > >> from the existing drivers/virtio/virtio_pci_modern_dev.c as it > >> has what we need, but we need to modify it so that it can work > >> with our device id and so we can use our own DMA mask. > > > > By passing a pointer to a customized id probing routine to vp_modern_probe()? > > The only real differences are that we...
2023 Jul 03
1
[GIT PULL] virtio: features, fixes, cleanups
...| 103 +-- drivers/vhost/vhost.c | 425 ++++++++++-- drivers/vhost/vhost.h | 24 +- drivers/vhost/vsock.c | 4 +- drivers/virtio/virtio_pci_common.h | 7 +- drivers/virtio/virtio_pci_modern_dev.c | 33 +- drivers/virtio/virtio_vdpa.c | 4 +- include/linux/pds/pds_adminq.h | 247 +++++++ include/linux/pds/pds_common.h | 21 +- include/linux/virtio.h | 5 +- include/linux/virtio_pci_m...
2023 Mar 31
7
[PATCH 0/5] vDPA/ifcvf: implement immediate initialization mechanism
Formerly, ifcvf driver has implemented a lazy-initialization mechanism for the virtqueues and other config space contents, it would store all configurations that passed down from the userspace, then load them to the device config space upon DRIVER_OK. This can not serve live migration, so this series implement an immediate initialization mechanism, which means rather than the former store-load