All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>,
	Xiantao Zhang <xiantao.zhang@intel.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: Xen 4.2 and PCI hotplug.
Date: Fri, 21 Dec 2012 16:09:43 -0500	[thread overview]
Message-ID: <20121221210943.GA32523@phenom.dumpdata.com> (raw)
In-Reply-To: <50D18D4E02000078000B15B3@nat28.tlf.novell.com>

On Wed, Dec 19, 2012 at 08:47:58AM +0000, Jan Beulich wrote:
> >>> On 19.12.12 at 09:13, "Zhang, Xiantao" <xiantao.zhang@intel.com> wrote:
> > Are you playing with Xen ?  so far,  Xen doesn't support PCIe device hot-plug 
> > feature yet.
> 
> When saying Xen, I assume you mean the pv-ops kernel instead? So

I am looking at the PCI AER which can do native hotplug. And from
the Linux side it ought to work right -- but there is some scanning
of said new PCI device "before" the notifications are sent (which
we latch on and do the hypercall on). At least that is from a cursory
read of the code.

I presume that "before" the hypercall is sent Xen would just
ignore the 0xcf8 reads. But after the hypercall it would populate
appropiately whatever it needs. But it would never get to that point
b/c Linux couldn't read the device.

I might be of course completly off-base - hence asking if
Intel has done any sort of testing on this?

> far I was under the impression that this worked even with the very
> old 2.6.18 tree (as much or as little as hotplug there worked in the
> native case). And given that there are no special requirements on
> the hypervisor to make this work, it's not even obvious to me what
> would be missing in the pv-ops kernel to make it work.
> 
> All that is of course with me not having any practical experience
> with hotplug, due to the lack of capable hardware...
> 
> Jan
> 
> 

      parent reply	other threads:[~2012-12-21 21:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 22:46 Xen 4.2 and PCI hotplug Konrad Rzeszutek Wilk
2012-12-19  8:13 ` Zhang, Xiantao
2012-12-19  8:47   ` Jan Beulich
2012-12-19  9:14     ` Zhang, Xiantao
2012-12-19 14:36       ` Andrew Cooper
2012-12-19 15:08         ` Jan Beulich
2012-12-21 21:13           ` Konrad Rzeszutek Wilk
2012-12-21 21:09     ` Konrad Rzeszutek Wilk [this message]

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=20121221210943.GA32523@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=konrad@kernel.org \
    --cc=xen-devel@lists.xen.org \
    --cc=xiantao.zhang@intel.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 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.