On Wed, Jun 24, 2015 at 07:54:15AM +0200, Gerd Hoffmann wrote:
> Move resource allocation from common code to legacy and modern code.
> Only request resources actually used, i.e. bar0 in legacy mode and
> the bar(s) specified by capabilities in modern mode.
>
> Signed-off-by: Gerd Hoffmann
> ---
Move resource allocation from common code to legacy and modern code.
Only request resources actually used, i.e. bar0 in legacy mode and
the bar(s) specified by capabilities in modern mode.
Signed-off-by: Gerd Hoffmann
---
drivers/virtio/virtio_pci_common.c | 7 ---
drivers/virtio/virtio_pci
On Tue, Jun 23, 2015 at 03:54:48PM +0200, Gerd Hoffmann wrote:
> Move resource allocation from common code to legacy and modern code.
> Only request resources actually used, i.e. bar0 in legacy mode and
> the bar(s) specified by capabilities in modern mode.
>
> Signed-off-by: Gerd Hoffmann
Looks
Move resource allocation from common code to legacy and modern code.
Only request resources actually used, i.e. bar0 in legacy mode and
the bar(s) specified by capabilities in modern mode.
Signed-off-by: Gerd Hoffmann
---
drivers/virtio/virtio_pci_common.c | 7 ---
drivers/virtio/virtio_pci
On Thu, Jun 18, 2015 at 10:14:40AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > > +static struct resource *request_capability(struct pci_dev *dev, int off,
> > > +const char *name)
> > > +{
> > > + u8 bar;
> > > + u32 offset, length;
> > > +
> > > + pci_read_config
Hi,
> > +static struct resource *request_capability(struct pci_dev *dev, int off,
> > + const char *name)
> > +{
> > + u8 bar;
> > + u32 offset, length;
> > +
> > + pci_read_config_byte(dev, off + offsetof(struct virtio_pci_cap,
> > +
On Tue, Jun 16, 2015 at 03:57:52PM +0200, Gerd Hoffmann wrote:
> Move resource allocation from common code to legacy and modern code.
> Only request resources actually used, i.e. bar0 in legacy mode and
> the regions specified by capabilities in modern mode.
>
> Signed-off-by: Gerd Hoffmann
> ---
Move resource allocation from common code to legacy and modern code.
Only request resources actually used, i.e. bar0 in legacy mode and
the regions specified by capabilities in modern mode.
Signed-off-by: Gerd Hoffmann
---
drivers/virtio/virtio_pci_common.c | 7 -
drivers/virtio/virtio_pci_
8 matches
Mail list logo