From: Keir Fraser <keir.xen@gmail.com>
To: Jan Beulich <JBeulich@suse.com>, Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH, RFC 0/7] PCI multi-segment support
Date: Mon, 05 Sep 2011 14:33:45 +0100 [thread overview]
Message-ID: <CA8A8E49.20517%keir.xen@gmail.com> (raw)
In-Reply-To: <4E64E8460200007800054ADB@nat28.tlf.novell.com>
On 05/09/2011 14:18, "Jan Beulich" <JBeulich@suse.com> wrote:
>>>> On 25.08.11 at 16:54, "Jan Beulich" <JBeulich@novell.com> wrote:
>> 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
>
> No comment from either of you on the proposed changes?
I'm personally fine with folding segment into the bus field. Otherwise we
just end up with more compat cruft.
I don't have an opinion on the PHYSDEVOP_manage_pci_* hypercalls. In fact I
don't know much about them at all.
I've always considered the domctl interface subject to change, but you don't
seem to redefine anything that already exists? You just give meaning to bits
24-31 of an existing 32-bit parameter?
-- Keir
> Jan
>
>> 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@novell.com>
>
next prev parent reply other threads:[~2011-09-05 13:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 14:54 [PATCH, RFC 0/7] PCI multi-segment support Jan Beulich
2011-09-05 13:18 ` Jan Beulich
2011-09-05 13:33 ` Keir Fraser [this message]
2011-09-05 13:49 ` Jan Beulich
2011-09-05 14:05 ` Keir Fraser
2011-09-14 14:32 ` Jan Beulich
2011-09-20 18:02 ` Ian Jackson
2011-09-21 7:22 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA8A8E49.20517%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).