search for: res_isr

Displaying 8 results from an estimated 8 matches for "res_isr".

Did you mean: res_id
2015 Jun 18
2
[PATCH v2] virtio-pci: alloc only resources actually used.
...4e5..9e744b8 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -75,6 +75,11 @@ struct virtio_pci_device { /* Multiply queue_notify_off by this value. (non-legacy mode). */ u32 notify_offset_multiplier; + struct resource *res_common; + struct resource *res_isr; + struct resource *res_device; + struct resource *res_notify; + /* Legacy only field */ /* the IO mapping for the PCI config space */ void __iomem *ioaddr; diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 256a527..48bc979 100644 --- a/drivers/virtio/...
2015 Jun 16
2
[PATCH] virtio-pci: alloc only resources actually used.
...4e5..9e744b8 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -75,6 +75,11 @@ struct virtio_pci_device { /* Multiply queue_notify_off by this value. (non-legacy mode). */ u32 notify_offset_multiplier; + struct resource *res_common; + struct resource *res_isr; + struct resource *res_device; + struct resource *res_notify; + /* Legacy only field */ /* the IO mapping for the PCI config space */ void __iomem *ioaddr; diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 256a527..48bc979 100644 --- a/drivers/virtio/...
2015 Jun 18
2
[PATCH v2] virtio-pci: alloc only resources actually used.
...4e5..9e744b8 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -75,6 +75,11 @@ struct virtio_pci_device { /* Multiply queue_notify_off by this value. (non-legacy mode). */ u32 notify_offset_multiplier; + struct resource *res_common; + struct resource *res_isr; + struct resource *res_device; + struct resource *res_notify; + /* Legacy only field */ /* the IO mapping for the PCI config space */ void __iomem *ioaddr; diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 256a527..48bc979 100644 --- a/drivers/virtio/...
2015 Jun 16
2
[PATCH] virtio-pci: alloc only resources actually used.
...4e5..9e744b8 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -75,6 +75,11 @@ struct virtio_pci_device { /* Multiply queue_notify_off by this value. (non-legacy mode). */ u32 notify_offset_multiplier; + struct resource *res_common; + struct resource *res_isr; + struct resource *res_device; + struct resource *res_notify; + /* Legacy only field */ /* the IO mapping for the PCI config space */ void __iomem *ioaddr; diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 256a527..48bc979 100644 --- a/drivers/virtio/...
2015 Jun 16
0
[PATCH] virtio-pci: alloc only resources actually used.
...irtio/virtio_pci_common.h > +++ b/drivers/virtio/virtio_pci_common.h > @@ -75,6 +75,11 @@ struct virtio_pci_device { > /* Multiply queue_notify_off by this value. (non-legacy mode). */ > u32 notify_offset_multiplier; > > + struct resource *res_common; > + struct resource *res_isr; > + struct resource *res_device; > + struct resource *res_notify; > + > /* Legacy only field */ > /* the IO mapping for the PCI config space */ > void __iomem *ioaddr; > diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c > index 256a5...
2015 Jun 18
0
[PATCH v2] virtio-pci: alloc only resources actually used.
...irtio/virtio_pci_common.h > +++ b/drivers/virtio/virtio_pci_common.h > @@ -75,6 +75,11 @@ struct virtio_pci_device { > /* Multiply queue_notify_off by this value. (non-legacy mode). */ > u32 notify_offset_multiplier; > > + struct resource *res_common; > + struct resource *res_isr; > + struct resource *res_device; > + struct resource *res_notify; > + > /* Legacy only field */ > /* the IO mapping for the PCI config space */ > void __iomem *ioaddr; > diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c > index 256a5...
2015 Jun 18
1
[PATCH v2] virtio-pci: alloc only resources actually used.
...(not the case in the current qemu implementation, but still ...). > > + vp_dev->res_common = request_capability(pci_dev, common, 0, > > Please make limit = sizeof(struct virtio_pci_common_cfg) and not 0. > > > + "virtio-pci-common"); > > + vp_dev->res_isr = request_capability(pci_dev, isr, 0, > > + "virtio-pci-isr"); > > And here, 1. > > > + vp_dev->res_notify = request_capability(pci_dev, notify, 0, > > + "virtio-pci-notify"); > > + if (device) { > > + vp_dev->res_device...
2015 Jun 18
1
[PATCH v2] virtio-pci: alloc only resources actually used.
...(not the case in the current qemu implementation, but still ...). > > + vp_dev->res_common = request_capability(pci_dev, common, 0, > > Please make limit = sizeof(struct virtio_pci_common_cfg) and not 0. > > > + "virtio-pci-common"); > > + vp_dev->res_isr = request_capability(pci_dev, isr, 0, > > + "virtio-pci-isr"); > > And here, 1. > > > + vp_dev->res_notify = request_capability(pci_dev, notify, 0, > > + "virtio-pci-notify"); > > + if (device) { > > + vp_dev->res_device...