[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [linux-4.1 bisection] complete test-amd64-i386-freebsd10-amd64
branch xen-unstable xenbranch xen-unstable job test-amd64-i386-freebsd10-amd64 testid guest-start 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: xen git://xenbits.xen.org/xen.git Bug introduced: c52319642bb9069436d4aec75361049f5fac63ed Bug not present: 268ead59ce10967cf7490353d743ebc1bb7a9a4c Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/95750/ commit c52319642bb9069436d4aec75361049f5fac63ed Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Date: Thu Jun 2 12:08:42 2016 +0100 x86/cpuid: Calculate a guests xfeature_mask from its featureset libxc current performs the xstate calculation for guests, and provides the information to Xen to be used when satisfying CPUID traps. (There is further work planned to improve this arrangement, but the worst a buggy toolstack can do is make junk appear in the cpuid leaves for the guest.) dom0 however has no policy constructed for it, and certain fields filter straight through from hardware. Linux queries CPUID.7[0].{EAX/EDX} alone to choose a setting for %xcr0, which is a valid action to take, but features such as MPX and PKRU are not supported for PV guests. As a result, Linux, using leaked hardware information, fails to set %xcr0 on newer Skylake hardware with PKRU support, and crashes. As an interim solution, dynamically calculate the correct xfeature_mask and xstate_size to report to the guest for CPUID.7[0] queries. This ensures that domains don't see leaked hardware values, even when no cpuid policy is provided. Similarly, CPUID.7[1]{ECX/EDX} represents the applicable settings for MSR_XSS. As Xen doesn't yet support any XSS states in guests, unconditionally zero them. Reported-by: Luwei Kang <luwei.kang@xxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Tested-by: Luwei Kang <luwei.kang@xxxxxxxxx> Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> For bisection revision-tuple graph see: http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-4.1/test-amd64-i386-freebsd10-amd64.guest-start.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.1/test-amd64-i386-freebsd10-amd64.guest-start --summary-out=tmp/95750.bisection-summary --basis-template=94729 --blessings=real,real-bisect linux-4.1 test-amd64-i386-freebsd10-amd64 guest-start Searching for failure / basis pass: 95591 fail [host=baroque1] / 94729 [host=elbling0] 94034 [host=huxelrebe1] 93220 [host=fiano1] 93111 [host=chardonnay1] 92143 [host=huxelrebe0] 91350 [host=merlot0] 91189 [host=baroque0] 91008 [host=merlot1] 90845 [host=rimava0] 89382 [host=huxelrebe1] 89248 [host=pinot1] 88721 [host=fiano1] 88639 [host=chardonnay1] 88510 [host=rimava1] 88390 [host=italia0] 88251 ok. Failure / basis pass flights: 95591 / 88251 (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 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be Basis pass 7f30737678023b5becaf0e2e012665f71b886a7d c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b 316a862e5534249a6e6d876b4e203342d3fb870e a6f2cdb633bf519244a16674031b8034b581ba7f Generating revisions with ./adhoc-revtuple-generator git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git#7f30737678023b5becaf0e2e012665f71b886a7d-888172862fa78505c4e4674c205a06586443d83f git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/qemu-xen-traditional.git#21f6526d1da331611ac5fe12967549d1a04e149b-df553c056104e3dd8a2bd2e72539a57c4c085bae git://xenbits.xen.org/qemu-xen.git#316a862e5534249a6e6d876b4e203342d3fb870e-44a072f0de0d57c95c2212bbce02888832b7b74f git://xenbits.xen.org/xen.git#a6f2cdb633bf519244a16674031b8034b581ba7f-c2a17869d5dcd845d646bf4db122cad73596a2be Loaded 10941 nodes in revision graph Searching for test results: 86510 [host=pinot0] 86587 pass 7f30737678023b5becaf0e2e012665f71b886a7d c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b 316a862e5534249a6e6d876b4e203342d3fb870e a6f2cdb633bf519244a16674031b8034b581ba7f 86654 [host=italia0] 86761 [host=italia1] 86830 [host=chardonnay1] 86912 [host=nocera0] 87031 [host=pinot1] 87117 [host=merlot0] 87204 [host=huxelrebe1] 87295 [host=huxelrebe0] 87465 [host=fiano0] 87582 [host=elbling0] 87692 [host=rimava0] 87765 [host=baroque0] 87856 [host=chardonnay0] 88073 [host=pinot0] 88251 pass 7f30737678023b5becaf0e2e012665f71b886a7d c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b 316a862e5534249a6e6d876b4e203342d3fb870e a6f2cdb633bf519244a16674031b8034b581ba7f 88390 [host=italia0] 88510 [host=rimava1] 88639 [host=chardonnay1] 88721 [host=fiano1] 89248 [host=pinot1] 89382 [host=huxelrebe1] 90845 [host=rimava0] 91008 [host=merlot1] 91189 [host=baroque0] 91350 [host=merlot0] 92143 [host=huxelrebe0] 93111 [host=chardonnay1] 93220 [host=fiano1] 94034 [host=huxelrebe1] 94729 [host=elbling0] 95408 fail 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95456 pass 7f30737678023b5becaf0e2e012665f71b886a7d c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b 316a862e5534249a6e6d876b4e203342d3fb870e a6f2cdb633bf519244a16674031b8034b581ba7f 95455 fail 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95503 pass ab88ce5feca4204ecf4e7ef6c6693ff67edc2169 c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b 316a862e5534249a6e6d876b4e203342d3fb870e 8b27d2b8af898597367e2a97aaed3e3404eda5af 95581 fail e452f7382f5715d7d8b1d5f1129ded8870eaed5e c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95512 pass 54419e3efcd6677e4b0841666e2fc605d2e5df86 c530a75c1e6a472b0eb9558310b518f0dfcd8860 21f6526d1da331611ac5fe12967549d1a04e149b ae69b059498e8a563c6d64c4aa4cb95e53d76680 1d97ced2a0d0d27f084e33953402328df523acd1 95498 fail 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95590 fail 497519c4a3bf22c5d7fa2e6da6424e07e6ac543c c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95516 pass e429f243df2823451c92227317e5fce5f310b674 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f a38c4d7edc665d721882b42546afa7732fbb6228 95584 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 922b354718556a6da29cdc45dc66f53fa224b1ac 95517 fail 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95660 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c 95655 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 9ab1bd9ab64799816c8223a5f210b7a767ab4ccc 95639 fail 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95594 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f e228585d122817f987806145b09de7914c42a5fe 95650 fail 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed 95669 fail 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed 95591 fail 888172862fa78505c4e4674c205a06586443d83f c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c2a17869d5dcd845d646bf4db122cad73596a2be 95750 fail 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed 95741 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c 95745 fail 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f c52319642bb9069436d4aec75361049f5fac63ed 95748 pass 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c Searching for interesting versions Result found: flight 86587 (pass), for basis pass Result found: flight 95408 (fail), for basis failure Repro found: flight 95456 (pass), for basis pass Repro found: flight 95498 (fail), for basis failure 0 revisions at 1fe949f6d0036130e1c62d2e5bee01d9b4ef0e51 c530a75c1e6a472b0eb9558310b518f0dfcd8860 df553c056104e3dd8a2bd2e72539a57c4c085bae 44a072f0de0d57c95c2212bbce02888832b7b74f 268ead59ce10967cf7490353d743ebc1bb7a9a4c No revisions left to test, checking graph state. Result found: flight 95660 (pass), for last pass Result found: flight 95669 (fail), for first failure Repro found: flight 95741 (pass), for last pass Repro found: flight 95745 (fail), for first failure Repro found: flight 95748 (pass), for last pass Repro found: flight 95750 (fail), for first failure *** Found and reproduced problem changeset *** Bug is in tree: xen git://xenbits.xen.org/xen.git Bug introduced: c52319642bb9069436d4aec75361049f5fac63ed Bug not present: 268ead59ce10967cf7490353d743ebc1bb7a9a4c Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/95750/ commit c52319642bb9069436d4aec75361049f5fac63ed Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Date: Thu Jun 2 12:08:42 2016 +0100 x86/cpuid: Calculate a guests xfeature_mask from its featureset libxc current performs the xstate calculation for guests, and provides the information to Xen to be used when satisfying CPUID traps. (There is further work planned to improve this arrangement, but the worst a buggy toolstack can do is make junk appear in the cpuid leaves for the guest.) dom0 however has no policy constructed for it, and certain fields filter straight through from hardware. Linux queries CPUID.7[0].{EAX/EDX} alone to choose a setting for %xcr0, which is a valid action to take, but features such as MPX and PKRU are not supported for PV guests. As a result, Linux, using leaked hardware information, fails to set %xcr0 on newer Skylake hardware with PKRU support, and crashes. As an interim solution, dynamically calculate the correct xfeature_mask and xstate_size to report to the guest for CPUID.7[0] queries. This ensures that domains don't see leaked hardware values, even when no cpuid policy is provided. Similarly, CPUID.7[1]{ECX/EDX} represents the applicable settings for MSR_XSS. As Xen doesn't yet support any XSS states in guests, unconditionally zero them. Reported-by: Luwei Kang <luwei.kang@xxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Tested-by: Luwei Kang <luwei.kang@xxxxxxxxx> Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.516789 to fit pnmtopng: 76 colors found Revision graph left in /home/logs/results/bisect/linux-4.1/test-amd64-i386-freebsd10-amd64.guest-start.{dot,ps,png,html,svg}. ---------------------------------------- 95750: tolerable ALL FAIL flight 95750 linux-4.1 real-bisect [real] http://logs.test-lab.xenproject.org/osstest/logs/95750/ Failures :-/ but no regressions. Tests which did not succeed, including tests which could not be run: test-amd64-i386-freebsd10-amd64 10 guest-start fail baseline untested jobs: test-amd64-i386-freebsd10-amd64 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |