xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
	xen-devel@lists.xensource.com, Tim Deegan <tim@xen.org>,
	Jan Beulich <jbeulich@suse.com>
Subject: Re: Problem with Xen 4.5 failing XTF tests on old AMD cpus ?
Date: Wed, 21 Sep 2016 18:27:57 +0100	[thread overview]
Message-ID: <12d1c397-61ee-f282-3d07-b1aba24573b4@citrix.com> (raw)
In-Reply-To: <22498.45459.226849.516303@mariner.uk.xensource.com>

On 21/09/16 17:13, Ian Jackson wrote:
> Platform Team regression test user writes ("[xen-4.5-testing baseline-only test] 67737: regressions - FAIL"):
>> test-xtf-amd64-amd64-1 19 xtf/test-hvm32-invlpg~shadow fail REGR. vs. 67706
>> test-xtf-amd64-amd64-1 26 xtf/test-hvm32pae-invlpg~shadow fail REGR. vs. 67706
> Several of these, 32bit and 64bit HVM.  This is in the Citrix
> Cambridge osstest instance.  The Xen Project colo instance is
> unaffected (flight 101045 there passed with the same revisions of
> everything)
>
> This is with:
>
>    xen e4ae4b03d35babc9624b7286f1ea4c6749bad84b
>    xtf b5c5332de4268d33a6f8eadc1d17c7b9cf0e7dc3
>    linux b65f2f457c49b2cfd7967c34b7a0b04c25587f13
>    linux-firmware c530a75c1e6a472b0eb9558310b518f0dfcd8860
>
> The log says this:
>
>    2016-09-21 06:07:36 Z ---------- substep 19 xtf/test-hvm32-invlpg~shadow running ----------
>    2016-09-21 06:07:36 Z executing ssh ... root@10.80.228.78                 /home/xtf/xtf-runner -m logfile test-hvm32-invlpg~shadow 1>&2; echo $?
>
>    Using logfile '/var/log/xen/console/guest-test-hvm32-invlpg~shadow.log'
>    Executing 'xl create -F tests/invlpg/test-hvm32-invlpg~shadow.cfg'
>    --- Xen Test Framework ---
>    Environment: HVM 32bit (No paging)
>    Testing 'invlpg' in normally-faulting conditions
>      Test: Mapped address
>      Test: Unmapped address
>      Test: NULL segment override
>      Test: Past segment limit
>        Fail: Unexpected #GP[0000]
>      Test: Before expand-down segment limit
>        Fail: Unexpected #GP[0000]
>    Test result: FAILURE
>
>    Combined test results:
>    test-hvm32-invlpg~shadow                 FAILURE
>
> Sadly we haven't yet managed to make the logs from this instance
> public.
>
> Do you have any idea what might be causing this ?  Is there a real
> problem with the Xen 4.5 branch ?  The Citrix Cambridge instance has
> old hardware.

This is the 4.5 tree missing some fixes:

* 31d961f - x86/hvm: Fix invalidation for emulated invlpg instructions 
(4 months ago) <Andrew Cooper>
* eee511d - x86/svm: Don't unconditionally use a new ASID in 
svm_invlpg_intercept() (4 months ago) <Andrew Cooper>
* a373db2 - x86/hvm: Correct the emulated interaction of invlpg with 
segments (4 months ago) <Andrew Cooper>
* a94b35d - x86/hvm: Raise #SS faults for %ss-based segmentation 
violations (4 months ago) <Andrew Cooper>
* 6093515 - x86/hvm: Always return the linear address from 
hvm_virtual_to_linear_addr() (4 months ago) <Andrew Cooper>

In this case, XTF is complaining that `invlpg`, as used in a shadow 
guest, is not behaving in the architecturally specified way.

~Andrew

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

  parent reply	other threads:[~2016-09-21 17:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 14:09 [xen-4.5-testing baseline-only test] 67737: regressions - FAIL Platform Team regression test user
2016-09-21 16:13 ` Problem with Xen 4.5 failing XTF tests on old AMD cpus ? Ian Jackson
2016-09-21 16:15   ` Ian Jackson
2016-09-21 16:42   ` Boris Ostrovsky
2016-09-21 17:36     ` Wei Liu
2016-09-21 18:00       ` Boris Ostrovsky
2016-09-21 18:06         ` Wei Liu
2016-09-21 18:20           ` Andrew Cooper
2016-09-22  9:29             ` Ian Jackson
2016-09-26 16:56               ` Ian Jackson
2016-09-21 17:27   ` Andrew Cooper [this message]
2016-09-22  9:49     ` Ian Jackson

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=12d1c397-61ee-f282-3d07-b1aba24573b4@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Aravind.Gopalakrishnan@amd.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).