All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Keir Fraser <keir@xen.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	xen-devel@lists.xensource.com, bruce.edge@gmail.com,
	gianni.tedesco@citrix.com, stefano.stabellini@eu.citrix.com
Subject: Re: [RFC Patch] Support for making an E820 PCI hole in toolstack (xl + xm)
Date: Mon, 15 Nov 2010 13:15:44 -0500	[thread overview]
Message-ID: <20101115181544.GA8840@dumpdata.com> (raw)
In-Reply-To: <C9072307.A021%keir@xen.org>

> >  1). Did not work for me - I am not sure why but I had the hardest time do
> >      hypervisor_populate_physmap - it would just hang the guest.
> 
> For a PV guest you don't need to do any alloc/free/move memory hypercalls.
> You rewrite your own p2m to relocate mfns where you want them in pfn space.
> Then some hypercalls just to update the m2p array to match.

Ok, I can play with that see what fun/havoc I can create.
> 
> >  2). It is much simple to parse the E820 in the Linux kernel than actually
> >      creating new E820 entries in the kernel (hypercall), making a bunch of
> >      hypervisor calls that unmap, then remap the space, filling out the P2M
> >      with INVALID_MFN, and doing all of that before the "real" Linux kernel
> >      actually starts (all would have to be done in xen_start_kernel).
> >      I have a sinking feeling tha the upstream community would not like it
> >      this that much.
> 
> Well it is all quite Xen specific, so I'm surprised.

Oh, there was another reason that I so obvious that I completly forgot. DomU
has no idea where the host PCI hole starts. In most cases it is at 3GB (or even
further up - 3.5GB), but a quick look for 'Allocating PCI resources starting at' 
at Google shows that there are some that start at 1.2G.

  reply	other threads:[~2010-11-15 18:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 23:08 [RFC Patch] Support for making an E820 PCI hole in toolstack (xl + xm) Konrad Rzeszutek Wilk
2010-11-12 23:16 ` Konrad Rzeszutek Wilk
2010-11-13  7:40 ` Keir Fraser
2010-11-15 17:03   ` Konrad Rzeszutek Wilk
2010-11-15 17:20     ` Ian Campbell
2010-11-15 17:28       ` Konrad Rzeszutek Wilk
2010-11-15 17:48     ` Keir Fraser
2010-11-15 18:15       ` Konrad Rzeszutek Wilk [this message]
2010-11-15 18:41         ` Keir Fraser
2010-11-15 19:32           ` Jeremy Fitzhardinge
2010-11-15 19:57             ` Keir Fraser
2010-11-15 23:11               ` Konrad Rzeszutek Wilk
2010-11-16  1:06                 ` Jeremy Fitzhardinge
2010-11-16  9:26                   ` Ian Campbell
2010-11-16  9:52                     ` Keir Fraser
2010-11-16 10:02                       ` Ian Campbell
2010-11-16 10:11                         ` Keir Fraser
2010-11-16 18:01                           ` Jeremy Fitzhardinge
2010-11-16 15:50                     ` Konrad Rzeszutek Wilk
2010-11-17 14:23                       ` Ian Campbell
2010-11-16  7:40                 ` Keir Fraser
2010-11-15 19:30         ` Jeremy Fitzhardinge
2010-11-17 11:14 ` Gianni Tedesco
2010-11-17 11:43   ` Ian Campbell
2010-11-17 13:37     ` Gianni Tedesco

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=20101115181544.GA8840@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=bruce.edge@gmail.com \
    --cc=gianni.tedesco@citrix.com \
    --cc=jeremy@goop.org \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.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 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.