[linux-linus test] 180379: regressions - FAIL

2023-04-23 Thread osstest service owner
flight 180379 linux-linus real [real] flight 180383 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/180379/ http://logs.test-lab.xenproject.org/osstest/logs/180383/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run

[xen-unstable test] 180381: tolerable FAIL

2023-04-23 Thread osstest service owner
flight 180381 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/180381/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-libvirt 7 xen-install fail in 180377 pass in 180381 test-amd64-amd64-pair 21 debia

[qemu-mainline test] 180382: tolerable FAIL - PUSHED

2023-04-23 Thread osstest service owner
flight 180382 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/180382/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 180373 test-amd64-amd64-xl-qemuu-win7-amd6

[qemu-mainline test] 180386: regressions - FAIL

2023-04-23 Thread osstest service owner
. commit 327ec8d6c2a2223b78d311153a471036e474c5c5 Merge: 6dd0621489 3ea9be3340 Author: Richard Henderson Date: Sun Apr 23 11:20:36 2023 +0100 Merge tag 'pull-tcg-20230423' of https://gitlab.com/rth7680/qemu into staging tcg cleanups: - Remove tcg_abort() -

[linux-linus test] 180384: regressions - FAIL

2023-04-23 Thread osstest service owner
flight 180384 linux-linus real [real] flight 180387 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/180384/ http://logs.test-lab.xenproject.org/osstest/logs/180387/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run

[PATCH v6 04/12] xen/arm: add SVE exception class handling

2023-04-23 Thread Luca Fancellu
SVE has a new exception class with code 0x19, introduce the new code and handle the exception. Signed-off-by: Luca Fancellu Reviewed-by: Bertrand Marquis --- Changes from v5: - modified error messages (Julien) - add R-by Bertrand Changes from v4: - No changes Changes from v3: - No changes Ch

[PATCH v6 02/12] xen/arm: add SVE vector length field to the domain

2023-04-23 Thread Luca Fancellu
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 st

[PATCH v6 09/12] tools: add physinfo arch_capabilities handling for Arm

2023-04-23 Thread Luca Fancellu
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. Removed include for xen-tools/common-macro

[PATCH v6 01/12] xen/arm: enable SVE extension for Xen

2023-04-23 Thread Luca Fancellu
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

[PATCH v6 06/12] xen/common: add dom0 xen command line argument for Arm

2023-04-23 Thread Luca Fancellu
Currently x86 defines a Xen command line argument dom0= 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 separ

[PATCH v6 03/12] xen/arm: Expose SVE feature to the guest

2023-04-23 Thread Luca Fancellu
When a guest is allowed to use SVE, expose the SVE features through the identification registers. Signed-off-by: Luca Fancellu --- Changes from v5: - given the move of is_sve_domain() in asm/arm64/sve.h, add the header to vsysreg.c - dropping Bertrand's R-by because of the change Changes fro

[PATCH v6 00/12] SVE feature for arm guests

2023-04-23 Thread Luca Fancellu
This serie is introducing the possibility for Dom0 and DomU guests to use sve/sve2 instructions. SVE feature introduces new instruction and registers to improve performances on floating point operations. The SVE feature is advertised using the ID_AA64PFR0_EL1 register, SVE field, and when availab

[PATCH v6 05/12] arm/sve: save/restore SVE context switch

2023-04-23 Thread Luca Fancellu
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

[PATCH v6 07/12] xen: enable Dom0 to use SVE feature

2023-04-23 Thread Luca Fancellu
Add a command line parameter to allow Dom0 the use of SVE resources, the command line parameter sve=, 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.

[PATCH v6 08/12] xen/physinfo: encode Arm SVE vector length in arch_capabilities

2023-04-23 Thread Luca Fancellu
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. Signed-off-by: Luca Fancellu Reviewed-by: Bertrand Marquis --- Changes from v5: - Add R-by from Bertrand Changes from v4: - Write arch

[PATCH v6 12/12] xen/changelog: Add SVE and "dom0" options to the changelog for Arm

2023-04-23 Thread Luca Fancellu
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 Signed-off-by: Luca Fancellu --- Changes from v5: - Add Tech Preview status and add en

[PATCH v6 11/12] xen/arm: add sve property for dom0less domUs

2023-04-23 Thread Luca Fancellu
Add a device tree property in the dom0less domU configuration to enable the guest to use SVE. Update documentation. Signed-off-by: Luca Fancellu --- Changes from v5: - Stop the domain creation if SVE not supported or SVE VL errors (Julien, Bertrand) - now sve_sanitize_vl_param is renamed to

[PATCH v6 10/12] xen/tools: add sve parameter in XL configuration

2023-04-23 Thread Luca Fancellu
Add sve parameter in XL configuration to allow guests to use SVE feature. Signed-off-by: Luca Fancellu --- Changes from v5: - Update documentation - re-generated golang files Changes from v4: - Rename sve field to sve_vl (Anthony), changed type to libxl_sve_type - Sanity check of sve field