search for: res_notify

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

2015 Jun 18
2
[PATCH v2] virtio-pci: alloc only resources actually used.
...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/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @...
2015 Jun 16
2
[PATCH] virtio-pci: alloc only resources actually used.
...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/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @...
2015 Jun 18
2
[PATCH v2] virtio-pci: alloc only resources actually used.
...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/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @...
2015 Jun 16
2
[PATCH] virtio-pci: alloc only resources actually used.
...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/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @...
2015 Jun 16
0
[PATCH] virtio-pci: alloc only resources actually used.
....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/virtio_pci_legacy.c > ++...
2015 Jun 18
0
[PATCH v2] virtio-pci: alloc only resources actually used.
....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/virtio_pci_legacy.c > ++...
2015 Jun 18
1
[PATCH v2] virtio-pci: alloc only resources actually used.
...t; > 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 = request_capability(pci_dev, device, > > + PAGE_SIZE, > > + "virtio-pci-device"); > > + } > > Please...
2015 Jun 18
1
[PATCH v2] virtio-pci: alloc only resources actually used.
...t; > 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 = request_capability(pci_dev, device, > > + PAGE_SIZE, > > + "virtio-pci-device"); > > + } > > Please...