All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhang, Yang Z" <yang.z.zhang@intel.com>
To: Matthias <matthias.kannenberg@googlemail.com>,
	Jan Beulich <JBeulich@suse.com>
Cc: "tim@xen.org" <tim@xen.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Please revert / review 077fc1c04d70ef1748ac2daa6622b3320a1a004c
Date: Wed, 18 Jun 2014 07:25:52 +0000	[thread overview]
Message-ID: <A9667DDFB95DB7438FA9D7D576C3D87E0AAFC869@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <CABoYbGpgMpvGSw38ijKxVW7m9FmD-FssQe-_hQ9g+xS5W2jr=Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]

Matthias wrote on 2014-06-16:
> According to Jans suggestion, I did a second build with xen up to the 
> changeset he suggested and attached another round of logs.
> 
> 
> Also, to answer Yangs questions, the devices 00:12.0 and 00:13.0 are 
> regular noboard USB controller from the mainboard:
> 
> 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB EHCI Controller
> 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB EHCI Controller
> 
> 
> But I did do a second run without them passed through the domU and 
> added the log (xldmesg_secondrun.log). Since I'm seeing IO_PAGE_FAULTs 
> there
> (05:00.0 is the vga i'm passing), I would assume that basically any 
> device I pass through causes these page faults and it has nothing to 
> do with specific faulty devices.

Actually, the problem you saw is the patch (git: 077fc1c04d) tries to fix. What makes it really odd is that you didn't see it without fixing, but reproduced it with fixing. I am wondering how you bisect it? Is everything working with last commit(git:0e251a837)?
Also, the original problem I am trying to fix only related to EPT and VT-d page table sharing. So have you tried to not share them?

The attached patch is same to revert commit 077fc1c04d. Can you try it to see whether it helps? BTW, I hope you can use commit 077fc1c04d to try since I am seeing some other patches may also trigger the issue.

I am working on a debug patch now. Since I don't have the environment to reproduce it, it will need your help to try it to provide some logs.

Best regards,
Yang



[-- Attachment #2: testing.patch --]
[-- Type: application/octet-stream, Size: 482 bytes --]

diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c
index 21f57c1..fa397ba 100644
--- a/xen/arch/x86/mm/hap/hap.c
+++ b/xen/arch/x86/mm/hap/hap.c
@@ -82,7 +82,7 @@ int hap_track_dirty_vram(struct domain *d,
         if ( !paging_mode_log_dirty(d) )
         {
             hap_logdirty_init(d);
-            rc = paging_log_dirty_enable(d, 0);
+            rc = paging_log_dirty_enable(d, 1);
             if ( rc )
                 goto out;
         }

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2014-06-18  7:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 15:44 Please revert / review 077fc1c04d70ef1748ac2daa6622b3320a1a004c Matthias
2014-06-12  1:02 ` Zhang, Yang Z
2014-06-12  9:35   ` Jan Beulich
2014-06-12 13:49     ` Matthias
2014-06-16  7:47       ` Zhang, Yang Z
2014-06-16  8:08         ` Jan Beulich
2014-06-16 13:42           ` Matthias
2014-06-16 14:52             ` Jan Beulich
2014-06-16 15:07               ` Matthias
2014-06-18  7:25             ` Zhang, Yang Z [this message]
2014-06-18 22:21               ` Matthias
2014-06-19  1:07                 ` Matthias
2014-06-19  1:29                   ` Matthias
2014-06-19 12:25                 ` Zhang, Yang Z
2014-06-19 16:22                   ` Matthias
2014-06-20  0:20                     ` Zhang, Yang Z
2014-06-20  8:22                     ` Jan Beulich
2014-06-20 10:07                       ` Matthias
2014-06-20 11:18                         ` Jan Beulich
2014-06-20 11:27                           ` Zhang, Yang Z
2014-06-20 11:24                         ` Zhang, Yang Z
2014-06-20 11:28                       ` Zhang, Yang Z
2014-06-20  8:17                   ` Jan Beulich
2014-06-20 11:26                     ` Zhang, Yang Z

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=A9667DDFB95DB7438FA9D7D576C3D87E0AAFC869@SHSMSX104.ccr.corp.intel.com \
    --to=yang.z.zhang@intel.com \
    --cc=JBeulich@suse.com \
    --cc=matthias.kannenberg@googlemail.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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.