All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v4 00/12] PCI bus support
@ 2016-06-06 12:46 Alexander Gordeev
  2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 01/12] pci: Fix coding style in generic PCI files Alexander Gordeev
                   ` (12 more replies)
  0 siblings, 13 replies; 55+ messages in thread
From: Alexander Gordeev @ 2016-06-06 12:46 UTC (permalink / raw)
  To: kvm; +Cc: Alexander Gordeev, Thomas Huth, Andrew Jones

Hi all,

This series should be applied on top of "Cleanup low-level arch code"
series which is still not included. Yet, it is ready for review as
all previous comments and suggestions are addressed.

There might be some confusion about version numbering as I posted
the previous version as RFC with no version number at all. In fact
it was 3rd version so I am labelling this series as v4. Unlike the
RFC it does not have gaps in implementation.

There are quite a lot of changes since the previous version.

I tried pci-testdev against ARM and got the device semi-operational.
It is still to investigate, but that could be addressed separately.

Most interesting - writing to IO BAR on ARM does not seem working as
a written value does not read back. Probably, ARM64 is also affected,
but again - I have not investigated it yet.

Cc: Thomas Huth <thuth@redhat.com>
Cc: Andrew Jones <drjones@redhat.com>

Alexander Gordeev (12):
  pci: Fix coding style in generic PCI files
  pci: x86: Rename pci_config_read() to pci_config_readl()
  pci: x86: Add remaining PCI configuration space accessors
  pci: Rework pci_bar_addr()
  pci: Factor out pci_bar_get()
  pci: Add pci_bar_set_addr()
  pci: Add pci_dev_exists()
  pci: Add pci_print()
  pci: Add generic ECAM host support
  arm/arm64: pci: Add PCI bus operation test
  pci: Add pci-testdev PCI bus test device
  arm/arm64: pci: Add pci-testdev PCI device operation test

 arm/Makefile.common    |   7 +-
 arm/pci-test.c         |  31 ++++++
 arm/run                |   7 +-
 lib/arm/asm/pci.h      |  26 +++++
 lib/arm64/asm/pci.h    |   1 +
 lib/pci-host-generic.c | 294 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/pci-host-generic.h |  46 ++++++++
 lib/pci-testdev.c      | 184 +++++++++++++++++++++++++++++++
 lib/pci.c              | 194 ++++++++++++++++++++++++++++----
 lib/pci.h              |  33 +++++-
 lib/x86/asm/pci.h      |  31 +++++-
 x86/vmexit.c           |   4 +-
 12 files changed, 830 insertions(+), 28 deletions(-)
 create mode 100644 arm/pci-test.c
 create mode 100644 lib/arm/asm/pci.h
 create mode 100644 lib/arm64/asm/pci.h
 create mode 100644 lib/pci-host-generic.c
 create mode 100644 lib/pci-host-generic.h
 create mode 100644 lib/pci-testdev.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2016-06-28 13:01 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 12:46 [kvm-unit-tests PATCH v4 00/12] PCI bus support Alexander Gordeev
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 01/12] pci: Fix coding style in generic PCI files Alexander Gordeev
2016-06-06 13:22   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 02/12] pci: x86: Rename pci_config_read() to pci_config_readl() Alexander Gordeev
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 03/12] pci: x86: Add remaining PCI configuration space accessors Alexander Gordeev
2016-06-07  6:48   ` Thomas Huth
2016-06-08  6:21     ` Alexander Gordeev
2016-06-08 10:08       ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 04/12] pci: Rework pci_bar_addr() Alexander Gordeev
2016-06-06 14:12   ` Andrew Jones
2016-06-07  6:38     ` Alexander Gordeev
2016-06-07  7:03       ` Andrew Jones
2016-06-07 10:33         ` Alexander Gordeev
2016-06-07 11:23           ` Alexander Gordeev
2016-06-07 14:10             ` Andrew Jones
2016-06-07 14:08           ` Andrew Jones
2016-06-07 20:00             ` Alexander Gordeev
2016-06-08 11:59               ` Andrew Jones
2016-06-09 20:41                 ` Alexander Gordeev
2016-06-10  7:14                   ` Andrew Jones
2016-06-07  6:55     ` Alexander Gordeev
2016-06-10 18:56     ` Alexander Gordeev
2016-06-12 13:41       ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 05/12] pci: Factor out pci_bar_get() Alexander Gordeev
2016-06-06 15:19   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 06/12] pci: Add pci_bar_set_addr() Alexander Gordeev
2016-06-06 15:38   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 07/12] pci: Add pci_dev_exists() Alexander Gordeev
2016-06-06 15:40   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 08/12] pci: Add pci_print() Alexander Gordeev
2016-06-06 15:48   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 09/12] pci: Add generic ECAM host support Alexander Gordeev
2016-06-06 16:27   ` Andrew Jones
2016-06-08  6:36     ` Alexander Gordeev
2016-06-11 20:10     ` Alexander Gordeev
2016-06-12 13:42       ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 10/12] arm/arm64: pci: Add PCI bus operation test Alexander Gordeev
2016-06-06 16:39   ` Andrew Jones
2016-06-08  6:53     ` Alexander Gordeev
2016-06-08 12:08       ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 11/12] pci: Add pci-testdev PCI bus test device Alexander Gordeev
2016-06-06 17:00   ` Andrew Jones
2016-06-06 12:46 ` [kvm-unit-tests PATCH v4 12/12] arm/arm64: pci: Add pci-testdev PCI device operation test Alexander Gordeev
2016-06-06 17:04   ` Andrew Jones
2016-06-06 17:11 ` [kvm-unit-tests PATCH v4 00/12] PCI bus support Andrew Jones
2016-06-21  7:02   ` Alexander Gordeev
2016-06-27 12:59     ` Alexander Gordeev
2016-06-27 13:46       ` Andrew Jones
2016-06-28 10:54   ` Alexander Gordeev
2016-06-28 11:18     ` Andrew Jones
2016-06-28 11:28       ` Alexander Gordeev
2016-06-28 11:32         ` Andrew Jones
2016-06-28 11:56           ` Alexander Gordeev
2016-06-28 12:38             ` Andrew Jones
2016-06-28 13:04               ` Alexander Gordeev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.