public/elfnote: document non-alignment of relocated init-P2M
authorJan Beulich <jbeulich@suse.com>
Fri, 12 May 2017 15:24:17 +0000 (17:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 12 May 2017 15:24:17 +0000 (17:24 +0200)
Since PV kernels can't use large pages anyway, when the init-P2M
support was added it was decided to keep the implementation simple and
not align large pages in PFN space. Document this.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/include/public/elfnote.h

index 353985fe58f3781e9f25a5ffed9603c8168138a9..936aa658222d38804985ebf8787a3b5db3c30327 100644 (file)
  * The (non-default) location the initial phys-to-machine map should be
  * placed at by the hypervisor (Dom0) or the tools (DomU).
  * The kernel must be prepared for this mapping to be established using
- * large pages, despite such otherwise not being available to guests.
+ * large pages, despite such otherwise not being available to guests. Note
+ * that these large pages may be misaligned in PFN space (they'll obviously
+ * be aligned in MFN and virtual address spaces).
  * The kernel must also be able to handle the page table pages used for
  * this mapping not being accessible through the initial mapping.
  * (Only x86-64 supports this at present.)