Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1638639
| From | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior |
| Date | 2017-05-10 10:10 +0200 |
| Message-ID | <tFuR4-6F7-21@gated-at.bofh.it> (permalink) |
| References | <tFr6N-3LM-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
>>> On 10.05.17 at 06:08, <jgross@suse.com> wrote: > When booted as pv-guest the p2m list presented by the Xen is already > mapped to virtual addresses. In dom0 case the hypervisor might make use > of 2M- or 1G-pages for this mapping. Unfortunately while being properly > aligned in virtual and machine address space, those pages might not be > aligned properly in guest physical address space. > > So when trying to obtain the guest physical address of such a page > pud_pfn() and pmd_pfn() must be avoided as those will mask away guest > physical address bits not being zero in this special case. > > Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Perhaps worth Cc-ing stable@ ? Jan
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior Juergen Gross <jgross@suse.com> - 2017-05-10 06:10 +0200
Re: [Xen-devel] [PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior "Jan Beulich" <JBeulich@suse.com> - 2017-05-10 10:10 +0200
Re: [Xen-devel] [PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior Juergen Gross <jgross@suse.com> - 2017-05-10 10:20 +0200
Re: [PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-05-10 15:50 +0200
Re: [PATCH] xen: adjust early dom0 p2m handling to xen hypervisor behavior Juergen Gross <jgross@suse.com> - 2017-05-10 16:30 +0200
csiph-web