Skip to contentSkip to conversation

181246: regressions - trouble: blocked/fail

xen-unstable-smoke test osstest service owner 1 participant 1 message Jun 7, 2023

lore
Share & tools
lore

osstest service owner

author Acked-by Henry Wang Reviewed-by Bertrand Marquis Reviewed-by Bertrand Marquis Reviewed-by Michal Orzel Acked-by Julien Grall Reviewed-by Anthony PERARD Acked-by George Dunlap Acked-by Christian Lindig Reviewed-by Anthony PERARD Reviewed-by Bertrand Marquis Reviewed-by Jan Beulich Reviewed-by Bertrand Marquis Reviewed-by Jan Beulich Reviewed-by Bertrand Marquis Reviewed-by Bertrand Marquis Acked-by Julien Grall Reviewed-by Bertrand Marquis Reviewed-by Julien Grall Acked-by Julien Grall Reviewed-by Bertrand Marquis Reviewed-by Bertrand Marquis Acked-by Julien Grall Reviewed-by Bertrand Marquis Acked-by Julien Grall
#0 lore raw

flight 181246 xen-unstable-smoke real [real]
http://logs.test-lab.xenproject.org/osstest/logs/181246/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:

 build-amd64                   6 xen-build                fail REGR. vs. 181233
 build-arm64-xsm               6 xen-build                fail REGR. vs. 181233
 build-armhf                   6 xen-build                fail REGR. vs. 181233

Tests which did not succeed, but are not blocking:

 build-amd64-libvirt           1 build-check(1)               blocked  n/a
 test-amd64-amd64-libvirt      1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl-qemuu-debianhvm-amd64  1 build-check(1)        blocked n/a
 test-arm64-arm64-xl-xsm       1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl           1 build-check(1)               blocked  n/a

version targeted for testing:
xen cb8b18d49ad804108ead8667179794b0ead66f2a
baseline version:
xen 64a647f8d817c6989edc000613b5afae19f03f99

Last test of basis   181233  2023-06-07 02:04:37 Z    0 days
Testing same since   181246  2023-06-07 11:02:03 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Christian Lindig <[email protected]>
George Dunlap <[email protected]>
Henry Wang <[email protected]> # CHANGELOG
Julien Grall <[email protected]>
Luca Fancellu <[email protected]>

jobs:

 build-arm64-xsm                                              fail    
 build-amd64                                                  fail    
 build-armhf                                                  fail    
 build-amd64-libvirt                                          blocked 
 test-armhf-armhf-xl                                          blocked 
 test-arm64-arm64-xl-xsm                                      blocked 
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    blocked 
 test-amd64-amd64-libvirt                                     blocked 

------------------------------------------------------------
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

Not pushing.

------------------------------------------------------------
commit cb8b18d49ad804108ead8667179794b0ead66f2a

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:13 2023 +0100

xen/changelog: Add SVE and "dom0" options to the changelog for Arm

Arm now can use the "dom0=" Xen command line option and the support for guests running SVE instructions is added, put entries in the changelog.

Mention the "Tech Preview" status and add an entry in SUPPORT.md

commit 870394de44766d6d1972c2e27be2f0a289162b04

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:12 2023 +0100

xen/arm: add sve property for dom0less domUs

Add a device tree property in the dom0less domU configuration to enable the guest to use SVE.

Update documentation.

commit b46e8207d0aedad7bb23d14c055d95e625d366b0

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:11 2023 +0100

xen/tools: add sve parameter in XL configuration

Add sve parameter in XL configuration to allow guests to use SVE feature.

commit 56a7aaa16bfe43945a0031319c60c7f323c46254

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:10 2023 +0100

tools: add physinfo arch_capabilities handling for Arm

On Arm, the SVE vector length is encoded in arch_capabilities field of struct xen_sysctl_physinfo, make use of this field in the tools when building for arm.

Create header arm-arch-capabilities.h to handle the arch_capabilities field of physinfo for Arm.

commit 9392bf6a3a44978373f2c54a4c69d739f437b3bc

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:09 2023 +0100

xen/physinfo: encode Arm SVE vector length in arch_capabilities

When the arm platform supports SVE, advertise the feature in the field arch_capabilities in struct xen_sysctl_physinfo by encoding the SVE vector length in it.

commit fd53bc7af0eaa9d37ca3ec8b517190cc3e3df9ed

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:08 2023 +0100

xen: enable Dom0 to use SVE feature

Add a command line parameter to allow Dom0 the use of SVE resources, the command line parameter sve=<integer>, sub argument of dom0=, controls the feature on this domain and sets the maximum SVE vector length for Dom0.

Add a new function, parse_signed_integer(), to parse an integer command line argument.

commit f2095a51ac53d2da97f724d49ec3aedbb290080e

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:07 2023 +0100

xen/common: add dom0 xen command line argument for Arm

Currently x86 defines a Xen command line argument dom0=<list> where there can be specified dom0 controlling sub-options, to use it also on Arm, move the code that loops through the list of arguments from x86 to the common code and from there, call architecture specific functions to handle the comma separated sub-options.

No functional changes are intended.

commit ac5855d5c7ea123be3fb32b17b9cd4ad483b4205

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:06 2023 +0100

arm/sve: save/restore SVE context switch

Save/restore context switch for SVE, allocate memory to contain the Z0-31 registers whose length is maximum 2048 bits each and FFR who can be maximum 256 bits, the allocated memory depends on how many bits is the vector length for the domain and how many bits are supported by the platform.

Save P0-15 whose length is maximum 256 bits each, in this case the memory used is from the fpregs field in struct vfp_state, because V0-31 are part of Z0-31 and this space would have been unused for SVE domain otherwise.

Create zcr_el{1,2} fields in arch_vcpu, initialise zcr_el2 on vcpu creation given the requested vector length and restore it on context switch, save/restore ZCR_EL1 value as well.

List import macros from Linux in README.LinuxPrimitives.

commit 3c6e7262410fe95f96aae32765531de41a6f392f

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:05 2023 +0100

xen/arm: add SVE exception class handling

SVE has a new exception class with code 0x19, introduce the new code and handle the exception.

commit c5ff38cdd833fcf2cbb8fb49e362eac05888b3d4

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:04 2023 +0100

xen/arm: Expose SVE feature to the guest

When a guest is allowed to use SVE, expose the SVE features through the identification registers.

commit 8043e80de93a9377454b6186390a3e931cc4b273

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:03 2023 +0100

xen/arm: add SVE vector length field to the domain

Add sve_vl field to arch_domain and xen_arch_domainconfig struct, to allow the domain to have an information about the SVE feature and the number of SVE register bits that are allowed for this domain.

sve_vl field is the vector length in bits divided by 128, this allows to use less space in the structures.

The field is used also to allow or forbid a domain to use SVE, because a value equal to zero means the guest is not allowed to use the feature.

Check that the requested vector length is lower or equal to the platform supported vector length, otherwise fail on domain creation.

Check that only 64 bit domains have SVE enabled, otherwise fail.

commit ddcbaa42d8515d8e372d10f9a8014b4c5b7cc536

Author: Luca Fancellu <[email protected]>
Date:   Wed May 31 08:24:02 2023 +0100

xen/arm: enable SVE extension for Xen

Enable Xen to handle the SVE extension, add code in cpufeature module to handle ZCR SVE register, disable trapping SVE feature on system boot only when SVE resources are accessed.
While there, correct coding style for the comment on coprocessor trapping.

Now cptr_el2 is part of the domain context and it will be restored on context switch, this is a preparation for saving the SVE context which will be part of VFP operations, so restore it before the call to save VFP registers.
To save an additional isb barrier, restore cptr_el2 before an existing isb barrier and move the call for saving VFP context after that barrier. To keep a (mostly) specularity of ctxt_switch_to() and ctxt_switch_from(), move vfp_save_state() up in the function.

Change the KConfig entry to make ARM64_SVE symbol selectable, by default it will be not selected.

Create sve module and sve_asm.S that contains assembly routines for the SVE feature, this code is inspired from linux and it uses instruction encoding to be compatible with compilers that does not support SVE, imported instructions are documented in README.LinuxPrimitives.

(qemu changes not included)