From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Stefan Bader <stefan.bader@canonical.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
David Vrabel <david.vrabel@citrix.com>,
Jan Beulich <jbeulich@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: Dom0 linux 4.0 + devel/for-linus-4.1 branch: p2m.c:884:d0v0 gfn_to_mfn failed! gfn=ffffffff001ed type:4
Date: Wed, 15 Apr 2015 16:58:50 -0400 [thread overview]
Message-ID: <20150415205850.GA27756@l.oracle.com> (raw)
In-Reply-To: <976091924.20150415170808@eikelenboom.it>
> Hi Konrad,
>
> xen version is at last changeset 3a28f760508fb35c430edac17a9efde5aff6d1d5
> (previous unstable master before the force push which includes
> 1aeb1156fa43fe2cd2b5003995b20466cd19a622 which causes the trouble reported here:
> http://lists.xen.org/archives/html/xen-devel/2015-04/msg01336.html )
>
> qemu-xen is at last changeset 727b998448e852a5e8eb570ac3a259ef62fbdacb
> plus the revert of 7665d6ba98e20fb05c420de947c1750fd47e5c07
> (due to other problem reported here:
> http://lists.xen.org/archives/html/xen-devel/2015-04/msg01121.html )
You sure? I thought Andrew had an three line patch to fix that:
diff --git a/xen/drivers/passthrough/x86/iommu.c b/xen/drivers/passthrough/x86/iommu.c
index 9eb8d33..f4ab044 100644
--- a/xen/drivers/passthrough/x86/iommu.c
+++ b/xen/drivers/passthrough/x86/iommu.c
@@ -56,8 +56,9 @@ int arch_iommu_populate_page_table(struct domain *d)
while ( !rc && (page = page_list_remove_head(&d->page_list)) )
{
- if ( has_hvm_container_domain(d) ||
- (page->u.inuse.type_info & PGT_type_mask) == PGT_writable_page )
+ if ( (mfn_to_gmfn(d, page_to_mfn(page)) != INVALID_MFN) &&
+ (has_hvm_container_domain(d) ||
+ ((page->u.inuse.type_info & PGT_type_mask) == PGT_writable_page)) )
{
BUG_ON(SHARED_M2P(mfn_to_gmfn(d, page_to_mfn(page))));
rc = hd->platform_ops->map_page(
?
next prev parent reply other threads:[~2015-04-15 20:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 9:39 Dom0 linux 4.0 + devel/for-linus-4.1 branch: p2m.c:884:d0v0 gfn_to_mfn failed! gfn=ffffffff001ed type:4 Sander Eikelenboom
2015-04-13 9:50 ` David Vrabel
2015-04-13 11:21 ` Sander Eikelenboom
2015-04-13 12:07 ` David Vrabel
2015-04-13 12:14 ` Sander Eikelenboom
2015-04-13 12:21 ` David Vrabel
2015-04-13 12:27 ` Sander Eikelenboom
2015-04-13 15:11 ` Sander Eikelenboom
2015-04-14 9:44 ` David Vrabel
2015-04-14 20:42 ` Konrad Rzeszutek Wilk
2015-04-15 15:08 ` Sander Eikelenboom
2015-04-15 20:58 ` Konrad Rzeszutek Wilk [this message]
2015-04-15 21:14 ` Sander Eikelenboom
2015-06-10 1:02 ` Is: qemu-xen mishandling upper 64-bit BAR compared to qemu-tradWas:Re: " Konrad Rzeszutek Wilk
2015-06-10 8:44 ` Jan Beulich
2015-06-10 11:13 ` Stefano Stabellini
2015-06-10 12:02 ` Jan Beulich
2015-06-10 14:33 ` Konrad Rzeszutek Wilk
2015-06-10 20:53 ` [PATCH QEMU-XEN] xen/pt: Start with emulated PCI_COMMAND set to zero konrad
2015-06-11 7:47 ` Jan Beulich
2015-06-11 11:19 ` Sander Eikelenboom
2015-06-12 13:37 ` Konrad Rzeszutek Wilk
2015-06-15 16:19 ` Stefano Stabellini
2015-06-15 18:46 ` Konrad Rzeszutek Wilk
2015-06-16 7:33 ` Jan Beulich
2015-06-24 15:59 ` Konrad Rzeszutek Wilk
2015-06-25 7:34 ` Jan Beulich
2015-06-25 12:08 ` Stefano Stabellini
2015-06-25 17:23 ` Konrad Rzeszutek Wilk
2015-06-26 6:10 ` Jan Beulich
2015-06-15 16:15 ` Is: qemu-xen mishandling upper 64-bit BAR compared to qemu-tradWas:Re: Dom0 linux 4.0 + devel/for-linus-4.1 branch: p2m.c:884:d0v0 gfn_to_mfn failed! gfn=ffffffff001ed type:4 Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150415205850.GA27756@l.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=andrew.cooper3@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=jbeulich@suse.com \
--cc=linux@eikelenboom.it \
--cc=stefan.bader@canonical.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.