x86/xen: set regions above the end of RAM as 1:1
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 3 Jan 2014 15:46:10 +0000 (15:46 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 15 May 2014 15:15:18 +0000 (16:15 +0100)
commit25b884a83d487fd62c3de7ac1ab5549979188482
tree97ba9a29b44bc117ff975a4a9591511a7f931468
parent2dcc9a3de1d7f77bb4dbc108358a75776328e887
x86/xen: set regions above the end of RAM as 1:1

PCI devices may have BARs located above the end of RAM so mark such
frames as identity frames in the p2m (instead of the default of
missing).

PFNs outside the p2m (above MAX_P2M_PFN) are also considered to be
identity frames for the same reason.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c
arch/x86/xen/setup.c