All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH RFC 0/2] Linux: possible ixes for mapping high MMIO regions
Date: Fri, 3 Jan 2014 13:35:13 -0500	[thread overview]
Message-ID: <20140103183513.GC28915@phenom.dumpdata.com> (raw)
In-Reply-To: <1388767522-11768-1-git-send-email-david.vrabel@citrix.com>

On Fri, Jan 03, 2014 at 04:45:20PM +0000, David Vrabel wrote:
> This a possible fix for the problems with mapping high MMIO regions in
> certain cases (e.g., the RDMA drivers) as not all mappers were
> specifing the _PAGE_IOMAP which meant no valid MFN could be found and
> the resulting PTE would be marked as not present, causing subsequent
> faults.
> 
> It assumes that anything that isn't RAM (whether ballooned out or not)
> is an I/O region and thus should be 1:1 in the p2m.  Ballooned frames
> are still marked as missing in the p2m as before.
> 
> As a follow on, mfn_to_pfn() is (hopefully) extended to do the right
> thing with such an MFN.  This means the Xen-specific _PAGE_IOMAP PTE
> flag can be removed,

Woot!
> 
> This series is posted as an early RFC in the hope that is an
> acceptable approach.  It has only seen the bare minimum of smoke
> testing (my test dom0 didn't explode). In particular, I've not
> actually tested it with a device with a high MMIO.

I can do in a couple of weeks.
> 
> David
> 

      parent reply	other threads:[~2014-01-03 18:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03 16:45 [PATCH RFC 0/2] Linux: possible ixes for mapping high MMIO regions David Vrabel
2014-01-03 16:45 ` [PATCH 1/2] x86/xen: set regions above the end of RAM as 1:1 David Vrabel
2014-01-03 18:12   ` Stefano Stabellini
2014-01-03 18:34     ` Konrad Rzeszutek Wilk
2014-01-06 11:20     ` David Vrabel
2014-01-03 16:45 ` [PATCH 2/2] x86/xen: make mfn_to_pfn() work with MFNs that are 1:1 in the p2m David Vrabel
2014-01-03 18:13   ` Stefano Stabellini
2014-01-03 18:27   ` Konrad Rzeszutek Wilk
2014-01-03 18:35 ` 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=20140103183513.GC28915@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.