search for: pci_vendor_id_redhat_qumranet

Displaying 20 results from an estimated 95 matches for "pci_vendor_id_redhat_qumranet".

2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/7 ??9:51, Michael S. Tsirkin wrote: > On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>> +??? { 0 } >>>>> +}; >>>> This looks like it'll create a mess with either virtio pci >>>> or vdpa being loaded at random. Maybe just don't specify >>>> any IDs for now. Down the road we could get a >&...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/7 ??9:51, Michael S. Tsirkin wrote: > On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>> +??? { 0 } >>>>> +}; >>>> This looks like it'll create a mess with either virtio pci >>>> or vdpa being loaded at random. Maybe just don't specify >>>> any IDs for now. Down the road we could get a >&...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...6/7 ??9:51, Michael S. Tsirkin wrote: >>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>>>> +??? { 0 } >>>>>>> +}; >>>>>> This looks like it'll create a mess with either virtio pci >>>>>> or vdpa being loaded at random. Maybe just don't specify >>>>>> any IDs for...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...6/7 ??9:51, Michael S. Tsirkin wrote: >>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>>>> +??? { 0 } >>>>>>> +}; >>>>>> This looks like it'll create a mess with either virtio pci >>>>>> or vdpa being loaded at random. Maybe just don't specify >>>>>> any IDs for...
2020 Jun 05
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/2 ??3:08, Jason Wang wrote: >> >>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>> +??? { 0 } >>> +}; >> This looks like it'll create a mess with either virtio pci >> or vdpa being loaded at random. Maybe just don't specify >> any IDs for now. Down the road we could get a >> distinct vendor ID or a range of dev...
2020 Jun 05
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/2 ??3:08, Jason Wang wrote: >> >>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>> +??? { 0 } >>> +}; >> This looks like it'll create a mess with either virtio pci >> or vdpa being loaded at random. Maybe just don't specify >> any IDs for now. Down the road we could get a >> distinct vendor ID or a range of dev...
2020 Jun 08
0
[PATCH 5/6] vdpa: introduce virtio pci driver
...20/6/7 ??9:51, Michael S. Tsirkin wrote: > > On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: > > > On 2020/6/2 ??3:08, Jason Wang wrote: > > > > > > +static const struct pci_device_id vp_vdpa_id_table[] = { > > > > > > +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, > > > > > > +??? { 0 } > > > > > > +}; > > > > > This looks like it'll create a mess with either virtio pci > > > > > or vdpa being loaded at random. Maybe just don't specify > > > > > any IDs f...
2020 Jun 08
0
[PATCH 5/6] vdpa: introduce virtio pci driver
...> > > > On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: > > > > > On 2020/6/2 ??3:08, Jason Wang wrote: > > > > > > > > +static const struct pci_device_id vp_vdpa_id_table[] = { > > > > > > > > +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, > > > > > > > > +??? { 0 } > > > > > > > > +}; > > > > > > > This looks like it'll create a mess with either virtio pci > > > > > > > or vdpa being loaded at random. Maybe just don't sp...
2020 Jun 02
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...s to check and just skip the write if ready == 0, right? Of course vdpa core then insists on calling vp_vdpa_get_vq_ready which will warn. Maybe just drop the check from core, move it to drivers which need it? ... > +static const struct pci_device_id vp_vdpa_id_table[] = { > + { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, > + { 0 } > +}; This looks like it'll create a mess with either virtio pci or vdpa being loaded at random. Maybe just don't specify any IDs for now. Down the road we could get a distinct vendor ID or a range of device IDs for this. > +MODULE_DEVICE_TABLE(pci, vp_v...
2020 Jun 02
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...s to check and just skip the write if ready == 0, right? Of course vdpa core then insists on calling vp_vdpa_get_vq_ready which will warn. Maybe just drop the check from core, move it to drivers which need it? ... > +static const struct pci_device_id vp_vdpa_id_table[] = { > + { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, > + { 0 } > +}; This looks like it'll create a mess with either virtio pci or vdpa being loaded at random. Maybe just don't specify any IDs for now. Down the road we could get a distinct vendor ID or a range of device IDs for this. > +MODULE_DEVICE_TABLE(pci, vp_v...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...rote: >>>>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>>>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>>>>>> +??? { 0 } >>>>>>>>> +}; >>>>>>>> This looks like it'll create a mess with either virtio pci >>>>>>>> or vdpa being loaded at random. Maybe just don't specify >...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...rote: >>>>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>>>>>>>> +??? { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>>>>>>>> +??? { 0 } >>>>>>>>> +}; >>>>>>>> This looks like it'll create a mess with either virtio pci >>>>>>>> or vdpa being loaded at random. Maybe just don't specify >...
2014 Sep 21
2
[PATCH RFC] virtio-pci: share config interrupt between virtio devices
...t; in spite of the fact the virtio spec always required this explicitly. I think I may be a bit confused here, but AFAIK we do set subsystem vendor ID properly for our virtio-pci devices? vpci->pci_hdr = (struct pci_device_header) { .vendor_id = cpu_to_le16(PCI_VENDOR_ID_REDHAT_QUMRANET), .device_id = cpu_to_le16(device_id), [...] .subsys_vendor_id = cpu_to_le16(PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET), Thanks, Sasha
2014 Sep 21
2
[PATCH RFC] virtio-pci: share config interrupt between virtio devices
...t; in spite of the fact the virtio spec always required this explicitly. I think I may be a bit confused here, but AFAIK we do set subsystem vendor ID properly for our virtio-pci devices? vpci->pci_hdr = (struct pci_device_header) { .vendor_id = cpu_to_le16(PCI_VENDOR_ID_REDHAT_QUMRANET), .device_id = cpu_to_le16(device_id), [...] .subsys_vendor_id = cpu_to_le16(PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET), Thanks, Sasha
2014 Sep 21
1
[PATCH RFC] virtio-pci: share config interrupt between virtio devices
...t; >> > I think I may be a bit confused here, but AFAIK we do set subsystem vendor >> > ID properly for our virtio-pci devices? >> > >> > vpci->pci_hdr = (struct pci_device_header) { >> > .vendor_id = cpu_to_le16(PCI_VENDOR_ID_REDHAT_QUMRANET), >> > .device_id = cpu_to_le16(device_id), >> > [...] >> > .subsys_vendor_id = cpu_to_le16(PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET), >> > >> > >> > Thanks, >> > Sasha > > Ye...
2014 Sep 21
1
[PATCH RFC] virtio-pci: share config interrupt between virtio devices
...t; >> > I think I may be a bit confused here, but AFAIK we do set subsystem vendor >> > ID properly for our virtio-pci devices? >> > >> > vpci->pci_hdr = (struct pci_device_header) { >> > .vendor_id = cpu_to_le16(PCI_VENDOR_ID_REDHAT_QUMRANET), >> > .device_id = cpu_to_le16(device_id), >> > [...] >> > .subsys_vendor_id = cpu_to_le16(PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET), >> > >> > >> > Thanks, >> > Sasha > > Ye...
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...2); + vmmio->kvm = kvm; + + kvm__register_mmio(kvm, vmmio->addr, PCI_IO_SIZE * 2, callback_mmio, vtrans); + + vmmio->hdr = (struct virtio_mmio_hdr) { + .magic = {'v', 'i', 'r', 't'}, + .version = 1, + .device_id = device_id - 0x1000 + 1, + .vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET, + .queue_num_max = 256, + }; + + if (irq__register_device(subsys_id, &ndev, &pin, &line) < 0) + return -1; + + pr_info("virtio-net assigned addr: %x - %x line: %d\n", vmmio->addr, + vmmio->addr + 0x200, line); + vmmio->irq = line; + + return 0; +} diff --git...
2011 Nov 15
2
[RFC] kvm tools: Add support for virtio-mmio
...2); + vmmio->kvm = kvm; + + kvm__register_mmio(kvm, vmmio->addr, PCI_IO_SIZE * 2, callback_mmio, vtrans); + + vmmio->hdr = (struct virtio_mmio_hdr) { + .magic = {'v', 'i', 'r', 't'}, + .version = 1, + .device_id = device_id - 0x1000 + 1, + .vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET, + .queue_num_max = 256, + }; + + if (irq__register_device(subsys_id, &ndev, &pin, &line) < 0) + return -1; + + pr_info("virtio-net assigned addr: %x - %x line: %d\n", vmmio->addr, + vmmio->addr + 0x200, line); + vmmio->irq = line; + + return 0; +} diff --git...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...9pfs/virtio-9p-device.c @@ -163,23 +163,32 @@ static int virtio_9p_init_pci(PCIDevice *pci_dev) return 0; } -static PCIDeviceInfo virtio_9p_info = { - .qdev.name = "virtio-9p-pci", - .qdev.size = sizeof(VirtIOPCIProxy), - .init = virtio_9p_init_pci, - .vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET, - .device_id = 0x1009, - .revision = VIRTIO_PCI_ABI_VERSION, - .class_id = 0x2, - .qdev.props = (Property[]) { - DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags, VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT, true), - DEFINE_PROP_UINT32("vectors", VirtIOPCIPr...
2016 Aug 30
4
[PATCH v2 2/2] vfio: add virtio pci quirk
...i/vfio_pci.c > index d624a52..e93bf0c 100644 > --- a/drivers/vfio/pci/vfio_pci.c > +++ b/drivers/vfio/pci/vfio_pci.c > @@ -1236,6 +1236,20 @@ static int vfio_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) > return ret; > } > > + if (pdev->vendor == PCI_VENDOR_ID_REDHAT_QUMRANET) { Perhaps a vfio_pci_is_virtio() like vga below? Let's test the device ID range initially as well, this test raised a big red flag for me whether all devices within this vendor ID were virtio. > + bool noiommu = vfio_is_noiommu_group_dev(&pdev->dev); I think you can use iommu_pr...