[linux-linus test] 149786: regressions - FAIL

2020-04-24 Thread osstest service owner
flight 149786 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/149786/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-dmrestrict-amd64-dmrestrict 12 guest-start/debianhvm.repeat fail REGR.

[xen-unstable-smoke test] 149797: regressions - FAIL

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

[xen-unstable-smoke test] 149791: regressions - FAIL

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

[xen-unstable test] 149783: tolerable FAIL

2020-04-24 Thread osstest service owner
flight 149783 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/149783/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-examine 4 memdisk-try-append fail pass in 149771 Tests which did not succeed,

Re: arm: DomU Networking enable leads to Dom0 kernel oops

2020-04-24 Thread Julien Grall
On Fri, 24 Apr 2020 at 21:29, Andrei Cherechesu wrote: > > Hello, Hi, Please don't post using HTML and instead configure your client to use plain text. > Do you have any idea why this occurs? Have I misconfigured anything? OOPS should never occur because something has been misconfigured. The

Re: Golang Xen packages and the golang packaging system

2020-04-24 Thread Nick Rosbrook
On Fri, Apr 24, 2020 at 7:26 AM George Dunlap wrote: > > > > > On Apr 24, 2020, at 5:04 AM, Nick Rosbrook wrote: > > > > On Thu, Apr 23, 2020 at 1:22 PM George Dunlap > > wrote: > >> > >> > >>> On Apr 23, 2020, at 12:49 PM, George Dunlap > >>> wrote: > >>> > >>> > >>> > On Apr 23, 2020,

Re: [libvirt test] 149773: regressions - FAIL

2020-04-24 Thread Jim Fehlig
On 4/24/20 3:53 AM, osstest service owner wrote: flight 149773 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/149773/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-build

arm: DomU Networking enable leads to Dom0 kernel oops

2020-04-24 Thread Andrei Cherechesu
Hello, Recently I've been trying to enable the networking in a conventional DomU (not dom0less). The approach I used was the one described here: https://wiki.xen.org/wiki/Xen_Networking#Bridging. But when I use xl to create DomU, I get a Kernel OOPS in Dom0. The setup is still responsive

Re: [[PATCH v3]] xen/guest_access: Harden *copy_to_guest_offset() to prevent const dest operand

2020-04-24 Thread Stefano Stabellini
On Fri, 17 Apr 2020, Julien Grall wrote: > On 16/04/2020 13:19, Jan Beulich wrote: > > On 16.04.2020 13:24, Julien Grall wrote: > > > From: Julien Grall > > > > > > At the moment, *copy_to_guest_offset() will allow the hypervisor to copy > > > data to guest handle marked const. > > > > > >

[xen-unstable-smoke test] 149785: regressions - FAIL

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

[linux-linus test] 149772: tolerable trouble: fail/pass/starved - PUSHED

2020-04-24 Thread osstest service owner
flight 149772 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/149772/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-rtds 16 guest-localmigrate fail like 149764 test-amd64-amd64-xl-qemut-win7-amd64

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Jürgen Groß
On 24.04.20 18:20, Paul Durrant wrote: -Original Message- From: Julien Grall Sent: 24 April 2020 17:04 To: Jürgen Groß ; Paul Durrant ; xen-devel@lists.xenproject.org Cc: Paul Durrant Subject: Re: [PATCH] docs/designs: re-work the xenstore migration document... Hi, On 24/04/2020

RE: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Paul Durrant
> -Original Message- > From: Julien Grall > Sent: 24 April 2020 17:04 > To: Jürgen Groß ; Paul Durrant ; > xen-devel@lists.xenproject.org > Cc: Paul Durrant > Subject: Re: [PATCH] docs/designs: re-work the xenstore migration document... > > Hi, > > On 24/04/2020 16:59, Jürgen Groß

RE: [ANNOUNCE] Xen 4.14 Development Update

2020-04-24 Thread Durrant, Paul
> -Original Message- > > > * VM forking (v11) > > - Tamas K Lengyel > > v17 sent recently, hypervisor side is completely merged, only the > toolstack patch is waiting for review & merge > Thanks for the update. Paul

Re: [XEN PATCH] xen/build: silence make warnings about missing auto.conf*

2020-04-24 Thread Jan Beulich
On 24.04.2020 16:30, Anthony PERARD wrote: > In a clean tree, both files include/config/auto.conf{,.cmd} are > missing and older version of GNU Make complain about it: > Makefile:103: include/config/auto.conf: No such file or directory > Makefile:106: include/config/auto.conf.cmd: No such

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Julien Grall
Hi, On 24/04/2020 16:59, Jürgen Groß wrote: On 24.04.20 17:44, Julien Grall wrote: If I extend the record and do a downgrade I'm losing the information, too, as the old version won't read it in any case. BTW, extending the record is no problem, as the length is stored in the header. Unknown

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Jürgen Groß
On 24.04.20 17:44, Julien Grall wrote: On 24/04/2020 15:51, Jürgen Groß wrote: On 24.04.20 16:38, Julien Grall wrote: Hi, On 24/04/2020 15:26, Jürgen Groß wrote: +``` +    0   1   2   3   4   5   6   7 octet

Re: [ANNOUNCE] Xen 4.14 Development Update

2020-04-24 Thread Tamas K Lengyel
> * VM forking (v11) > - Tamas K Lengyel v17 sent recently, hypervisor side is completely merged, only the toolstack patch is waiting for review & merge Tamas

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Julien Grall
On 24/04/2020 15:51, Jürgen Groß wrote: On 24.04.20 16:38, Julien Grall wrote: Hi, On 24/04/2020 15:26, Jürgen Groß wrote: +``` +    0   1   2   3   4   5   6   7    octet ++---+---+---+---+---+---+---+---+ +| type 

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Jürgen Groß
On 24.04.20 16:38, Julien Grall wrote: Hi, On 24/04/2020 15:26, Jürgen Groß wrote: +``` +    0   1   2   3   4   5   6   7    octet ++---+---+---+---+---+---+---+---+ +| type  | len   |

Re: [PATCH 0/3] Cleanup IOREQ server on exit

2020-04-24 Thread Ian Jackson
Maximilian Heyne writes ("Re: [PATCH 0/3] Cleanup IOREQ server on exit"): > Could someone please have a look at this patch? It solves an actual issue: > Try soft-reset with qemu-xen-traditional and it will fail. Thanks. I reviewed this. qemu is in deep freeze but the changes looked correct and

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Julien Grall
Hi, On 24/04/2020 15:26, Jürgen Groß wrote: +``` +    0   1   2   3   4   5   6   7    octet ++---+---+---+---+---+---+---+---+ +| type  | len   |

[XEN PATCH] xen/build: silence make warnings about missing auto.conf*

2020-04-24 Thread Anthony PERARD
In a clean tree, both files include/config/auto.conf{,.cmd} are missing and older version of GNU Make complain about it: Makefile:103: include/config/auto.conf: No such file or directory Makefile:106: include/config/auto.conf.cmd: No such file or directory Those warnings are harmless,

Re: [PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Jürgen Groß
On 24.04.20 15:37, Paul Durrant wrote: From: Paul Durrant ... to specify a separate migration stream that will also be suitable for live update. The original scope of the document was to support non-cooperative migration of guests [1] but, since then, live update of xenstored has been brought

[PATCH v6 15/15] x86/mm: drop _new suffix for page table APIs

2020-04-24 Thread Hongyan Xia
From: Wei Liu No functional change. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/mm.c| 48 xen/arch/x86/smpboot.c | 12 +- xen/arch/x86/x86_64/mm.c | 10 - xen/common/efi/boot.c| 10 -

[PATCH v6 10/15] efi: switch to new APIs in EFI code

2020-04-24 Thread Hongyan Xia
From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/efi/runtime.h | 10 +++-- xen/common/efi/boot.c | 46 ++ xen/common/efi/efi.h | 3 ++- xen/common/efi/runtime.c | 8 +++ 4 files changed, 46

[PATCH v6 13/15] x86/mm: drop old page table APIs

2020-04-24 Thread Hongyan Xia
From: Hongyan Xia Two sets of old APIs, alloc/free_xen_pagetable() and lXe_to_lYe(), are now dropped to avoid the dependency on direct map. There are two special cases which still have not been re-written into the new APIs, thus need special treatment: rpt in smpboot.c cannot use ephemeral

[PATCH v6 14/15] x86: switch to use domheap page for page tables

2020-04-24 Thread Hongyan Xia
From: Hongyan Xia Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/mm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index 749b6f23e5..7e212cc3e0 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@

[PATCH v6 11/15] x86/smpboot: clone_mapping should have one exit path

2020-04-24 Thread Hongyan Xia
From: Wei Liu We will soon need to clean up page table mappings in the exit path. No functional change. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/smpboot.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/smpboot.c

[PATCH v6 12/15] x86/smpboot: switch pl*e to use new APIs in clone_mapping

2020-04-24 Thread Hongyan Xia
From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/smpboot.c | 54 +++--- 1 file changed, 35 insertions(+), 19 deletions(-) diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index 5b0e24f925..0e0ae56c76 100644 ---

[PATCH v6 02/15] x86/mm: make sure there is one exit path for modify_xen_mappings

2020-04-24 Thread Hongyan Xia
From: Wei Liu We will soon need to handle dynamically mapping / unmapping page tables in the said function. Since dynamic mappings may map and unmap pl3e in different iterations, lift pl3e out of the loop. No functional change. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- Changed

[PATCH v6 09/15] efi: use new page table APIs in copy_mapping

2020-04-24 Thread Hongyan Xia
From: Wei Liu After inspection ARM doesn't have alloc_xen_pagetable so this function is x86 only, which means it is safe for us to change. Signed-off-by: Wei Liu --- xen/common/efi/boot.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/xen/common/efi/boot.c

[PATCH v6 05/15] x86/mm: switch to new APIs in modify_xen_mappings

2020-04-24 Thread Hongyan Xia
From: Wei Liu Page tables allocated in that function should be mapped and unmapped now. Note that pl2e now maybe mapped and unmapped in different iterations, so we need to add clean-ups for that. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/mm.c | 57

[PATCH v6 08/15] x86_64/mm: switch to new APIs in setup_m2p_table

2020-04-24 Thread Hongyan Xia
From: Wei Liu Also reduce the scope of l2_ro_mpt as it is only used inside the loop, and remove two lines of l2_ro_mpt check which serve no purpose. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/x86_64/mm.c | 24 +--- 1 file changed, 13 insertions(+),

[PATCH v6 00/15] switch to domheap for Xen page tables

2020-04-24 Thread Hongyan Xia
From: Hongyan Xia This series rewrites all the remaining functions and finally makes the switch from xenheap to domheap for Xen page tables, so that they no longer need to rely on the direct map, which is a big step towards removing the direct map. This series depends on the following two

[PATCH v6 04/15] x86/mm: switch to new APIs in map_pages_to_xen

2020-04-24 Thread Hongyan Xia
From: Wei Liu Page tables allocated in that function should be mapped and unmapped now. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/mm.c | 60 --- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git

[PATCH v6 06/15] x86_64/mm: introduce pl2e in paging_init

2020-04-24 Thread Hongyan Xia
From: Wei Liu Introduce pl2e so that we can use l2_ro_mpt to point to the page table itself. No functional change. Signed-off-by: Wei Liu --- xen/arch/x86/x86_64/mm.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/x86_64/mm.c

[PATCH v6 03/15] x86/mm: rewrite virt_to_xen_l*e

2020-04-24 Thread Hongyan Xia
From: Wei Liu Rewrite those functions to use the new APIs. Modify its callers to unmap the pointer returned. Note that the change of virt_to_xen_l1e() also requires vmap_to_mfn() to unmap the page, which requires domain_page.h header in vmap. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia

[PATCH v6 07/15] x86_64/mm: switch to new APIs in paging_init

2020-04-24 Thread Hongyan Xia
From: Wei Liu Map and unmap pages instead of relying on the direct map. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/x86_64/mm.c | 43 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/xen/arch/x86/x86_64/mm.c

[PATCH v6 01/15] x86/mm: map_pages_to_xen would better have one exit path

2020-04-24 Thread Hongyan Xia
From: Wei Liu We will soon rewrite the function to handle dynamically mapping and unmapping of page tables. Since dynamic mappings may map and unmap pages in different iterations of the while loop, we need to lift pl3e out of the loop. No functional change. Signed-off-by: Wei Liu

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Anthony PERARD
On Fri, Apr 24, 2020 at 02:30:56PM +0100, Anthony PERARD wrote: > On Fri, Apr 24, 2020 at 03:01:32PM +0200, Jan Beulich wrote: > > While committing this, in my pre-push build test I noticed that > > presumably an earlier change of yours has caused > > > > Makefile:103: include/config/auto.conf:

[xen-unstable test] 149771: tolerable trouble: fail/pass/starved - PUSHED

2020-04-24 Thread osstest service owner
flight 149771 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/149771/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-rtds 18 guest-localmigrate/x10 fail like 149741 test-amd64-i386-xl-qemut-win7-amd64

[examine test] 149782: tolerable trouble: pass/starved

2020-04-24 Thread osstest service owner
flight 149782 examine real [real] http://logs.test-lab.xenproject.org/osstest/logs/149782/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: examine-albana1 4 memdisk-try-append fail blocked in 149768 examine-albana0 4

[PATCH] docs/designs: re-work the xenstore migration document...

2020-04-24 Thread Paul Durrant
From: Paul Durrant ... to specify a separate migration stream that will also be suitable for live update. The original scope of the document was to support non-cooperative migration of guests [1] but, since then, live update of xenstored has been brought into scope. Thus it makes more sense to

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Anthony PERARD
On Fri, Apr 24, 2020 at 03:01:32PM +0200, Jan Beulich wrote: > While committing this, in my pre-push build test I noticed that > presumably an earlier change of yours has caused > > Makefile:103: include/config/auto.conf: No such file or directory > Makefile:106: include/config/auto.conf.cmd: No

Re: [PATCH v17 2/2] xen/tools: VM forking toolstack side

2020-04-24 Thread Jan Beulich
On 23.04.2020 17:30, Tamas K Lengyel wrote: > Add necessary bits to implement "xl fork-vm" commands. The command allows the > user to specify how to launch the device model allowing for a late-launch > model > in which the user can execute the fork without the device model and decide to > only

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Jan Beulich
On 21.04.2020 18:11, Anthony PERARD wrote: > Instead of generating the CFLAGS in Rules.mk everytime we enter a new > subdirectory, we are going to generate most of them a single time, and > export the result in the environment so that Rules.mk can use it. The > only flags left to be generated are

Re: [PATCH v17 1/2] mem_sharing: fix sharability check during fork reset

2020-04-24 Thread Roger Pau Monné
On Fri, Apr 24, 2020 at 06:18:24AM -0600, Tamas K Lengyel wrote: > On Fri, Apr 24, 2020 at 3:44 AM Roger Pau Monné wrote: > > > > On Thu, Apr 23, 2020 at 08:30:06AM -0700, Tamas K Lengyel wrote: > > > When resetting a VM fork we ought to only remove pages that were > > > allocated for > > > the

[PATCH AUTOSEL 4.4 5/8] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

[PATCH AUTOSEL 4.19 11/18] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

[PATCH AUTOSEL 4.14 10/21] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

[PATCH AUTOSEL 4.9 09/13] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

[PATCH AUTOSEL 5.6 21/38] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

[PATCH AUTOSEL 5.4 16/26] xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status

2020-04-24 Thread Sasha Levin
From: Juergen Gross [ Upstream commit 6b51fd3f65a22e3d1471b18a1d56247e246edd46 ] xenbus_map_ring_valloc() maps a ring page and returns the status of the used grant (0 meaning success). There are Xen hypervisors which might return the value 1 for the status of a failed grant mapping due to a

Re: [PATCH v17 1/2] mem_sharing: fix sharability check during fork reset

2020-04-24 Thread Tamas K Lengyel
On Fri, Apr 24, 2020 at 3:44 AM Roger Pau Monné wrote: > > On Thu, Apr 23, 2020 at 08:30:06AM -0700, Tamas K Lengyel wrote: > > When resetting a VM fork we ought to only remove pages that were allocated > > for > > the fork during it's execution and the contents copied over from the parent. > >

Re: Golang Xen packages and the golang packaging system

2020-04-24 Thread George Dunlap
> On Apr 24, 2020, at 5:04 AM, Nick Rosbrook wrote: > > On Thu, Apr 23, 2020 at 1:22 PM George Dunlap > wrote: >> >> >>> On Apr 23, 2020, at 12:49 PM, George Dunlap >>> wrote: >>> >>> >>> On Apr 23, 2020, at 12:27 PM, Ian Jackson wrote: Ian Jackson writes ("Re: Golang

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Jan Beulich
On 24.04.2020 11:45, Anthony PERARD wrote: > On Thu, Apr 23, 2020 at 06:40:33PM +0200, Jan Beulich wrote: >> On 21.04.2020 18:11, Anthony PERARD wrote: >>> --- a/xen/arch/x86/Rules.mk >>> +++ b/xen/arch/x86/Rules.mk > [..] >>> +c_flags += $(object_label_flags) $(CFLAGS-stack-boundary) >>> +a_flags

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Jan Beulich
On 24.04.2020 11:02, Julien Grall wrote: > On 17/04/2020 10:52, Hongyan Xia wrote: >> @@ -763,10 +763,10 @@ static void cleanup_frame_table(struct mem_hotadd_info >> *info) >>   continue; >>   } >>   -    ASSERT(l1e_get_flags(l2e_to_l1e(l2e)[l1_table_offset(sva)]) & >> -   

RE: [PATCH 0/3] xenoprof: XSA-313 follow-up

2020-04-24 Thread Paul Durrant
> -Original Message- > From: Julien Grall > Sent: 24 April 2020 11:35 > To: p...@xen.org; 'Jan Beulich' ; > xen-devel@lists.xenproject.org > Cc: 'Andrew Cooper' ; 'George Dunlap' > ; 'Ian > Jackson' ; 'Stefano Stabellini' > ; 'Wei Liu' > > Subject: Re: [PATCH 0/3] xenoprof: XSA-313

Re: [PATCH 0/3] xenoprof: XSA-313 follow-up

2020-04-24 Thread Julien Grall
Hi Paul, On 20/04/2020 16:01, Paul Durrant wrote: -Original Message- From: Julien Grall Sent: 20 April 2020 15:15 To: p...@xen.org; 'Jan Beulich' ; xen-devel@lists.xenproject.org Cc: 'Andrew Cooper' ; 'George Dunlap' ; 'Ian Jackson' ; 'Stefano Stabellini' ; 'Wei Liu' Subject: Re:

Re: [PATCH] x86: drop cpu_has_ffxsr

2020-04-24 Thread Andrew Cooper
On 24/04/2020 11:24, Jan Beulich wrote: > It's definition is bogus when it comes to Hygon CPUs, but since we don't > use it anywhere drop it rather than correcting it. > > Signed-off-by: Jan Beulich I had wondered about that too. Acked-by: Andrew Cooper

[PATCH] x86: drop cpu_has_ffxsr

2020-04-24 Thread Jan Beulich
It's definition is bogus when it comes to Hygon CPUs, but since we don't use it anywhere drop it rather than correcting it. Signed-off-by: Jan Beulich --- a/xen/include/asm-x86/cpufeature.h +++ b/xen/include/asm-x86/cpufeature.h @@ -66,8 +66,6 @@ /* CPUID level 0x8001.edx */ #define

[libvirt test] 149773: regressions - FAIL

2020-04-24 Thread osstest service owner
flight 149773 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/149773/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 146182 build-i386-libvirt

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Anthony PERARD
On Thu, Apr 23, 2020 at 06:40:33PM +0200, Jan Beulich wrote: > On 21.04.2020 18:11, Anthony PERARD wrote: > > Instead of generating the CFLAGS in Rules.mk everytime we enter a new > > subdirectory, we are going to generate most of them a single time, and > > export the result in the environment so

Re: [PATCH v17 1/2] mem_sharing: fix sharability check during fork reset

2020-04-24 Thread Roger Pau Monné
On Thu, Apr 23, 2020 at 08:30:06AM -0700, Tamas K Lengyel wrote: > When resetting a VM fork we ought to only remove pages that were allocated for > the fork during it's execution and the contents copied over from the parent. > This can be determined if the page is sharable as special pages used by

Re: [XEN PATCH v5 11/16] xen/build: factorise generation of the linker scripts

2020-04-24 Thread Julien Grall
On 21/04/2020 17:12, Anthony PERARD wrote: In Arm and X86 makefile, generating the linker script is the same, so we can simply have both call the same macro. We need to add *.lds files into extra-y so that Rules.mk can find the .*.cmd dependency file and load it. Change made to the command

Re: [XEN PATCH v5 07/16] xen/build: Start using if_changed

2020-04-24 Thread Julien Grall
Hi, On 21/04/2020 17:11, Anthony PERARD wrote: This patch start to use if_changed introduced in a previous commit. Whenever if_changed is called, the target must have FORCE as dependency so that if_changed can check if the command line to be run has changed, so the macro $(real-prereqs) must

Re: [XEN PATCH v5 04/16] xen/build: have the root Makefile generates the CFLAGS

2020-04-24 Thread Julien Grall
Hi Anthony, On 21/04/2020 17:11, Anthony PERARD wrote: Instead of generating the CFLAGS in Rules.mk everytime we enter a new subdirectory, we are going to generate most of them a single time, and export the result in the environment so that Rules.mk can use it. The only flags left to be

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Julien Grall
On 24/04/2020 10:21, Hongyan Xia wrote: Hi Julien, On Fri, 2020-04-24 at 09:59 +0100, Julien Grall wrote: (resending) On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Also fix a weird indentation. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/x86_64/mm.c

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Hongyan Xia
Hi Julien, On Fri, 2020-04-24 at 09:59 +0100, Julien Grall wrote: > (resending) > > On 17/04/2020 10:52, Hongyan Xia wrote: > > From: Wei Liu > > > > Also fix a weird indentation. > > > > Signed-off-by: Wei Liu > > Signed-off-by: Hongyan Xia > > --- > > xen/arch/x86/x86_64/mm.c | 14

Re: [XEN PATCH v5 03/16] xen/build: use new $(c_flags) and $(a_flags) instead of $(CFLAGS)

2020-04-24 Thread Julien Grall
Hi, On 21/04/2020 17:11, Anthony PERARD wrote: In a later patch ("xen/build: have the root Makefile generates the CFLAGS), we want to generate the CFLAGS in xen/Makefile, then export it and have Rules.mk use a CFLAGS from the environment variables. That changes the flavor of the CFLAGS and

Re: [PATCH 6/6] x86/pv: map and unmap page table in dom0_construct_pv

2020-04-24 Thread Julien Grall
Hi, On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia Reviewed-by: Julien Grall Cheers, -- Julien Grall

Re: [PATCH 5/6] x86/pv: map and unmap page tables in mark_pv_pt_pages_rdonly

2020-04-24 Thread Julien Grall
Hi, On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia Reviewed-by: Julien Grall Cheers, -- Julien Grall

Re: [PATCH 4/6] x86/smpboot: map and unmap page tables in cleanup_cpu_root_pgt

2020-04-24 Thread Julien Grall
Hi, On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia Reviewed-by: Julien Grall --- xen/arch/x86/smpboot.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/xen/arch/x86/smpboot.c

Re: [PATCH 3/6] x86_64/mm: map and unmap page tables in subarch_memory_op

2020-04-24 Thread Julien Grall
Hi Hongyan, On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia Reviewed-by: Julien Grall Cheers, -- Julien Grall

Re: [PATCH 2/6] x86_64/mm: map and unmap page tables in subarch_init_memory

2020-04-24 Thread Julien Grall
Hi, On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia Reviewed-by: Julien Grall Cheers, -- Julien Grall

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Julien Grall
On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Also fix a weird indentation. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/x86_64/mm.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/x86_64/mm.c

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Julien Grall
(resending) On 17/04/2020 10:52, Hongyan Xia wrote: From: Wei Liu Also fix a weird indentation. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- xen/arch/x86/x86_64/mm.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/arch/x86/x86_64/mm.c

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Julien Grall
On 24/04/2020 09:58, Julien Grall wrote: Hi, On 17/04/2020 10:52, Hongyan Xia wrote:> diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c> index e85ef449f3..18210405f4 100644> --- a/xen/arch/x86/x86_64/mm.c> +++ b/xen/arch/x86/x86_64/mm.c> @@ -737,8 +737,8 @@ static void

Re: [PATCH 1/6] x86_64/mm: map and unmap page tables in cleanup_frame_table

2020-04-24 Thread Julien Grall
Hi, On 17/04/2020 10:52, Hongyan Xia wrote:> diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c> index e85ef449f3..18210405f4 100644> --- a/xen/arch/x86/x86_64/mm.c> +++ b/xen/arch/x86/x86_64/mm.c> @@ -737,8 +737,8 @@ static void cleanup_frame_table(struct mem_hotadd_info

Re: [PATCH 0/6] convert more Xen page table code to the new API

2020-04-24 Thread Hongyan Xia
A gentle ping. On Fri, 2020-04-17 at 10:52 +0100, Hongyan Xia wrote: > From: Hongyan Xia > > Basically just rewriting functions using the new API to map and unmap > PTEs. Each patch is independent. > > Apart from mapping and unmapping page tables, no other functional > change > intended. > >

RE: [ANNOUNCE] Xen 4.14 Development Update

2020-04-24 Thread Durrant, Paul
> -Original Message- > On 24.04.2020 09:38, Paul Durrant wrote: > > * Memory read caching in emulation (v5) > > - Jan Beulich > > Unless issues are found with this, it can be moved to "completed" - > I did commit this yesterday. > Someone just drew my attention to the commit so once

Re: [ANNOUNCE] Xen 4.14 Development Update

2020-04-24 Thread Jan Beulich
On 24.04.2020 09:38, Paul Durrant wrote: > * Memory read caching in emulation (v5) > - Jan Beulich Unless issues are found with this, it can be moved to "completed" - I did commit this yesterday. Jan

[ANNOUNCE] Xen 4.14 Development Update

2020-04-24 Thread Paul Durrant
*** ONE WEEK UNTIL LAST POSTING *** This email only tracks big items for xen.git tree. Please reply for items you would like to see in 4.14 so that people have an idea what is going on and prioritise accordingly. You're welcome to provide description and use cases of the feature you're working

Re: [xen-unstable test] 149752: regressions - trouble: blocked/fail/pass/starved

2020-04-24 Thread Jan Beulich
On 23.04.2020 23:53, osstest service owner wrote: > flight 149752 xen-unstable real [real] > http://logs.test-lab.xenproject.org/osstest/logs/149752/ > > Regressions :-( > > Tests which did not succeed and are blocking, > including tests which could not be run: > build-i386-prev 6

Re: [PATCH 3/3] x86/pv: Don't use IST for NMI/#MC/#DB in !CONFIG_PV builds

2020-04-24 Thread Jan Beulich
On 23.04.2020 20:49, Andrew Cooper wrote: > On 21/04/2020 08:48, Jan Beulich wrote: >> On 20.04.2020 16:59, Andrew Cooper wrote: >>> --- a/xen/include/asm-x86/processor.h >>> +++ b/xen/include/asm-x86/processor.h >>> @@ -441,12 +441,18 @@ struct tss_page { >>> }; >>> DECLARE_PER_CPU(struct

Re: [PATCH 1/3] x86/S3: Use percpu_traps_init() rather than opencoding SYSCALL/SYSENTER restoration

2020-04-24 Thread Jan Beulich
On 23.04.2020 20:24, Andrew Cooper wrote: > On 21/04/2020 08:24, Jan Beulich wrote: >> On 20.04.2020 16:59, Andrew Cooper wrote: >>> @@ -46,24 +36,13 @@ void restore_rest_processor_state(void) >>> /* Restore full CR4 (inc MCE) now that the IDT is in place. */ >>>

Re: [PATCH 1/3] x86/pv: Options to disable and/or compile out 32bit PV support

2020-04-24 Thread Jan Beulich
On 23.04.2020 19:35, Andrew Cooper wrote: > On 21/04/2020 07:02, Jan Beulich wrote: >> On 20.04.2020 20:05, Andrew Cooper wrote: >>> On 20/04/2020 15:05, Jan Beulich wrote: I'm in particular concerned that we may gain a large number of such printk()s over time, if we added them in