Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
arm/pci-test.c | 3 +++
config/config-arm-common.mak | 1 +
lib/pci-testdev.c| 31 +++
lib/pci.h| 1 +
4 files
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
arm/pci-test.c | 25 +++
config/config-arm-common.mak | 5 +-
lib/alloc.c | 3 -
lib/libcflat.h | 3 +
lib/pci-host-generic.c
This series extends the kvm-unit-tests/arm framework to support PCI.
Cc: Andrew Jones <drjo...@redhat.com>
Alexander Gordeev (11):
arm/pci: Device tree PCI probing
arm/pci: PCI bus scanning
arm/pci: Read devices BARs
arm/pci: Allocate and assign memory/io space resources
arm/pc
This updat is a reminiscence of x86 implementation - to
provision a possible future common PCI interface.
Make pcidevaddr_t as int, not u16. There is no good reason
to limit it to u16 while omitting properly adjusted bit fields.
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Ale
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
arm/pci-test.c| 2 +-
lib/pci-testdev.c | 139 --
lib/pci.h | 2 +-
3 files changed, 138 insertions(+), 5 deletions(-)
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
lib/pci-host-generic.c | 71 --
1 file changed, 69 insertions(+), 2 deletions(-)
diff --git a/lib/pci-host-generic.c b/lib/pci-host-gen
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
lib/pci-host-generic.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/lib/pci-host-generic.c b/lib/pci-host-generic.c
index 2d218a4..50cf09a 1006
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
lib/pci-host-generic.c | 90 ++
lib/pci-host-generic.h | 10 ++
2 files changed, 100 insertions(+)
diff --git a/lib/pci-host-generic
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
lib/pci-testdev.c | 16
1 file changed, 16 insertions(+)
diff --git a/lib/pci-testdev.c b/lib/pci-testdev.c
index de97f82..dd6a5ac 100644
--- a/lib/pci-testdev.c
+
Cc: Andrew Jones <drjo...@redhat.com>
Signed-off-by: Alexander Gordeev <agord...@redhat.com>
---
lib/pci-testdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/lib/pci-testdev.c b/lib/pci-testdev.c
index dd6a5ac..f7f291f 100644
--- a/lib/pci-testdev.c
+
On Wed, Jan 13, 2016 at 04:13:07PM +0100, Andrew Jones wrote:
> > diff --git a/lib/pci-host-generic.h b/lib/pci-host-generic.h
> > new file mode 100644
> > index 000..097ac2d
> > --- /dev/null
> > +++ b/lib/pci-host-generic.h
> > @@ -0,0 +1,26 @@
> > +#ifndef PCI_HOST_GENERIC_H
> > +#define
On Wed, Jan 13, 2016 at 04:13:07PM +0100, Andrew Jones wrote:
> > + assert(dt_get_nr_cells(node, _root, _root) == 0);
>
> Sorry the starter code I sent you had statements inside asserts().
> We avoid those now, see commit 18ab6cadf
Hmm.. the commit does not appear addressing the described
in
On Wed, Jan 13, 2016 at 04:58:46PM +0100, Andrew Jones wrote:
> On Sat, Jan 09, 2016 at 01:22:49PM +0100, Alexander Gordeev wrote:
> > Scan bus 0 and function 0 only for now
> >
> > Cc: Andrew Jones <drjo...@redhat.com>
> > Signed-off-by: Alexander Gordeev <a
13 matches
Mail list logo