[PATCH v3 0/4] introduce generic implementation of macros from bug.h

2023-02-24 Thread Oleksii Kurochko
A large part of the content of the bug.h is repeated among all architectures (especially x86 and RISCV have the same implementation), so it was created a new config CONFIG_GENERIC_BUG_FRAME which is used to introduce generic implementation of do_bug_frame() and move x86's to with the following

Re: [PATCH] xen: Work around Clang -E vs -Wunicode bug

2023-02-24 Thread Andrew Cooper
On 24/02/2023 11:17 am, Jan Beulich wrote: > On 24.02.2023 11:50, Andrew Cooper wrote: >> On 24/02/2023 7:27 am, Jan Beulich wrote: >>> On 23.02.2023 23:03, Andrew Cooper wrote: https://github.com/llvm/llvm-project/issues/60958 While trying to work around a different Clang-IAS bug,

Re: [PATCH] xen: Work around Clang -E vs -Wunicode bug

2023-02-24 Thread Jan Beulich
On 24.02.2023 11:50, Andrew Cooper wrote: > On 24/02/2023 7:27 am, Jan Beulich wrote: >> On 23.02.2023 23:03, Andrew Cooper wrote: >>> https://github.com/llvm/llvm-project/issues/60958 >>> >>> While trying to work around a different Clang-IAS bug, I stubled onto >>> >>> In file included from

Re: [PATCH] xen: Work around Clang -E vs -Wunicode bug

2023-02-24 Thread Andrew Cooper
On 24/02/2023 7:27 am, Jan Beulich wrote: > On 23.02.2023 23:03, Andrew Cooper wrote: >> https://github.com/llvm/llvm-project/issues/60958 >> >> While trying to work around a different Clang-IAS bug, I stubled onto >> >> In file included from arch/x86/asm-macros.c:3: >>

[PATCH v3] automation: Add container and build jobs to run cppcheck analysis

2023-02-24 Thread Michal Orzel
Add a debian container with cppcheck installation routine inside, capable of performing cppcheck analysis on Xen-only build including cross-builds for arm32 and x86_64. Populate build jobs making use of that container to run cppcheck analysis to produce a text report (xen-cppcheck.txt) containing

Re: [PATCH v3 3/3] automation: expand arm32 dom0 test adding xl domain creation

2023-02-24 Thread Michal Orzel
Hi Stefano, On 18/02/2023 01:07, Stefano Stabellini wrote: > > > From: Stefano Stabellini > > As part of the arm32 dom0 test, also create a simple domU using xl. To > do that, we need the toolstack installed in the dom0 rootfs. We switch > to using the kernel and rootfs built by the Yocto

Re: [PATCH v3 2/3] automation: add binaries/ to artifacts for Yocto arm32 job

2023-02-24 Thread Michal Orzel
Hi Stefano, On 18/02/2023 01:07, Stefano Stabellini wrote: > > > From: Stefano Stabellini > > Copy the build output of Yocto builds to binaries/ for the arm32 target, > and export binaries/ among the jobs artifacts so that they can be reused > by other jobs. > > Signed-off-by: Stefano

Re: [XEN PATCH v7 07/20] xen/arm: ffa: add defines for framework direct request/response messages

2023-02-24 Thread Bertrand Marquis
Hi Jens, > On 22 Feb 2023, at 16:33, Jens Wiklander wrote: > > Adds defines for framework direct request/response messages. > > Signed-off-by: Jens Wiklander > --- > xen/arch/arm/tee/ffa.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/xen/arch/arm/tee/ffa.c

Re: [XEN PATCH v7 06/20] xen/arm: ffa: add flags for FFA_PARTITION_INFO_GET

2023-02-24 Thread Bertrand Marquis
Hi Jens, > On 22 Feb 2023, at 16:33, Jens Wiklander wrote: > > Defines flags used for the function FFA_PARTITION_INFO_GET. > > Signed-off-by: Jens Wiklander > --- > xen/arch/arm/tee/ffa.c | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git

DomU Ubuntu install fails with uefi firmware option

2023-02-24 Thread A Sudheer
Hi All, On Ubuntu host, I installed xen with apt-get, and also able to install DomU Ubuntu with default seabios. But when I tried to use uefi (firmware="uefi" ) in domu config, domu ubuntu installation fails. I also installed the ovmf package with apt-get, still not able to install Ubuntu DomU.

Re: [XEN PATCH v7 02/20] xen/arm: tee: add a primitive FF-A mediator

2023-02-24 Thread Jens Wiklander
Hi, On Thu, Feb 23, 2023 at 3:47 PM Bertrand Marquis wrote: > > Hi Jens, > > > On 22 Feb 2023, at 16:32, Jens Wiklander wrote: > > > > Adds a FF-A version 1.1 [1] mediator to communicate with a Secure > > Partition in secure world. > > > > This commit brings in only the parts needed to

Re: [XEN PATCH v7 02/20] xen/arm: tee: add a primitive FF-A mediator

2023-02-24 Thread Jens Wiklander
Hi, On Thu, Feb 23, 2023 at 3:43 PM Julien Grall wrote: > > Hi, > > I have only skimmed through the patch so far and I have one question below. > > On 22/02/2023 15:32, Jens Wiklander wrote: > > Adds a FF-A version 1.1 [1] mediator to communicate with a Secure > > Partition in secure world. > >

Re: [XEN PATCH v7 05/20] xen/arm: ffa: add remaining SMC function IDs

2023-02-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Feb 23, 2023 at 4:28 PM Bertrand Marquis wrote: > > Hi Jens, > > > On 22 Feb 2023, at 16:33, Jens Wiklander wrote: > > > > Adds the remaining SMC function IDs from FF-A 1.1 specification. > > > > Signed-off-by: Jens Wiklander > > All number are coherent with the spec.

Re: [XEN PATCH v7 03/20] tools: add Arm FF-A mediator

2023-02-24 Thread Jens Wiklander
On Thu, Feb 23, 2023 at 5:50 PM Anthony PERARD wrote: > > On Wed, Feb 22, 2023 at 04:33:00PM +0100, Jens Wiklander wrote: > > diff --git a/tools/libs/light/libxl_types.idl > > b/tools/libs/light/libxl_types.idl > > index 0cfad8508dbd..64fb570bc19a 100644 > > ---

Re: [XEN PATCH v7 04/20] docs: add Arm FF-A mediator

2023-02-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Feb 23, 2023 at 4:10 PM Bertrand Marquis wrote: > > Hi Jens, > > > On 22 Feb 2023, at 16:33, Jens Wiklander wrote: > > > > Describes a FF-A version 1.1 [1] mediator to communicate with a Secure > > Partition in secure world. > > > > [1]

[xen-4.17-testing test] 178227: tolerable trouble: fail/pass/starved - PUSHED

2023-02-24 Thread osstest service owner
flight 178227 xen-4.17-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/178227/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-win7-amd64 19 guest-stop fail like 177300

Re: [XEN PATCH v7 01/20] xen/arm: smccc: add support for SMCCCv1.2 extended input/output registers

2023-02-24 Thread Jens Wiklander
On Thu, Feb 23, 2023 at 3:35 PM Julien Grall wrote: > > Hi Jens, > > On 22/02/2023 15:32, Jens Wiklander wrote: > > SMCCC v1.2 [1] AArch64 allows x0-x17 to be used as both parameter > > registers and result registers for the SMC and HVC instructions. > > > > Arm Firmware Framework for Armv8-A

Re: [PATCH v2 6/9] x86/vmx: move declations used only by vmx code from vmx.h to private header

2023-02-24 Thread Jan Beulich
On 24.02.2023 08:49, Xenia Ragiadakou wrote: > On 2/23/23 12:47, Jan Beulich wrote: >> One file wide remark: I assume you've put things here in the order they >> were in originally. I think it would be nice if some re-arrangement was >> done, e.g. all structures first (unless there's a reason

Re: [PATCH] Call SetVirtualAddressMap() by default

2023-02-24 Thread Jan Beulich
On 23.02.2023 14:56, Marek Marczykowski-Górecki wrote: > On Thu, Feb 23, 2023 at 02:21:11PM +0100, Jan Beulich wrote: >> On 23.02.2023 14:08, Marek Marczykowski-Górecki wrote: >>> On Thu, Feb 23, 2023 at 11:16:28AM +0100, Jan Beulich wrote: On 22.02.2023 20:14, Demi Marie Obenour wrote: >

<    1   2