[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH PV_OPS PCIBACK]



In these following patches:
 [PATCH 1/5] xenbus_walk - walk XenStore keys, calling callback.
 [PATCH 2/5] In xen_create_msi_irq, extract the domain id of the MSI device.

We employ an mechanism (as compared to 2.6.18), to extract the domain id
of the non-privileged domain. Specifically we enumerate the XenStore keys and
if a match is found we can extract the domain id. With the domain id we can make
the Xen-HYPERCALL to set the "owner" of the MSI device.

The next patches:
 [PATCH 3/5] Add MSI capability to the pciback driver.
 [PATCH 4/5] Return the physical IRQ number instead of the allocated IRQ number 
to pcifront.

Copy-n-paste the MSI support from 2.6.18 and augment it to return the proper
IRQ number to the pcifront.

The last patch:
 [PATCH 5/5] Fix checkpatch warnings and errors for pciback/ directory.

is just to have a clean base for futher work.

And the diffstat of all the changes:

 drivers/xen/events.c                            |   53 +++++++-
 drivers/xen/pciback/Makefile                    |    1 +
 drivers/xen/pciback/conf_space.c                |   34 ++--
 drivers/xen/pciback/conf_space.h                |   30 ++--
 drivers/xen/pciback/conf_space_capability.c     |    5 +-
 drivers/xen/pciback/conf_space_capability.h     |    3 +
 drivers/xen/pciback/conf_space_capability_msi.c |   84 +++++++++++
 drivers/xen/pciback/conf_space_capability_pm.c  |    4 +-
 drivers/xen/pciback/conf_space_capability_vpd.c |    2 +-
 drivers/xen/pciback/conf_space_header.c         |    7 +-
 drivers/xen/pciback/conf_space_quirks.c         |   16 +-
 drivers/xen/pciback/controller.c                |   15 +-
 drivers/xen/pciback/passthrough.c               |    6 +-
 drivers/xen/pciback/pci_stub.c                  |  180 ++++++++++++-----------
 drivers/xen/pciback/pciback.h                   |   34 ++++-
 drivers/xen/pciback/pciback_ops.c               |   64 +++++----
 drivers/xen/pciback/slot.c                      |   22 ++-
 drivers/xen/pciback/vpci.c                      |   28 ++--
 drivers/xen/pciback/xenbus.c                    |   42 +++---
 drivers/xen/xenbus/xenbus_xs.c                  |  130 ++++++++++++++++
 include/xen/xenbus.h                            |    2 +
 21 files changed, 538 insertions(+), 224 deletions(-)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.