* [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests
@ 2015-09-29 10:52 Jan Beulich
2015-09-29 10:55 ` George Dunlap
2015-09-29 11:31 ` Wei Liu
0 siblings, 2 replies; 3+ messages in thread
From: Jan Beulich @ 2015-09-29 10:52 UTC (permalink / raw)
To: xen-devel; +Cc: George Dunlap, Andrew Cooper, Wei Liu
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
There is no page table sharing in shadow mode.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
This was split out from a previously submitted patch.
--- a/xen/arch/x86/mm/p2m-pt.c
+++ b/xen/arch/x86/mm/p2m-pt.c
@@ -645,7 +646,7 @@ p2m_pt_set_entry(struct p2m_domain *p2m,
if ( iommu_enabled && need_iommu(p2m->domain) )
{
- if ( iommu_hap_pt_share )
+ if ( iommu_use_hap_pt(p2m->domain) )
{
if ( old_mfn && (old_mfn != mfn_x(mfn)) )
amd_iommu_flush_pages(p2m->domain, gfn, page_order);
[-- Attachment #2: x86-p2m-pt-shadow-no-share.patch --]
[-- Type: text/plain, Size: 632 bytes --]
x86/p2m-pt: ignore pt-share flag for shadow mode guests
There is no page table sharing in shadow mode.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
This was split out from a previously submitted patch.
--- a/xen/arch/x86/mm/p2m-pt.c
+++ b/xen/arch/x86/mm/p2m-pt.c
@@ -645,7 +646,7 @@ p2m_pt_set_entry(struct p2m_domain *p2m,
if ( iommu_enabled && need_iommu(p2m->domain) )
{
- if ( iommu_hap_pt_share )
+ if ( iommu_use_hap_pt(p2m->domain) )
{
if ( old_mfn && (old_mfn != mfn_x(mfn)) )
amd_iommu_flush_pages(p2m->domain, gfn, page_order);
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests
2015-09-29 10:52 [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests Jan Beulich
@ 2015-09-29 10:55 ` George Dunlap
2015-09-29 11:31 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: George Dunlap @ 2015-09-29 10:55 UTC (permalink / raw)
To: Jan Beulich, xen-devel; +Cc: George Dunlap, Andrew Cooper, Wei Liu
On 29/09/15 11:52, Jan Beulich wrote:
> There is no page table sharing in shadow mode.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
> ---
> This was split out from a previously submitted patch.
>
> --- a/xen/arch/x86/mm/p2m-pt.c
> +++ b/xen/arch/x86/mm/p2m-pt.c
> @@ -645,7 +646,7 @@ p2m_pt_set_entry(struct p2m_domain *p2m,
>
> if ( iommu_enabled && need_iommu(p2m->domain) )
> {
> - if ( iommu_hap_pt_share )
> + if ( iommu_use_hap_pt(p2m->domain) )
> {
> if ( old_mfn && (old_mfn != mfn_x(mfn)) )
> amd_iommu_flush_pages(p2m->domain, gfn, page_order);
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests
2015-09-29 10:52 [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests Jan Beulich
2015-09-29 10:55 ` George Dunlap
@ 2015-09-29 11:31 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: Wei Liu @ 2015-09-29 11:31 UTC (permalink / raw)
To: Jan Beulich; +Cc: George Dunlap, xen-devel, Wei Liu, Andrew Cooper
On Tue, Sep 29, 2015 at 04:52:23AM -0600, Jan Beulich wrote:
> There is no page table sharing in shadow mode.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-29 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 10:52 [PATCH] x86/p2m-pt: ignore pt-share flag for shadow mode guests Jan Beulich
2015-09-29 10:55 ` George Dunlap
2015-09-29 11:31 ` Wei Liu
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.