WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH, RFC 0/7] PCI multi-segment support

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH, RFC 0/7] PCI multi-segment support
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Thu, 25 Aug 2011 15:54:22 +0100
Delivery-date: Thu, 25 Aug 2011 07:54:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
In order for Xen to be able to boot on systems with multiple PCI segments
(also called domains), a number of changes are necessary to the
hypervisor, the hypercall interface, the tools, and the Dom0 kernel, as
in most code paths and definitions there were not even provisions for
passing a segment number.

The hypercall interface changes may need some discussion before
applying the patches, in particular

- whether the way PHYSDEVOP_map_pirq gets re-used is acceptable,
  or whether alternatively we should define a replacement one sub-
  hypercall
- whether PHYSDEVOP_manage_pci_* should be deprecated
- whether the bit assignments for the four uses of machine_bdf in
  the domctl interface can be re-defined

Additionally, in the AMD IOMMU code there are two places where I
was unable to identify how the segment value ought to be retrieved.
Since I'm unaware of multi-segment AMD-based systems, imo this
should not be a reason to not commit the changes proposed.

1: introduce notion of PCI segments
2: add new physdevop-s
3: adjust domctl interface
4: VT-d specific adjustments
5: AMD-IOMMU specific adjustments
6: Pass-through adjustments
7: config space accessor adjustments

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH, RFC 0/7] PCI multi-segment support, Jan Beulich <=