Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Thorsten Leemhuis
On 15.07.22 04:07, Chuck Zmudzinski wrote: > On 7/14/2022 1:30 AM, Thorsten Leemhuis wrote: >> On 13.07.22 03:36, Chuck Zmudzinski wrote: >>> The commit 99c13b8c8896d7bcb92753bf >>> ("x86/mm/pat: Don't report PAT on CPUs that don't support it") >>> incorrectly failed to account for the case in

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Chuck Zmudzinski
On 7/15/2022 12:22 AM, Juergen Gross wrote: > On 15.07.22 04:19, Chuck Zmudzinski wrote: > > On 7/14/2022 1:40 AM, Juergen Gross wrote: > >> On 13.07.22 03:36, Chuck Zmudzinski wrote: > >>> The commit 99c13b8c8896d7bcb92753bf > >>> ("x86/mm/pat: Don't report PAT on CPUs that don't support it") >

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Juergen Gross
On 15.07.22 04:19, Chuck Zmudzinski wrote: On 7/14/2022 1:40 AM, Juergen Gross wrote: On 13.07.22 03:36, Chuck Zmudzinski wrote: The commit 99c13b8c8896d7bcb92753bf ("x86/mm/pat: Don't report PAT on CPUs that don't support it") incorrectly failed to account for the case in init_cache_modes()

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 10:53 PM, Chuck Zmudzinski wrote: > On 7/14/2022 10:19 PM, Chuck Zmudzinski wrote: > > On 7/14/2022 1:40 AM, Juergen Gross wrote: > > > On 13.07.22 03:36, Chuck Zmudzinski wrote: > > > > The commit 99c13b8c8896d7bcb92753bf > > > > ("x86/mm/pat: Don't report PAT on CPUs that don't

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 10:19 PM, Chuck Zmudzinski wrote: > On 7/14/2022 1:40 AM, Juergen Gross wrote: > > On 13.07.22 03:36, Chuck Zmudzinski wrote: > > > The commit 99c13b8c8896d7bcb92753bf > > > ("x86/mm/pat: Don't report PAT on CPUs that don't support it") > > > incorrectly failed to account for the case

[xen-4.16-testing test] 171628: FAIL

2022-07-14 Thread osstest service owner
flight 171628 xen-4.16-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/171628/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt broken in 171621

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 1:40 AM, Juergen Gross wrote: > On 13.07.22 03:36, Chuck Zmudzinski wrote: > > The commit 99c13b8c8896d7bcb92753bf > > ("x86/mm/pat: Don't report PAT on CPUs that don't support it") > > incorrectly failed to account for the case in init_cache_modes() when > > CPUs do support PAT and

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 1:30 AM, Thorsten Leemhuis wrote: > On 13.07.22 03:36, Chuck Zmudzinski wrote: > > The commit 99c13b8c8896d7bcb92753bf > > ("x86/mm/pat: Don't report PAT on CPUs that don't support it") > > incorrectly failed to account for the case in init_cache_modes() when > > CPUs do support PAT

[xen-unstable test] 171627: tolerable FAIL

2022-07-14 Thread osstest service owner
flight 171627 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/171627/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-libvirt-qcow2 8 xen-boot fail pass in 171619 Tests which did not succeed,

Re: Ping: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 6:33 PM, Chuck Zmudzinski wrote: > On 7/14/2022 1:17 PM, Chuck Zmudzinski wrote: > > On 7/5/22 6:57 AM, Thorsten Leemhuis wrote: > > > [CCing tglx, mingo, Boris and Juergen] > > > > > > On 04.07.22 14:26, Jan Beulich wrote: > > > > On 04.07.2022 13:58, Thorsten Leemhuis wrote: > > >

[PATCH v2] xen-blkback: fix persistent grants negotiation

2022-07-14 Thread SeongJae Park
Persistent grants feature can be used only when both backend and the frontend supports the feature. The feature was always supported by 'blkback', but commit aac8a70db24b ("xen-blkback: add a parameter for disabling of persistent grants") has introduced a parameter for disabling it runtime. To

Re: Ping: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-07-14 Thread Chuck Zmudzinski
On 7/14/2022 1:17 PM, Chuck Zmudzinski wrote: > On 7/5/22 6:57 AM, Thorsten Leemhuis wrote: > > [CCing tglx, mingo, Boris and Juergen] > > > > On 04.07.22 14:26, Jan Beulich wrote: > > > On 04.07.2022 13:58, Thorsten Leemhuis wrote: > > >> On 25.05.22 10:55, Jan Beulich wrote: > > >>> On

[linux-linus test] 171626: regressions - FAIL

2022-07-14 Thread osstest service owner
flight 171626 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/171626/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-arm64-arm64-libvirt-raw 8 xen-boot fail REGR. vs. 171587 build-i386-pvops

[ovmf test] 171633: all pass - PUSHED

2022-07-14 Thread osstest service owner
flight 171633 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/171633/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 470206ba7f118aaa1153d66689cf3ee4d17051b7 baseline version: ovmf

[linux-5.4 test] 171624: regressions - FAIL

2022-07-14 Thread osstest service owner
flight 171624 linux-5.4 real [real] flight 171632 linux-5.4 real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/171624/ http://logs.test-lab.xenproject.org/osstest/logs/171632/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run:

Re: [XEN PATCH 1/2] xen: Fix check-endbr with mawk

2022-07-14 Thread Andrew Cooper
On 14/07/2022 16:12, Andrew Cooper wrote: > On 14/07/2022 15:39, Anthony PERARD wrote: >> check-endbr.sh works well with gawk, but fails with mawk. The produced >> $ALL file is smaller, it is missing 0x$vma_lo on every line. On mawk, >> int(0x2A) just produce 0, instead of the expected value. >>

[PATCH 3/2] README: State POSIX compatibility as a requirement for AWK

2022-07-14 Thread Andrew Cooper
In particular, we support FreeBSD and NetBSD build environments, and some Linux build environments use MAWK over GAWK anyway. Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Anthony PERARD --- README | 1 + 1 file

Re: Hyperlaunch Working Group: Status and Next Steps (15JUL22)

2022-07-14 Thread Daniel P. Smith
On 7/10/22 18:45, Daniel P. Smith wrote: > Greetings All, > > We will be holding a Hyperlaunch Working Group meeting on Friday, July > 15th at 0900PDT/1200EDT/1700GMT. The agenda will be ready by Wednesday > and can be found at the below cryptpad link. Call-in details will be > published in the

Re: [XEN PATCH 1/2] xen: Fix check-endbr with mawk

2022-07-14 Thread Andrew Cooper
On 14/07/2022 15:39, Anthony PERARD wrote: > diff --git a/xen/tools/check-endbr.sh b/xen/tools/check-endbr.sh > index 552f233912..64fa9a56b7 100755 > --- a/xen/tools/check-endbr.sh > +++ b/xen/tools/check-endbr.sh > @@ -78,7 +78,7 @@ then > else > grep -aob -e "$(printf '\363\17\36\372')" -e

Re: [PATCH v4 1/2] xen/arm: smccc: add support for SMCCCv1.2 extended input/output registers

2022-07-14 Thread Jens Wiklander
Hi Luca, On Fri, Jul 8, 2022 at 2:01 PM Luca Fancellu wrote: > > Hi Jens, > > > On 22 Jun 2022, at 14:42, Jens Wiklander wrote: > > > > SMCCC v1.2 AArch64 allows x0-x17 to be used as both parameter registers > > and result registers for the SMC and HVC instructions. > > > > Arm Firmware

[libvirt test] 171625: regressions - FAIL

2022-07-14 Thread osstest service owner
flight 171625 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/171625/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-arm64-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-amd64-libvirt

Re: [PATCH v2] xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue

2022-07-14 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Wed, 13 Jul 2022 15:53:22 +0200 you wrote: > xenvif_rx_next_skb() is expecting the rx queue not being empty, but > in case the loop in xenvif_rx_action() is doing multiple iterations, > the availability of another

Re: Ping: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-07-14 Thread Chuck Zmudzinski
On 7/5/22 6:57 AM, Thorsten Leemhuis wrote: > [CCing tglx, mingo, Boris and Juergen] > > On 04.07.22 14:26, Jan Beulich wrote: > > On 04.07.2022 13:58, Thorsten Leemhuis wrote: > >> On 25.05.22 10:55, Jan Beulich wrote: > >>> On 28.04.2022 16:50, Jan Beulich wrote: > The latest with commit

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

2022-07-14 Thread osstest service owner
flight 171623 qemu-mainline real [real] flight 171630 qemu-mainline real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/171623/ http://logs.test-lab.xenproject.org/osstest/logs/171630/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

Re: [XEN PATCH 1/2] xen: Fix check-endbr with mawk

2022-07-14 Thread Andrew Cooper
On 14/07/2022 15:39, Anthony PERARD wrote: > check-endbr.sh works well with gawk, but fails with mawk. The produced > $ALL file is smaller, it is missing 0x$vma_lo on every line. On mawk, > int(0x2A) just produce 0, instead of the expected value. > > The use of hexadecimal-constant in awk is an

Re: [XEN PATCH 1/2] xen: Fix check-endbr with mawk

2022-07-14 Thread Bertrand Marquis
Hi Anthony, > On 14 Jul 2022, at 15:39, Anthony PERARD wrote: > > check-endbr.sh works well with gawk, but fails with mawk. The produced > $ALL file is smaller, it is missing 0x$vma_lo on every line. On mawk, > int(0x2A) just produce 0, instead of the expected value. > > The use of

Re: [XEN PATCH 2/2] xen: Introduce $AWK in check-endbr

2022-07-14 Thread Andrew Cooper
On 14/07/2022 15:39, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD Acked-by: Andrew Cooper

[xen-unstable-smoke test] 171629: tolerable all pass - PUSHED

2022-07-14 Thread osstest service owner
flight 171629 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/171629/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm

[XEN PATCH 1/2] xen: Fix check-endbr with mawk

2022-07-14 Thread Anthony PERARD
check-endbr.sh works well with gawk, but fails with mawk. The produced $ALL file is smaller, it is missing 0x$vma_lo on every line. On mawk, int(0x2A) just produce 0, instead of the expected value. The use of hexadecimal-constant in awk is an optional part of the posix spec, and mawk doesn't

[XEN PATCH 2/2] xen: Introduce $AWK in check-endbr

2022-07-14 Thread Anthony PERARD
Signed-off-by: Anthony PERARD --- xen/tools/check-endbr.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xen/tools/check-endbr.sh b/xen/tools/check-endbr.sh index 64fa9a56b7..523797a15f 100755 --- a/xen/tools/check-endbr.sh +++ b/xen/tools/check-endbr.sh @@ -10,6 +10,7

[XEN PATCH 0/2] xen: check-endbr.sh fix and improvement

2022-07-14 Thread Anthony PERARD
Patch series available in this git branch: https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.check-endbr-fix-v1 Hi. Anthony PERARD (2): xen: Fix check-endbr with mawk xen: Introduce $AWK in check-endbr xen/tools/check-endbr.sh | 5 +++-- 1 file changed, 3 insertions(+),

Re: [PATCH v2 9/9] xue: allow driving the rest of XHCI by a domain while Xen uses DbC

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > That's possible, because the capability was designed specifically to > allow separate driver handle it, in parallel to unmodified xhci driver > (separate set of registers, pretending the port is "disconnected" for > the main xhci driver

[xen-4.16-testing test] 171621: regressions - trouble: broken/fail/pass

2022-07-14 Thread osstest service owner
flight 171621 xen-4.16-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/171621/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt broken build-arm64 6

Re: [PATCH v2 1/9] drivers/char: Add support for Xue USB3 debugger

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > +static int xue_init_dbc(struct xue *xue) > +{ > +uint64_t erdp = 0; > +uint64_t out = 0; > +uint64_t in = 0; > +uint64_t mbs = 0; > +struct xue_dbc_reg *reg = xue_find_dbc(xue); > + > +if ( !reg ) > +return

Re: [PATCH v2 8/9] xue: mark DMA buffers as reserved for the device

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > The important part is to include those buffers in IOMMU page table > relevant for the USB controller. Otherwise, DbC will stop working as > soon as IOMMU is enabled, regardless of to which domain device assigned > (be it xen or dom0). > If

Re: [PATCH net-next 2/2] xen-netfront: re-order error checks in xennet_get_responses()

2022-07-14 Thread Paolo Abeni
On Wed, 2022-07-13 at 11:19 +0200, Jan Beulich wrote: > Check the retrieved grant reference first; there's no point trying to > have xennet_move_rx_slot() move invalid data (and further defer > recognition of the issue, likely making diagnosis yet more difficult). > > Signed-off-by: Jan Beulich

Re: [PATCH v2 9/9] xen: introduce a Kconfig option to configure NUMA nodes number

2022-07-14 Thread Julien Grall
Hi Jan, On 14/07/2022 12:10, Jan Beulich wrote: On 14.07.2022 12:14, Wei Chen wrote: Hi Jan, -Original Message- From: Jan Beulich Sent: 2022年7月12日 22:34 To: Wei Chen Cc: nd ; Andrew Cooper ; George Dunlap ; Julien Grall ; Stefano Stabellini ; Wei Liu ; Roger Pau Monné ;

Re: [PATCH v2 9/9] xen: introduce a Kconfig option to configure NUMA nodes number

2022-07-14 Thread Jan Beulich
On 14.07.2022 12:14, Wei Chen wrote: > Hi Jan, > >> -Original Message- >> From: Jan Beulich >> Sent: 2022年7月12日 22:34 >> To: Wei Chen >> Cc: nd ; Andrew Cooper ; George >> Dunlap ; Julien Grall ; Stefano >> Stabellini ; Wei Liu ; Roger Pau Monné >> ; xen-devel@lists.xenproject.org >>

Re: [PATCH v2] xen/arm: traps: Fix MISRA C 2012 Rule 8.4 violation

2022-07-14 Thread Julien Grall
On 07/07/2022 00:42, Stefano Stabellini wrote: On Wed, 6 Jul 2022, Xenia Ragiadakou wrote: Add the function prototype of show_stack() in header file so that it is visible before its definition in traps.c. Although show_stack() is referenced only in traps.c, it is declared with external

Re: [PATCH v4] xen/arm: avoid overflow when setting vtimer in context switch

2022-07-14 Thread Julien Grall
Hi Bertrand, On 07/07/2022 16:35, Bertrand Marquis wrote: Hi Julien, On 7 Jul 2022, at 16:33, Julien Grall wrote: Hi Jiamei, On 06/07/2022 09:25, Jiamei Xie wrote: virt_vtimer_save() will calculate the next deadline when the vCPU is scheduled out. At the moment, Xen will use the following

Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Jan Beulich
On 14.07.2022 12:49, Wei Chen wrote: >> From: Jan Beulich >> Sent: 2022年7月14日 18:37 >> status Well, this makes the table complete, but it doesn't explain how you >> mean to fold the settings of the two command line options into one variable. >>> >>> No matter how many separate

Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Jan Beulich
On 14.07.2022 12:37, Jan Beulich wrote: > On 14.07.2022 12:26, Wei Chen wrote: >>> From: Jan Beulich >>> Sent: 2022年7月14日 17:58 >>> To: Wei Chen How about update the table like this: ++--++++ | original |

RE: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月14日 18:37 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA > status > >> > >> Well, this

Re: [PATCH net-next 0/2] xen-netfront: XSA-403 follow-on

2022-07-14 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (master) by Paolo Abeni : On Wed, 13 Jul 2022 11:18:03 +0200 you wrote: > While investigating the XSA, I did notice a few more things. The two > patches aren't really dependent on one another. > > 1: remove leftover call to

Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Jan Beulich
On 14.07.2022 12:26, Wei Chen wrote: > Hi Jan, > >> -Original Message- >> From: Jan Beulich >> Sent: 2022年7月14日 17:58 >> To: Wei Chen >> Cc: nd ; Andrew Cooper ; Roger Pau >> Monné ; Wei Liu ; xen- >> de...@lists.xenproject.org >> Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to

Re: make debball fails on Ubuntu 20.04: More valid-addrs than all-addrs

2022-07-14 Thread Bertrand Marquis
> On 14 Jul 2022, at 11:33, Andrew Cooper wrote: > > On 14/07/2022 11:12, Luca Fancellu wrote: >> + CC x86 maintainers >> >>> On 14 Jul 2022, at 10:40, Mathieu Tarral >>> wrote: >>> >>> Hi Luca, >>> Hi Mathieu, You are missing wget in your packages. >>> Indeed, installing

Re: make debball fails on Ubuntu 20.04: More valid-addrs than all-addrs

2022-07-14 Thread Jan Beulich
On 14.07.2022 12:33, Andrew Cooper wrote: > On 14/07/2022 11:12, Luca Fancellu wrote: >> + CC x86 maintainers >> >>> On 14 Jul 2022, at 10:40, Mathieu Tarral >>> wrote: >>> >>> Hi Luca, >>> Hi Mathieu, You are missing wget in your packages. >>> Indeed, installing wget solved the

Re: make debball fails on Ubuntu 20.04: More valid-addrs than all-addrs

2022-07-14 Thread Bertrand Marquis
Hi Andy, > On 14 Jul 2022, at 11:33, Andrew Cooper wrote: > > On 14/07/2022 11:12, Luca Fancellu wrote: >> + CC x86 maintainers >> >>> On 14 Jul 2022, at 10:40, Mathieu Tarral >>> wrote: >>> >>> Hi Luca, >>> Hi Mathieu, You are missing wget in your packages. >>> Indeed,

RE: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月14日 17:58 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA > status > > > > > How about

Re: [PATCH v2 7/9] IOMMU/AMD: wire common device reserved memory API

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > --- a/xen/drivers/passthrough/amd/iommu_acpi.c > +++ b/xen/drivers/passthrough/amd/iommu_acpi.c > @@ -1078,6 +1078,20 @@ static inline bool_t is_ivmd_block(u8 type) > type == ACPI_IVRS_TYPE_MEMORY_IOMMU); > } > > +static int

[xen-unstable test] 171619: tolerable FAIL - PUSHED

2022-07-14 Thread osstest service owner
flight 171619 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/171619/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stopfail like 171605 test-armhf-armhf-libvirt 16

Re: [PATCH v2 5/9] IOMMU: add common API for device reserved memory

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > Add API similar to rmrr= and ivmd= arguments, but in a common code. This > will allow drivers to register reserved memory regardless of the IOMMU > vendor. > The direct reason for this API is xhci-dbc console driver (aka xue), > that needs

RE: [PATCH v2 9/9] xen: introduce a Kconfig option to configure NUMA nodes number

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月12日 22:34 > To: Wei Chen > Cc: nd ; Andrew Cooper ; George > Dunlap ; Julien Grall ; Stefano > Stabellini ; Wei Liu ; Roger Pau Monné > ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH v2 9/9] xen: introduce a Kconfig

[RFC PATCH 2/2] automation: Add yocto containers with cache

2022-07-14 Thread Bertrand Marquis
Create yocto containers for kirkstone with a builder step to fill the yocto cache by running the build script once. Those containers depend on the kirkstone.dockerfile container to be created and use it as base image. To run a build test on one image the following command must be called inside

[RFC PATCH 1/2] automation: Add elements for Yocto test and run

2022-07-14 Thread Bertrand Marquis
Add a container suitable to run yocto kirkstone build based on ubuntu 22.04. It contains all packages required by Yocto and a checkout of the layers required to build Xen with Yocto. Add a build script to build and run xen on qemu using Yocto. The script supports arm32, arm64 and x86_64 and

[RFC PATCH 0/2] Yocto Gitlab CI support

2022-07-14 Thread Bertrand Marquis
This patch series is a first attempt to check if we could use Yocto in gitlab ci to build and run xen on qemu for arm, arm64 and x86. The first patch is creating a container with all elements required to build Yocto, a checkout of the yocto layers required and an helper script to build and run

Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Jan Beulich
On 14.07.2022 11:55, Wei Chen wrote: > Hi Jan, > >> -Original Message- >>> >>> Sorry for replying later, I paid sometime to check the code again, >>> and drew a table like below, I ignore two columns when numa_off=true >>> and acpi_numa=1/-1. Because when numa_off = true, ACPI srat

RE: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > >> > > > > Sorry for replying later, I paid sometime to check the code again, > > and drew a table like below, I ignore two columns when numa_off=true > > and acpi_numa=1/-1. Because when numa_off = true, ACPI srat table > > will not be parsed: > > While I

Re: [PATCH v4 2/2] xen/arm: add FF-A mediator

2022-07-14 Thread Bertrand Marquis
Hi Jens, > On 22 Jun 2022, at 14:42, Jens Wiklander wrote: > > Adds a FF-A version 1.1 [1] mediator to communicate with a Secure > Partition in secure world. > > The implementation is the bare minimum to be able to communicate with > OP-TEE running as an SPMC at S-EL1. > > This is loosely

Re: Xen on rk3399

2022-07-14 Thread Bertrand Marquis
Hi Brad > On 13 Jul 2022, at 14:32, Brad Churchwell wrote: > > Hi Bertrand, > > I did this yesterday and it does indeed silence the warnings saying to > disable those cores, however the IRQ errors still remain. Can you check to which domain it belongs ? If it belongs to the domain with little

Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Jan Beulich
On 14.07.2022 11:03, Wei Chen wrote: > Hi Jan, > >> -Original Message- >> From: Jan Beulich >> Sent: 2022年7月12日 20:49 >> To: Wei Chen >> Cc: nd ; Andrew Cooper ; Roger Pau >> Monné ; Wei Liu ; xen- >> de...@lists.xenproject.org >> Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to

RE: [PATCH v2 8/9] xen: rename acpi_scan_nodes to numa_scan_nodes

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月12日 22:27 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; George Dunlap > ; Julien Grall ; Stefano > Stabellini ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH v2 8/9] xen: rename

RE: [PATCH v2 7/9] xen/x86: rename bad_srat to numa_bad

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月12日 22:26 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; George Dunlap > ; Julien Grall ; Stefano > Stabellini ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH v2 7/9] xen/x86: rename bad_srat

RE: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

2022-07-14 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年7月12日 20:49 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA > status > > On 08.07.2022 16:54,

[PATCH] x86: deal with gcc12 release build issues

2022-07-14 Thread Jan Beulich
While a number of issues we previously had with pre-release gcc12 were fixed in the final release, we continue to have one issue (with multiple instances) when doing release builds (i.e. at higher optimization levels): The compiler takes issue with subtracting (always 1 in our case) from artifical

Re: [xen-4.16-testing test] 171608: regressions - FAIL

2022-07-14 Thread Jan Beulich
On 13.07.2022 19:53, osstest service owner wrote: > flight 171608 xen-4.16-testing real [real] > http://logs.test-lab.xenproject.org/osstest/logs/171608/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-arm64

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Jan Beulich
On 14.07.2022 07:40, Juergen Gross wrote: > On 13.07.22 03:36, Chuck Zmudzinski wrote: >> @@ -292,7 +294,7 @@ void init_cache_modes(void) >> rdmsrl(MSR_IA32_CR_PAT, pat); >> } >> >> -if (!pat) { >> +if (!pat || pat_force_disabled) { > > Can we just remove this

Re: [PATCH v2 1/9] drivers/char: Add support for Xue USB3 debugger

2022-07-14 Thread Jan Beulich
On 06.07.2022 17:32, Marek Marczykowski-Górecki wrote: > +struct xue { > +struct xue_dbc_reg *dbc_reg; > +struct xue_dbc_ctx *dbc_ctx; > +struct xue_erst_segment *dbc_erst; > +struct xue_trb_ring dbc_ering; > +struct xue_trb_ring dbc_oring; > +struct xue_trb_ring dbc_iring;