[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [linux-4.9 bisection] complete test-amd64-amd64-xl-pvhv2-amd
branch xen-unstable xenbranch xen-unstable job test-amd64-amd64-xl-pvhv2-amd testid xen-boot Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git *** Found and reproduced problem changeset *** Bug is in tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Bug introduced: 944e0fc51a89c9827b98813d65dc083274777c7f Bug not present: b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/123225/ commit 944e0fc51a89c9827b98813d65dc083274777c7f Author: David Woodhouse <dwmw@xxxxxxxxxxxx> Date: Sun May 20 20:51:10 2018 +0100 x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS when running under Xen commit def9331a12977770cc6132d79f8e6565871e8e38 upstream When running as Xen pv guest X86_BUG_SYSRET_SS_ATTRS must not be set on AMD cpus. This bug/feature bit is kind of special as it will be used very early when switching threads. Setting the bit and clearing it a little bit later leaves a critical window where things can go wrong. This time window has enlarged a little bit by using setup_clear_cpu_cap() instead of the hypervisor's set_cpu_features callback. It seems this larger window now makes it rather easy to hit the problem. The proper solution is to never set the bit in case of Xen. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> For bisection revision-tuple graph see: http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-4.9/test-amd64-amd64-xl-pvhv2-amd.xen-boot.html Revision IDs in each graph node refer, respectively, to the Trees above. ---------------------------------------- Running cs-bisection-step --graph-out=/home/logs/results/bisect/linux-4.9/test-amd64-amd64-xl-pvhv2-amd.xen-boot --summary-out=tmp/123225.bisection-summary --basis-template=122969 --blessings=real,real-bisect linux-4.9 test-amd64-amd64-xl-pvhv2-amd xen-boot Searching for failure / basis pass: 123150 fail [host=pinot1] / 122969 ok. Failure / basis pass flights: 123150 / 122969 (tree with no url: minios) (tree with no url: ovmf) (tree with no url: seabios) Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git Tree: qemuu git://xenbits.xen.org/qemu-xen.git Tree: xen git://xenbits.xen.org/xen.git Latest 2272cdd5d5bf42e3721430ae6076656a42043c34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 Basis pass 6ba89b52ba6916bc7a3d390d70951e992c0ca39e c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 Generating revisions with ./adhoc-revtuple-generator git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git#6ba89b52ba6916bc7a3d390d70951e992c0ca39e-2272cdd5d5bf42e3721430ae6076656a42043c34 git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/qemu-xen-traditional.git#c8ea0457495342c417c3dc033bba25148b279f60-c8ea0457495342c417c3dc033bba25148b279f60 git://xenbits.xen.org/qemu-xen.git#43139135a8938de44f66333831d3a8655d07663a-43139135a8938de44f66333831d3a8655d07663a git://xenbits.xen.org/xen.git#858dbaaeda33b05c1ac80aea0ba9a03924e09005-858dbaaeda33b05c1ac80aea0ba9a03924e09005 Loaded 1001 nodes in revision graph Searching for test results: 122969 pass 6ba89b52ba6916bc7a3d390d70951e992c0ca39e c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123074 fail 2272cdd5d5bf42e3721430ae6076656a42043c34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123151 pass 6ba89b52ba6916bc7a3d390d70951e992c0ca39e c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123199 fail 2272cdd5d5bf42e3721430ae6076656a42043c34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123200 fail 19e3a2bec95e966921689ae39117f9dbbaffd99b c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123150 fail 2272cdd5d5bf42e3721430ae6076656a42043c34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123202 pass c79b01b8d4cb7c37c5da2299152c2ca9f22acc76 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123206 pass b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123207 fail 3effee64a9993dc5587fb39f0da4455769e53d26 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123210 fail 298d5db170f7d8430498417fa96e7472b620dcea c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123213 fail 944e0fc51a89c9827b98813d65dc083274777c7f c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123217 pass b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123221 fail 944e0fc51a89c9827b98813d65dc083274777c7f c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123223 pass b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 123225 fail 944e0fc51a89c9827b98813d65dc083274777c7f c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 Searching for interesting versions Result found: flight 122969 (pass), for basis pass Result found: flight 123074 (fail), for basis failure Repro found: flight 123151 (pass), for basis pass Repro found: flight 123199 (fail), for basis failure 0 revisions at b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 858dbaaeda33b05c1ac80aea0ba9a03924e09005 No revisions left to test, checking graph state. Result found: flight 123206 (pass), for last pass Result found: flight 123213 (fail), for first failure Repro found: flight 123217 (pass), for last pass Repro found: flight 123221 (fail), for first failure Repro found: flight 123223 (pass), for last pass Repro found: flight 123225 (fail), for first failure *** Found and reproduced problem changeset *** Bug is in tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Bug introduced: 944e0fc51a89c9827b98813d65dc083274777c7f Bug not present: b2d748b3a8d4e936a7e6e5fc9f04e2f9696efcc5 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/123225/ commit 944e0fc51a89c9827b98813d65dc083274777c7f Author: David Woodhouse <dwmw@xxxxxxxxxxxx> Date: Sun May 20 20:51:10 2018 +0100 x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS when running under Xen commit def9331a12977770cc6132d79f8e6565871e8e38 upstream When running as Xen pv guest X86_BUG_SYSRET_SS_ATTRS must not be set on AMD cpus. This bug/feature bit is kind of special as it will be used very early when switching threads. Setting the bit and clearing it a little bit later leaves a critical window where things can go wrong. This time window has enlarged a little bit by using setup_clear_cpu_cap() instead of the hypervisor's set_cpu_features callback. It seems this larger window now makes it rather easy to hit the problem. The proper solution is to never set the bit in case of Xen. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Revision graph left in /home/logs/results/bisect/linux-4.9/test-amd64-amd64-xl-pvhv2-amd.xen-boot.{dot,ps,png,html,svg}. ---------------------------------------- 123225: tolerable ALL FAIL flight 123225 linux-4.9 real-bisect [real] http://logs.test-lab.xenproject.org/osstest/logs/123225/ Failures :-/ but no regressions. Tests which did not succeed, including tests which could not be run: test-amd64-amd64-xl-pvhv2-amd 7 xen-boot fail baseline untested jobs: test-amd64-amd64-xl-pvhv2-amd fail ------------------------------------------------------------ sg-report-flight on osstest.test-lab.xenproject.org logs: /home/logs/logs images: /home/logs/images Logs, config files, etc. are available at http://logs.test-lab.xenproject.org/osstest/logs Explanation of these reports, and of osstest in general, is at http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master Test harness code can be found at http://xenbits.xen.org/gitweb?p=osstest.git;a=summary _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |