All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Linux: possible ixes for mapping high MMIO regions
@ 2014-01-03 16:45 David Vrabel
  2014-01-03 16:45 ` [PATCH 1/2] x86/xen: set regions above the end of RAM as 1:1 David Vrabel
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Vrabel @ 2014-01-03 16:45 UTC (permalink / raw)
  To: xen-devel; +Cc: Boris Ostrovsky, David Vrabel

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,

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.

David

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-06 11:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH RFC 0/2] Linux: possible ixes for mapping high MMIO regions Konrad Rzeszutek Wilk

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.