[Xen-devel] [xen-unstable-smoke test] 138579: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138579 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138579/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [ovmf test] 138492: all pass - PUSHED

2019-06-26 Thread osstest service owner
flight 138492 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/138492/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 51f7a3e6c5192d3f9a0fa63b0b5617c151180ad7 baseline version: ovmf

Re: [Xen-devel] [PATCH] xen/Kconfig: Fix -Wformat-security when compiling with Clang

2019-06-26 Thread Doug Goldstein
On Wed, Jun 26, 2019 at 06:36:15PM +0100, Andrew Cooper wrote: > Clang observes: > > tools/kconfig/conf.c:77:10: > warning: format string is not a string literal (potentially insecure) > [-Wformat-security] > printf(_("aborted!\n\n")); >

[Xen-devel] [freebsd-master test] 138540: all pass - PUSHED

2019-06-26 Thread osstest service owner
flight 138540 freebsd-master real [real] http://logs.test-lab.xenproject.org/osstest/logs/138540/ Perfect :-) All tests in this flight passed as required version targeted for testing: freebsd 14e63f898b16382f4577cfea211a7fb5ad7983e9 baseline version: freebsd

[Xen-devel] [xen-unstable-smoke test] 138576: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138576 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138576/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-4.11-testing test] 138468: regressions - FAIL

2019-06-26 Thread osstest service owner
flight 138468 xen-4.11-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/138468/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 138148 Tests which

[Xen-devel] [xen-unstable-smoke test] 138575: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138575 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138575/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-unstable-smoke test] 138574: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138574 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138574/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-unstable-smoke test] 138570: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138570 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138570/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [linux-4.19 test] 138454: regressions - FAIL

2019-06-26 Thread osstest service owner
flight 138454 linux-4.19 real [real] http://logs.test-lab.xenproject.org/osstest/logs/138454/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-pvops 6 kernel-build fail REGR. vs. 129313 Tests which are

[Xen-devel] [libvirt test] 138461: tolerable all pass - PUSHED

2019-06-26 Thread osstest service owner
flight 138461 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/138461/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 14 saverestore-support-checkfail like 138327 test-armhf-armhf-libvirt-raw 13

[Xen-devel] [xen-unstable-smoke test] 138568: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138568 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138568/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Julien Grall wrote: > Hi Stefano, > > On 6/26/19 8:29 PM, Stefano Stabellini wrote: > > On Mon, 10 Jun 2019, Julien Grall wrote: > > > At the moment BSS is zeroed before the MMU and D-Cache is turned on. > > > In other words, the cache will be bypassed when zeroing the BSS

[Xen-devel] [xen-unstable-smoke bisection] complete build-armhf

2019-06-26 Thread osstest service owner
branch xen-unstable-smoke xenbranch xen-unstable-smoke job build-armhf testid xen-build 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:

[Xen-devel] [xen-unstable-smoke test] 138566: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138566 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138566/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH 14/17] xen/arm64: head: Remove ID map as soon as it is not used

2019-06-26 Thread Andrew Cooper
On 26/06/2019 21:39, Julien Grall wrote: > On 6/26/19 9:25 PM, Stefano Stabellini wrote: >> On Mon, 10 Jun 2019, Julien Grall wrote: >>> The ID map may clash with other parts of the Xen virtual memory layout. >>> At the moment, Xen is handling the clash by only creating a mapping to >>> the

Re: [Xen-devel] [PATCH 14/17] xen/arm64: head: Remove ID map as soon as it is not used

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 9:25 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: The ID map may clash with other parts of the Xen virtual memory layout. At the moment, Xen is handling the clash by only creating a mapping to the runtime virtual address before enabling the MMU.

Re: [Xen-devel] [PATCH 14/17] xen/arm64: head: Remove ID map as soon as it is not used

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > The ID map may clash with other parts of the Xen virtual memory layout. > At the moment, Xen is handling the clash by only creating a mapping to > the runtime virtual address before enabling the MMU. > > The rest of the mappings (such as the fixmap) will

Re: [Xen-devel] [PATCH 16/17] xen/arm64: head: Rework and document launch()

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 8:12 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: Boot CPU and secondary CPUs will use different entry point to C code. At the moment, the decision on which entry to use is taken within launch(). In order to avoid a branch for the decision and

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 8:29 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: At the moment BSS is zeroed before the MMU and D-Cache is turned on. In other words, the cache will be bypassed when zeroing the BSS section. Per the Image protocol [1], the state of the cache

[Xen-devel] [xen-unstable-smoke test] 138563: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138563 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138563/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH 15/17] xen/arm64: head: Rework and document setup_fixmap()

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 8:01 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: At the moment, the fixmap table is only hooked when earlyprintk is used. This is fine today because in C land, the fixmap is not used by anyone until the the boot CPU is switching to the runtime

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > At the moment BSS is zeroed before the MMU and D-Cache is turned on. > In other words, the cache will be bypassed when zeroing the BSS section. > > Per the Image protocol [1], the state of the cache for BSS region is not > known because it is not part of

Re: [Xen-devel] [PATCH 13/17] xen/arm64: head: Don't setup the fixmap on secondary CPUs

2019-06-26 Thread Julien Grall
Hi, On 6/26/19 7:51 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: setup_fixmap() will setup the fixmap in the boot page tables in order to use earlyprintk and also update the register x23 holding the address to the UART. However, secondary CPUs are switching to the

Re: [Xen-devel] [PATCH 02/17] xen/arm64: head: Don't clobber x30/lr in the macro PRINT

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 7:32 PM, Stefano Stabellini wrote: On Wed, 26 Jun 2019, Julien Grall wrote: Hi Stefano, On 26/06/2019 16:27, Stefano Stabellini wrote: On Wed, 26 Jun 2019, Julien Grall wrote: Hi Stefano, On 26/06/2019 00:59, Stefano Stabellini wrote: On Tue, 25 Jun 2019, Stefano

Re: [Xen-devel] Xen Project Community Call June 27th (instead of July 4th): @15:00 UTC Call for agenda items

2019-06-26 Thread Lars Kurth
On 26/06/2019, 18:44, "Stefano Stabellini" wrote: On Wed, 26 Jun 2019, Rich Persaud wrote: > > On Jun 26, 2019, at 06:45, Lars Kurth wrote: > > > > > > > > On 25/06/2019, 21:27, "Rich Persaud" wrote: > > > >> On Jun 25, 2019, at 16:17, Julien Grall

Re: [Xen-devel] [PATCH 16/17] xen/arm64: head: Rework and document launch()

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > Boot CPU and secondary CPUs will use different entry point to C code. At > the moment, the decision on which entry to use is taken within launch(). > > In order to avoid a branch for the decision and make the code clearer, > launch() is reworked to take

[Xen-devel] [PATCH] x86/vvmx: set CR4 before CR0

2019-06-26 Thread Andrew Cooper
From: Sergey Dyasli Otherwise hvm_set_cr0() will check the wrong CR4 bits (L1 instead of L2 and vice-versa). Signed-off-by: Sergey Dyasli Reviewed-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monné CC: Jun Nakajima CC: Kevin Tian I found this patch languishing in the

Re: [Xen-devel] [PATCH 15/17] xen/arm64: head: Rework and document setup_fixmap()

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > At the moment, the fixmap table is only hooked when earlyprintk is used. > This is fine today because in C land, the fixmap is not used by anyone > until the the boot CPU is switching to the runtime page-tables. > > In the future, the boot CPU will not

Re: [Xen-devel] [PATCH 15/17] xen/arm64: head: Rework and document setup_fixmap()

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > At the moment, the fixmap table is only hooked when earlyprintk is used. > This is fine today because in C land, the fixmap is not used by anyone > until the the boot CPU is switching to the runtime page-tables. > > In the future, the boot CPU will not

Re: [Xen-devel] [PATCH 13/17] xen/arm64: head: Don't setup the fixmap on secondary CPUs

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > setup_fixmap() will setup the fixmap in the boot page tables in order to > use earlyprintk and also update the register x23 holding the address to > the UART. > > However, secondary CPUs are switching to the runtime page tables before > using the

[Xen-devel] [xen-unstable-smoke test] 138560: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138560 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138560/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH 02/17] xen/arm64: head: Don't clobber x30/lr in the macro PRINT

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Julien Grall wrote: > Hi Stefano, > > On 26/06/2019 16:27, Stefano Stabellini wrote: > > On Wed, 26 Jun 2019, Julien Grall wrote: > > > Hi Stefano, > > > > > > On 26/06/2019 00:59, Stefano Stabellini wrote: > > > > On Tue, 25 Jun 2019, Stefano Stabellini wrote: > > > > > On

Re: [Xen-devel] [PATCH] xen-block: support feature-large-sector-size

2019-06-26 Thread Max Reitz
On 26.06.19 19:19, Anthony PERARD wrote: > On Wed, Jun 26, 2019 at 06:48:50PM +0200, Max Reitz wrote: >> On 09.04.19 18:40, Paul Durrant wrote: >>> A recent Xen commit [1] clarified the semantics of sector based quantities >>> used in the blkif protocol such that it is now safe to create a

Re: [Xen-devel] Xen Project Community Call June 27th (instead of July 4th): @15:00 UTC Call for agenda items

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Rich Persaud wrote: > > On Jun 26, 2019, at 06:45, Lars Kurth wrote: > > > > > > > > On 25/06/2019, 21:27, "Rich Persaud" wrote: > > > >> On Jun 25, 2019, at 16:17, Julien Grall wrote: > >> > >> Hi Rich, > >> > >> On 6/25/19 8:38 PM, Rich Persaud wrote: > On Jun

[Xen-devel] [PATCH] xen/Kconfig: Fix -Wformat-security when compiling with Clang

2019-06-26 Thread Andrew Cooper
Clang observes: tools/kconfig/conf.c:77:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(_("aborted!\n\n")); ^ And it is absolutely correct. gettext() can easily return a string with

[Xen-devel] [xen-unstable-smoke test] 138559: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138559 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138559/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH] xen-block: support feature-large-sector-size

2019-06-26 Thread Anthony PERARD
On Wed, Jun 26, 2019 at 06:48:50PM +0200, Max Reitz wrote: > On 09.04.19 18:40, Paul Durrant wrote: > > A recent Xen commit [1] clarified the semantics of sector based quantities > > used in the blkif protocol such that it is now safe to create a xen-block > > device with a logical_block_size !=

Re: [Xen-devel] [PATCH] xen-block: support feature-large-sector-size

2019-06-26 Thread Max Reitz
On 09.04.19 18:40, Paul Durrant wrote: > A recent Xen commit [1] clarified the semantics of sector based quantities > used in the blkif protocol such that it is now safe to create a xen-block > device with a logical_block_size != 512, as long as the device only > connects to a frontend advertizing

[Xen-devel] [qemu-mainline test] 138457: regressions - FAIL

2019-06-26 Thread osstest service owner
flight 138457 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/138457/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 137600 build-amd64-xsm

[Xen-devel] [xen-unstable-smoke test] 138557: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138557 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138557/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH] golang/xenlight: Add libxl_utils support

2019-06-26 Thread Wei Liu
CC George On Wed, Jun 26, 2019 at 12:27:32PM +0200, Nicolas Belouin wrote: > The Go bindings for libxl miss functions from libxl_utils, lets start > with the simple libxl_domid_to_name and its counterpart > libxl_name_to_domid. > > Signed-off-by: Nicolas Belouin > --- >

Re: [Xen-devel] [PATCH 4/5] kconfig: disable non-literal format string warnings

2019-06-26 Thread Andrew Cooper
On 26/06/2019 16:20, Roger Pau Monné wrote: > On Wed, Jun 26, 2019 at 08:45:27AM -0600, Jan Beulich wrote: > On 26.06.19 at 15:55, wrote: >>> Kconfig makes heavy use of non-literals as format strings, disable >>> compiler warnings since this is expected usage. >> I've never seen any with any

Re: [Xen-devel] xen/arm dts: Check "reg" property length in process_multiboot_node

2019-06-26 Thread Viktor Mitin
Hi Julien, Thank you for information provided. Per the binding, domU1 node should contain the properties #address-cells and #size-cells. Adding xen-devel to CC. Thanks On Wed, Jun 26, 2019 at 6:42 PM Julien Grall wrote: > > > > On 26/06/2019 16:21, Viktor Mitin wrote: > > Hi All, > > Hi, > >

Re: [Xen-devel] Xen Project Community Call June 27th (instead of July 4th): @15:00 UTC Call for agenda items

2019-06-26 Thread Rich Persaud
> On Jun 26, 2019, at 06:45, Lars Kurth wrote: > > > > On 25/06/2019, 21:27, "Rich Persaud" wrote: > >> On Jun 25, 2019, at 16:17, Julien Grall wrote: >> >> Hi Rich, >> >> On 6/25/19 8:38 PM, Rich Persaud wrote: On Jun 25, 2019, at 12:36, Lars Kurth wrote: Hi all:

Re: [Xen-devel] [PATCH 02/17] xen/arm64: head: Don't clobber x30/lr in the macro PRINT

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 16:27, Stefano Stabellini wrote: On Wed, 26 Jun 2019, Julien Grall wrote: Hi Stefano, On 26/06/2019 00:59, Stefano Stabellini wrote: On Tue, 25 Jun 2019, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: The current implementation of the macro

Re: [Xen-devel] [PATCH 02/17] xen/arm64: head: Don't clobber x30/lr in the macro PRINT

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Julien Grall wrote: > Hi Stefano, > > On 26/06/2019 00:59, Stefano Stabellini wrote: > > On Tue, 25 Jun 2019, Stefano Stabellini wrote: > > > On Mon, 10 Jun 2019, Julien Grall wrote: > > > > > The current implementation of the macro PRINT will clobber x30/lr. > > > > > This

Re: [Xen-devel] [PATCH 4/5] kconfig: disable non-literal format string warnings

2019-06-26 Thread Roger Pau Monné
On Wed, Jun 26, 2019 at 08:45:27AM -0600, Jan Beulich wrote: > >>> On 26.06.19 at 15:55, wrote: > > Kconfig makes heavy use of non-literals as format strings, disable > > compiler warnings since this is expected usage. > > I've never seen any with any version of gcc - are there more > aspects to

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Juergen Gross wrote: > On 26.06.19 14:21, Chao Gao wrote: > > On Wed, Jun 26, 2019 at 08:17:50AM +0200, Juergen Gross wrote: > > > On 24.06.19 20:47, Stefano Stabellini wrote: > > > > + xen-devel > > > > > > > > On Mon, 24 Jun 2019, Stefano Stabellini wrote: > > > > > Hi all,

[Xen-devel] [xen-unstable-smoke test] 138555: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138555 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138555/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-4.6-testing test] 138426: regressions - FAIL

2019-06-26 Thread osstest service owner
flight 138426 xen-4.6-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/138426/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-migrupgrade 22 guest-migrate/src_host/dst_host fail REGR. vs. 127792

Re: [Xen-devel] [PATCH 4/5] kconfig: disable non-literal format string warnings

2019-06-26 Thread Jan Beulich
>>> On 26.06.19 at 15:55, wrote: > Kconfig makes heavy use of non-literals as format strings, disable > compiler warnings since this is expected usage. I've never seen any with any version of gcc - are there more aspects to be mentioned here? > Signed-off-by: Roger Pau Monné > --- > Cc: Doug

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Juergen Gross
On 26.06.19 16:34, Chao Gao wrote: On Wed, Jun 26, 2019 at 03:36:35PM +0200, Juergen Gross wrote: On 26.06.19 14:21, Chao Gao wrote: On Wed, Jun 26, 2019 at 08:17:50AM +0200, Juergen Gross wrote: On 24.06.19 20:47, Stefano Stabellini wrote: + xen-devel On Mon, 24 Jun 2019, Stefano

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Chao Gao
On Wed, Jun 26, 2019 at 03:36:35PM +0200, Juergen Gross wrote: >On 26.06.19 14:21, Chao Gao wrote: >>On Wed, Jun 26, 2019 at 08:17:50AM +0200, Juergen Gross wrote: >>>On 24.06.19 20:47, Stefano Stabellini wrote: + xen-devel On Mon, 24 Jun 2019, Stefano Stabellini wrote: >Hi all,

[Xen-devel] [xen-unstable-smoke test] 138550: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138550 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138550/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] Xen Project Community Call Sign-up-sheet for future calls

2019-06-26 Thread Lars Kurth
Hi all, I have been using a probably a fairly old list of people to CC on mail related to community calls. If you received this mail and don’t want to be on the CC list, please remove your name and e-mail address from the list in https://cryptpad.fr/pad/#/2/pad/edit/D9vGzihPxxAOe6RFPz0sRCf+/

[Xen-devel] [PATCH 2/5] kconfig: don't pass ARCH and SRCARCH on the sub-make call

2019-06-26 Thread Roger Pau Monne
and instead export them from the top-level Xen makefile. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Wei Liu --- xen/Makefile | 10 +-

[Xen-devel] [PATCH 4/5] kconfig: disable non-literal format string warnings

2019-06-26 Thread Roger Pau Monne
Kconfig makes heavy use of non-literals as format strings, disable compiler warnings since this is expected usage. Signed-off-by: Roger Pau Monné --- Cc: Doug Goldstein --- xen/tools/kconfig/Makefile.kconfig | 5 + 1 file changed, 5 insertions(+) diff --git

[Xen-devel] [PATCH 1/5] make: simplify setting HOST{CC/CXX}

2019-06-26 Thread Roger Pau Monne
Infer the values of HOST{CC/CXX} from CC/CXX if unset, do this in StdGNU.mk, together with the rest of the toolchain variables. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano

[Xen-devel] [PATCH 0/5] build improvements/fixes after b41666f2c1

2019-06-26 Thread Roger Pau Monne
Hello, The following fixes arise from the travis-ci fallout caused by b41666f2c1 ('config: don't hardcode toolchain binaries'). First patches aim to simplify and group together the place where toolchain binaries to be used by the build system. Last patch changes the travis-ci build script to

[Xen-devel] [PATCH 5/5] travis: pass a correct CC/CXX if CROSS_COMPILE is defined

2019-06-26 Thread Roger Pau Monne
After b41666f2c1 Xen no longer overwrites the names of the build toolchain utilities required during the build process, and instead uses the values from the environment. In that case, if the user wants to define CC or other variables to point to specific toolchain utilities to use it must also

[Xen-devel] [PATCH 3/5] kconfig: include default toolchain values

2019-06-26 Thread Roger Pau Monne
Include config/$(OS).mk which contains the default values for the toolchain variables. This removes the need to pass HOST{CC/CXX} as parameters from the high level make target. Signed-off-by: Roger Pau Monné --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien

Re: [Xen-devel] [PATCH v2 4/7] Revert "xen: Introduce 'xen_nopv' to disable PV extensions for HVM guests."

2019-06-26 Thread Thomas Gleixner
On Wed, 26 Jun 2019, Juergen Gross wrote: > On 24.06.19 14:02, Zhenzhong Duan wrote: > > This reverts commit 8d693b911bb9c57009c24cb1772d205b84c7985c. > > > > Instead we use an unified parameter 'nopv' for all the hypervisor > > platforms. > > > > Signed-off-by: Zhenzhong Duan > > Cc: Boris

[Xen-devel] [PATCH] libxl: fix pci device re-assigning after domain reboot

2019-06-26 Thread Juergen Gross
After a reboot of a guest only the first pci device configuration will be retrieved from Xenstore resulting in loss of any further assigned passed through pci devices. The main reason is that all passed through pci devices reside under a common root device "0" in Xenstore. So when the device list

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Juergen Gross
On 26.06.19 14:21, Chao Gao wrote: On Wed, Jun 26, 2019 at 08:17:50AM +0200, Juergen Gross wrote: On 24.06.19 20:47, Stefano Stabellini wrote: + xen-devel On Mon, 24 Jun 2019, Stefano Stabellini wrote: Hi all, I might have found a bug with PCI passthrough to a Linux HVM guest on x86 with

Re: [Xen-devel] [PATCH v2] AMD/IOMMU: don't "add" IOMMUs

2019-06-26 Thread Andrew Cooper
On 04/06/2019 13:15, Jan Beulich wrote: > For find_iommu_for_device() to consistently (independent of ACPI tables) > return NULL for the PCI devices corresponding to IOMMUs, make sure > IOMMUs don't get mapped to themselves by ivrs_mappings[]. > > While amd_iommu_add_device() won't be called for

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Chao Gao
On Wed, Jun 26, 2019 at 08:17:50AM +0200, Juergen Gross wrote: >On 24.06.19 20:47, Stefano Stabellini wrote: >>+ xen-devel >> >>On Mon, 24 Jun 2019, Stefano Stabellini wrote: >>>Hi all, >>> >>>I might have found a bug with PCI passthrough to a Linux HVM guest on >>>x86 with Xen 4.12. It is not

[Xen-devel] [xen-unstable-smoke test] 138547: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138547 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138547/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [linux-next test] 138418: tolerable FAIL

2019-06-26 Thread osstest service owner
flight 138418 linux-next real [real] http://logs.test-lab.xenproject.org/osstest/logs/138418/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 1 build-check(1) blocked n/a test-armhf-armhf-xl-arndale 1

Re: [Xen-devel] [PATCH] xen/public: arch-arm: Use xen_mk_ullong instead of suffixing value with ULL

2019-06-26 Thread Alexandru Stefan ISAILA
Looks good to me > There are a few places in include/public/arch-arm.h that are still > suffixing immediate with ULL instead of using xen_mk_ullong. > > The latter allows a consumer to easily tweak the header if ULL is not > supported. > > So switch the remaining users of ULL to xen_mk_ullong.

Re: [Xen-devel] [PATCH 11/17] xen/arm64: head: Document enable_mmu()

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 02:03, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: Document the behavior and the main registers usage within enable_mmu(). Signed-off-by: Julien Grall --- xen/arch/arm/arm64/head.S | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [Xen-devel] [PATCH 10/17] xen/arm64: head: Improve coding style and document create_pages_tables()

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 02:03, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: Adjust the coding style used in the comments within create_pages_tables() Lastly, document the behavior and the main registers usage within the function. Note that x25 is now only used within

Re: [Xen-devel] [PATCH] xen/public: arch-arm: Use xen_mk_ullong instead of suffixing value with ULL

2019-06-26 Thread Julien Grall
Hi, Gentle ping. Cheers, On 03/06/2019 17:08, Julien Grall wrote: There are a few places in include/public/arch-arm.h that are still suffixing immediate with ULL instead of using xen_mk_ullong. The latter allows a consumer to easily tweak the header if ULL is not supported. So switch the

[Xen-devel] [OSSTEST PATCH] starvation: Do not give up if there are other jobs running

2019-06-26 Thread Ian Jackson
We want those other jobs to finish so that we can include the time they took, and the fact that they completed, in our calculations. Signed-off-by: Ian Jackson --- ts-hosts-allocate-Executive | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

Re: [Xen-devel] Xen Project Community Call June 27th (instead of July 4th): @15:00 UTC Call for agenda items

2019-06-26 Thread Lars Kurth
On 25/06/2019, 21:27, "Rich Persaud" wrote: > On Jun 25, 2019, at 16:17, Julien Grall wrote: > > Hi Rich, > > On 6/25/19 8:38 PM, Rich Persaud wrote: >>> On Jun 25, 2019, at 12:36, Lars Kurth wrote: >>> >>> Hi all: >>> please add your agenda items. I

Re: [Xen-devel] [PATCH v3] xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regs

2019-06-26 Thread Julien Grall
Hi, It looks like I forgot to CC Stefano on this one. Cheers, On 06/06/2019 18:10, Julien Grall wrote: Currently, the structure vcpu_guest_core_regs is part of the public API. This implies that any change in the structure should be backward compatible. However, the structure is only needed

Re: [Xen-devel] [PATCH v2] xen/arm: irq: Don't use _IRQ_PENDING when handling host interrupt

2019-06-26 Thread Julien Grall
Gentle ping. Cheers, On 02/06/2019 11:26, Julien Grall wrote: While SPIs are shared between CPU, it is not possible to receive the same interrupts on a different CPU while the interrupt is in active state. For host interrupt (i.e routed to Xen), the deactivation of the interrupt is done at

Re: [Xen-devel] [PATCH 09/17] xen/arm64: head: Improve coding style and document cpu_init()

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 02:01, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: Adjust the coding style used in the comments within cpu_init(). Take the opportunity to alter the early print to match the function name. Lastly, document the behavior and the main registers

[Xen-devel] [PATCH V1] iommu/arm: Add Renesas IPMMU-VMSA support

2019-06-26 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko The purpose of this patch is to add IPMMU-VMSA support to Xen on ARM. The IPMMU-VMSA is VMSA-compatible I/O Memory Management Unit (IOMMU) which provides address translation and access protection functionalities to processing units and interconnect networks. Please

[Xen-devel] [PATCH] golang/xenlight: Add libxl_utils support

2019-06-26 Thread Nicolas Belouin
The Go bindings for libxl miss functions from libxl_utils, lets start with the simple libxl_domid_to_name and its counterpart libxl_name_to_domid. Signed-off-by: Nicolas Belouin --- tools/golang/xenlight/xenlight_utils.go | 61 + 1 file changed, 61 insertions(+) create

[Xen-devel] [xen-unstable-smoke test] 138542: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138542 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138542/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [PATCH V1] iommu/arm: Add Renesas IPMMU-VMSA support

2019-06-26 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko The IPMMU-VMSA is VMSA-compatible I/O Memory Management Unit (IOMMU) which provides address translation and access protection functionalities to processing units and interconnect networks. Please note, current driver is supposed to work only with newest Gen3 SoCs

[Xen-devel] [xen-unstable-coverity test] 138539: all pass - PUSHED

2019-06-26 Thread osstest service owner
flight 138539 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/138539/ Perfect :-) All tests in this flight passed as required version targeted for testing: xen 85fd4f7a09d8aaa783932b8c15b80ddaff0a174d baseline version: xen

Re: [Xen-devel] [xen-4.6-testing test] 138333: regressions - FAIL

2019-06-26 Thread Ian Jackson
Jan Beulich writes ("Re: [xen-4.6-testing test] 138333: regressions - FAIL"): > On 25.06.19 at 17:53, wrote: > > Indeed, precisely. Are happy with me doing a force push now ? > > I think so, yes. Now done. I have un-stopped 4.6 and 4.7. (I don't expect 4.6 to do anything.) Ian.

Re: [Xen-devel] [PATCH v2 4/7] Revert "xen: Introduce 'xen_nopv' to disable PV extensions for HVM guests."

2019-06-26 Thread Juergen Gross
On 24.06.19 14:02, Zhenzhong Duan wrote: This reverts commit 8d693b911bb9c57009c24cb1772d205b84c7985c. Instead we use an unified parameter 'nopv' for all the hypervisor platforms. Signed-off-by: Zhenzhong Duan Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: Thomas Gleixner

Re: [Xen-devel] [PATCH v2 3/7] x86: Add nopv parameter to disable PV extensions

2019-06-26 Thread Juergen Gross
On 24.06.19 14:02, Zhenzhong Duan wrote: In virtualization environment, PV extensions (drivers, interrupts, timers, etc) are enabled in the majority of use cases which is the best option. However, in some cases (kexec not fully working, benchmarking) we want to disable PV extensions. As such

[Xen-devel] [xen-unstable-smoke test] 138538: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138538 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138538/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

Re: [Xen-devel] [PATCH 08/17] xen/arm64: head: Rework and document zero_bss()

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 02:01, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: On secondary CPUs, zero_bss() will be a NOP because BSS only need to be zeroed once at boot. So the call in the secondary CPUs path can be removed. It also means that x26 does not need to set

Re: [Xen-devel] [PATCH 06/17] xen/arm64: head: Introduce distinct paths for the boot CPU and secondary CPUs

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 02:00, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: The boot code is currently quite difficult to go through because of the lack of documentation and a number of indirection to avoid executing some path in either the boot CPU or secondary CPUs.

Re: [Xen-devel] [PATCH 05/17] xen/arm64: head: Introduce print_reg

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 01:09, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: At the moment, the user should save x30/lr if it cares about it. Follow-up patches will introduce more use of putn in place where lr should be preserved. Furthermore, any user of putn should

Re: [Xen-devel] [PATCH 04/17] xen/arm64: head: Don't "reserve" x24 for the CPUID

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 01:01, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: After the recent rework, the CPUID is only used at the very beginning of the secondary CPUs boot path. So there is no need to "reserve" x24 for he CPUID. If you are going to resend the series

Re: [Xen-devel] [PATCH 02/17] xen/arm64: head: Don't clobber x30/lr in the macro PRINT

2019-06-26 Thread Julien Grall
Hi Stefano, On 26/06/2019 00:59, Stefano Stabellini wrote: On Tue, 25 Jun 2019, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: The current implementation of the macro PRINT will clobber x30/lr. This means the user should save lr if it cares about it. By x30/lr, do you

Re: [Xen-devel] [PATCH v2 5/7] x86/xen: nopv parameter support for HVM guest

2019-06-26 Thread Juergen Gross
On 26.06.19 10:56, Zhenzhong Duan wrote: On 2019/6/25 20:31, Juergen Gross wrote: On 24.06.19 14:02, Zhenzhong Duan wrote: PVH guest needs PV extentions to work, so nopv parameter is ignored for PVH but not for HVM guest. In order for nopv parameter to take effect for HVM guest, we need to

Re: [Xen-devel] [PATCH v2 5/7] x86/xen: nopv parameter support for HVM guest

2019-06-26 Thread Zhenzhong Duan
On 2019/6/25 20:31, Juergen Gross wrote: On 24.06.19 14:02, Zhenzhong Duan wrote: PVH guest needs PV extentions to work, so nopv parameter is ignored for PVH but not for HVM guest. In order for nopv parameter to take effect for HVM guest, we need to distinguish between PVH and HVM guest early

Re: [Xen-devel] [xen-4.6-testing test] 138333: regressions - FAIL

2019-06-26 Thread Jan Beulich
>>> On 25.06.19 at 17:53, wrote: > Jan Beulich writes ("Re: [xen-4.6-testing test] 138333: regressions - FAIL"): >> I've taken a look. The guests now triple fault during BIOS initialization: > > Thanks. Hrm. > >> I wouldn't be surprised if the rombios build is broken - did you happen >> to

[Xen-devel] [xen-unstable-smoke test] 138537: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138537 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138537/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-unstable-smoke test] 138531: regressions - trouble: blocked/fail

2019-06-26 Thread osstest service owner
flight 138531 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/138531/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 138424

[Xen-devel] [xen-4.7-testing test] 138414: regressions - FAIL

2019-06-26 Thread osstest service owner
flight 138414 xen-4.7-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/138414/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-prev 6 xen-buildfail REGR. vs. 133596

Re: [Xen-devel] PCI Passthrough bug with x86 HVM

2019-06-26 Thread Juergen Gross
On 24.06.19 20:47, Stefano Stabellini wrote: + xen-devel On Mon, 24 Jun 2019, Stefano Stabellini wrote: Hi all, I might have found a bug with PCI passthrough to a Linux HVM guest on x86 with Xen 4.12. It is not easy for me to get access, and especially change components, on this particular