Re: [Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-14 Thread Jan Beulich
On 13.02.2020 19:38, Andrew Cooper wrote: > On 13/02/2020 12:54, Juergen Gross wrote: >> Keyhandlers dumping hypervisor information to the console often need >> to take locks while accessing data. In order to not block in case of >> system inconsistencies it is convenient to use trylock variants wh

[Xen-devel] [PATCH] libxl: mark parameters in stub functions as unused

2020-02-14 Thread Wei Liu
Hopefully this can fix issues like: In file included from ../../src/libxl/xen_xl.c:24:0: /home/osstest/build.147035.build-amd64-libvirt/xendist/usr/local/include/libxl.h: In function 'libxl_cpuid_apply_policy': /home/osstest/build.147035.build-amd64-libvirt/xendist/usr/local/include/libxl.h:2345:

Re: [Xen-devel] [PATCH v4 2/3] bitmap: import bitmap_{set/clear} from Linux 5.5

2020-02-14 Thread Roger Pau Monné
On Mon, Feb 10, 2020 at 12:54:04PM +, Julien Grall wrote: > > > On 10/02/2020 12:32, Jan Beulich wrote: > > On 10.02.2020 13:21, Julien Grall wrote: > > > Hi, > > > > > > On 10/02/2020 11:59, Jan Beulich wrote: > > > > On 10.02.2020 12:00, Julien Grall wrote: > > > > > On 10/02/2020 10:28, J

Re: [Xen-devel] [PATCH 4/4] x86/hyperv: L0 assisted TLB flush

2020-02-14 Thread Wei Liu
On Thu, Feb 13, 2020 at 01:41:27PM +0100, Roger Pau Monné wrote: > On Thu, Feb 13, 2020 at 12:20:33PM +, Wei Liu wrote: > > On Wed, Feb 12, 2020 at 06:43:47PM +0100, Roger Pau Monné wrote: > > > On Wed, Feb 12, 2020 at 04:09:18PM +, Wei Liu wrote: > > > > +static uint64_t flush_tlb_ex(const

[Xen-devel] [xen-unstable-smoke test] 147042: regressions - FAIL

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

Re: [Xen-devel] [PATCH] libxl: mark parameters in stub functions as unused

2020-02-14 Thread Ian Jackson
Wei Liu writes ("[PATCH] libxl: mark parameters in stub functions as unused"): > Hopefully this can fix issues like: > > In file included from ../../src/libxl/xen_xl.c:24:0: > /home/osstest/build.147035.build-amd64-libvirt/xendist/usr/local/include/libxl.h: > In function 'libxl_cpuid_apply_policy

Re: [Xen-devel] [PATCH] libxl: mark parameters in stub functions as unused

2020-02-14 Thread Wei Liu
On Fri, Feb 14, 2020 at 11:00:44AM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH] libxl: mark parameters in stub functions as unused"): > > Hopefully this can fix issues like: > > > > In file included from ../../src/libxl/xen_xl.c:24:0: > > /home/osstest/build.147035.build-amd64-libvirt/xend

Re: [Xen-devel] [PATCH] libxl: mark parameters in stub functions as unused

2020-02-14 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH] libxl: mark parameters in stub functions as unused"): > I have actually successfully compiled a C file written in a similar way > and tried with / without -Wunused-paremeter. After adding the unused > attribute gcc stopped spitting out a warning. That sounds like a su

[Xen-devel] [linux-4.9 test] 146988: regressions - FAIL

2020-02-14 Thread osstest service owner
flight 146988 linux-4.9 real [real] http://logs.test-lab.xenproject.org/osstest/logs/146988/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 17 debian-hvm-install/l1/l2 fail REGR. vs. 142947 test-amd64-i3

Re: [Xen-devel] [PATCH v4 2/3] bitmap: import bitmap_{set/clear} from Linux 5.5

2020-02-14 Thread Jan Beulich
On 14.02.2020 11:40, Roger Pau Monné wrote: > On Mon, Feb 10, 2020 at 12:54:04PM +, Julien Grall wrote: >> >> >> On 10/02/2020 12:32, Jan Beulich wrote: >>> On 10.02.2020 13:21, Julien Grall wrote: Hi, On 10/02/2020 11:59, Jan Beulich wrote: > On 10.02.2020 12:00, Julien Gral

[Xen-devel] [PATCH v2 3/3] x86/hyperv: L0 assisted TLB flush

2020-02-14 Thread Wei Liu
Implement L0 assisted TLB flush for Xen on Hyper-V. It takes advantage of several hypercalls: * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST_EX * HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE * HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX Pick the most efficient hypercalls available.

[Xen-devel] [PATCH v2 1/3] x86/hypervisor: pass flags to hypervisor_flush_tlb

2020-02-14 Thread Wei Liu
Hyper-V's L0 assisted flush has fine-grained control over what gets flushed. We need all the flags available to make the best decisions possible. No functional change because Xen's implementation doesn't care about what is passed to it. Signed-off-by: Wei Liu --- v2: 1. Introduce FLUSH_TLB_FLAGS

[Xen-devel] [PATCH v2 0/3] Xen on Hyper-V: Implement L0 assisted TLB flush

2020-02-14 Thread Wei Liu
Hi all This seris is based on Roger's L0 assisted flush series. I have done some testing against a Linux on Hyper-V in a 32-vcpu VM. All builds were done with -j32. Building Xen on Linux: real0m45.376s user2m28.156s sys 0m51.672s Building Xen on Linux on Xen on Hyper-V, no assiste

[Xen-devel] [PATCH v2 2/3] x86/hyperv: skeleton for L0 assisted TLB flush

2020-02-14 Thread Wei Liu
Implement a basic hook for L0 assisted TLB flush. The hook needs to check if prerequisites are met. If they are not met, it returns an error number to fall back to native flushes. Introduce a new variable to indicate if hypercall page is ready. Signed-off-by: Wei Liu --- xen/arch/x86/guest/hype

[Xen-devel] [PATCH RFC] docs: move xen-command-line.pandoc under admin-guide

2020-02-14 Thread Wei Liu
That directory would be the first place I look if I need to know xen command line options. Signed-off-by: Wei Liu --- docs/{misc => admin-guide}/xen-command-line.pandoc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/{misc => admin-guide}/xen-command-line.pandoc (100%) diff --

Re: [Xen-devel] [PATCH RFC] docs: move xen-command-line.pandoc under admin-guide

2020-02-14 Thread Andrew Cooper
On 14/02/2020 12:46, Wei Liu wrote: > That directory would be the first place I look if I need to know xen > command line options. > > Signed-off-by: Wei Liu Please not quite yet.  This breaks the (defacto common) URL on xenbits.xen.org/docs/ and I've got an in-progress series to convert it to RS

Re: [Xen-devel] [PATCH RFC] docs: move xen-command-line.pandoc under admin-guide

2020-02-14 Thread Wei Liu
On Fri, Feb 14, 2020 at 12:50:36PM +, Andrew Cooper wrote: > On 14/02/2020 12:46, Wei Liu wrote: > > That directory would be the first place I look if I need to know xen > > command line options. > > > > Signed-off-by: Wei Liu > > Please not quite yet.  This breaks the (defacto common) URL on

[Xen-devel] [xen-unstable-smoke test] 147046: regressions - FAIL

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

Re: [Xen-devel] [PATCH] xen: make sure stop_machine_run() is always called in a tasklet

2020-02-14 Thread Igor Druzhinin
On 11/02/2020 09:35, Juergen Gross wrote: > With core scheduling active it is mandatory for stop_machine_run() to > be called in a tasklet only, as otherwise a scheduling deadlock would > occur: stop_machine_run() does a cpu rendezvous by activating a tasklet > on all other cpus. In case stop_machi

Re: [Xen-devel] [PATCH v2 3/3] x86/hyperv: L0 assisted TLB flush

2020-02-14 Thread Roger Pau Monné
On Fri, Feb 14, 2020 at 12:34:30PM +, Wei Liu wrote: > Implement L0 assisted TLB flush for Xen on Hyper-V. It takes advantage > of several hypercalls: > > * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST > * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST_EX > * HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE > * HVCALL_FLUSH_VI

Re: [Xen-devel] [PATCH v2 1/3] x86/hypervisor: pass flags to hypervisor_flush_tlb

2020-02-14 Thread Roger Pau Monné
On Fri, Feb 14, 2020 at 12:34:28PM +, Wei Liu wrote: > Hyper-V's L0 assisted flush has fine-grained control over what gets > flushed. We need all the flags available to make the best decisions > possible. > > No functional change because Xen's implementation doesn't care about > what is passed

Re: [Xen-devel] [PATCH v2 2/3] x86/hyperv: skeleton for L0 assisted TLB flush

2020-02-14 Thread Roger Pau Monné
On Fri, Feb 14, 2020 at 12:34:29PM +, Wei Liu wrote: > Implement a basic hook for L0 assisted TLB flush. The hook needs to > check if prerequisites are met. If they are not met, it returns an error > number to fall back to native flushes. > > Introduce a new variable to indicate if hypercall p

[Xen-devel] [linux-4.4 test] 146992: regressions - FAIL

2020-02-14 Thread osstest service owner
flight 146992 linux-4.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/146992/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-qemuu-nested-intel 17 debian-hvm-install/l1/l2 fail REGR. vs. 139698 test-amd64-i3

Re: [Xen-devel] [PATCH v2 3/3] x86/hyperv: L0 assisted TLB flush

2020-02-14 Thread Wei Liu
On Fri, Feb 14, 2020 at 03:42:17PM +0100, Roger Pau Monné wrote: [...] > > #endif /* __XEN_HYPERV_PRIVIATE_H__ */ > > diff --git a/xen/arch/x86/guest/hyperv/tlb.c > > b/xen/arch/x86/guest/hyperv/tlb.c > > index 48f527229e..f68e14f151 100644 > > --- a/xen/arch/x86/guest/hyperv/tlb.c > > +++ b/xen

[Xen-devel] [OSSTEST PATCH V2] build: fix configuration of libvirt

2020-02-14 Thread Jim Fehlig
libvirt.git commit 2621d48f00 removed the last traces of gnulib, which also removed the '--no-git' option from autogen.sh. Unknown options are now passed to the configure script, which quickly fails with configure: error: unrecognized option: `--no-git' Remove the gnulib handling from ts-libvir

Re: [Xen-devel] [PATCH] xen: make sure stop_machine_run() is always called in a tasklet

2020-02-14 Thread Jürgen Groß
On 14.02.20 15:06, Igor Druzhinin wrote: On 11/02/2020 09:35, Juergen Gross wrote: With core scheduling active it is mandatory for stop_machine_run() to be called in a tasklet only, as otherwise a scheduling deadlock would occur: stop_machine_run() does a cpu rendezvous by activating a tasklet o

Re: [Xen-devel] [PATCH v2 3/3] x86/hyperv: L0 assisted TLB flush

2020-02-14 Thread Michael Kelley
From: Wei Liu On Behalf Of Wei Liu Sent: Friday, February 14, 2020 4:35 AM > > Implement L0 assisted TLB flush for Xen on Hyper-V. It takes advantage > of several hypercalls: > > * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST > * HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST_EX > * HVCALL_FLUSH_VIRTUAL_ADDRESS_SPA

Re: [Xen-devel] [PATCH v2 1/3] x86/hypervisor: pass flags to hypervisor_flush_tlb

2020-02-14 Thread Durrant, Paul
> -Original Message- > From: Wei Liu On Behalf Of Wei Liu > Sent: 14 February 2020 13:34 > To: Xen Development List > Cc: Michael Kelley ; Durrant, Paul > ; Wei Liu ; Jan Beulich > ; Andrew Cooper ; Wei Liu > ; Roger Pau Monné > Subject: [PATCH v2 1/3] x86/hypervisor: pass flags to hyper

Re: [Xen-devel] [PATCH v2 2/3] x86/hyperv: skeleton for L0 assisted TLB flush

2020-02-14 Thread Durrant, Paul
> -Original Message- > From: Wei Liu On Behalf Of Wei Liu > Sent: 14 February 2020 13:34 > To: Xen Development List > Cc: Michael Kelley ; Durrant, Paul > ; Wei Liu ; Wei Liu > ; Jan Beulich ; Andrew Cooper > ; Roger Pau Monné > Subject: [PATCH v2 2/3] x86/hyperv: skeleton for L0 assiste

[Xen-devel] [xen-unstable-smoke test] 147052: tolerable all pass - PUSHED

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

Re: [Xen-devel] [PATCH] xen: make sure stop_machine_run() is always called in a tasklet

2020-02-14 Thread Igor Druzhinin
On 14/02/2020 16:39, Jürgen Groß wrote: > On 14.02.20 15:06, Igor Druzhinin wrote: >> On 11/02/2020 09:35, Juergen Gross wrote: >>> With core scheduling active it is mandatory for stop_machine_run() to >>> be called in a tasklet only, as otherwise a scheduling deadlock would >>> occur: stop_machine

Re: [Xen-devel] [OSSTEST PATCH V2] build: fix configuration of libvirt

2020-02-14 Thread Ian Jackson
Jim Fehlig writes ("[OSSTEST PATCH V2] build: fix configuration of libvirt"): > libvirt.git commit 2621d48f00 removed the last traces of gnulib, which > also removed the '--no-git' option from autogen.sh. Unknown options are > now passed to the configure script, which quickly fails with > > conf

Re: [Xen-devel] [PATCH] x86/apic: Improve current_local_apic_mode()

2020-02-14 Thread Andrew Cooper
On 28/01/2020 14:10, Jan Beulich wrote: > On 28.01.2020 13:52, Andrew Cooper wrote: >> boot_cpu_has(X86_FEATURE_X2APIC) doesn't need checking to interpret >> APIC_BASE_EXTD. > Hmm, the comment you remove ... > >> --- a/xen/arch/x86/apic.c >> +++ b/xen/arch/x86/apic.c >> @@ -1534,18 +1534,14 @@ void

[Xen-devel] [PATCH] AMD/IOMMU: Common the #732/#733 errata handling in iommu_read_log()

2020-02-14 Thread Andrew Cooper
There is no need to have both helpers implement the same workaround. The size and layout of the the Event and PPR logs (and others for that matter) share a lot of commonality. Use MASK_EXTR() to locate the code field, and use ACCESS_ONCE() rather than barrier() to prevent hoisting of the repeated

[Xen-devel] [linux-5.4 test] 147001: regressions - FAIL

2020-02-14 Thread osstest service owner
flight 147001 linux-5.4 real [real] http://logs.test-lab.xenproject.org/osstest/logs/147001/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-qemuu-ovmf-amd64 10 debian-hvm-install fail REGR. vs. 146121 test-amd64-i386-xl

[Xen-devel] [PATCH] x86/msr: Virtualise MSR_PLATFORM_ID properly

2020-02-14 Thread Andrew Cooper
This is an Intel-only, read-only MSR related to microcode loading. Expose it in similar circumstances as the PATCHLEVEL MSR. This should have been alongside c/s 013896cb8b2 "x86/msr: Fix handling of MSR_AMD_PATCHLEVEL/MSR_IA32_UCODE_REV" Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei

[Xen-devel] [PATCH 15/30] x86/xen: Add missing annotation for xen_pte_unlock()

2020-02-14 Thread Jules Irenge
Sparse reports warning at xen_pte_unlock() warning: context imbalance in xen_pte_unlock() - unexpected unlock The root cause is the missing annotation at xen_pte_unlock() Add the missing __releases(ptl) annotation Signed-off-by: Jules Irenge --- arch/x86/xen/mmu_pv.c | 2 +- 1 file changed, 1

[Xen-devel] [PATCH 14/30] x86/xen: Add missing annotation for xen_pte_lock()

2020-02-14 Thread Jules Irenge
Sparse reports warning at xen_pte_lock() warning: context imbalance in xen_pte_lock() - wrong count at exit The root cause is the missing annotation at xen_pte_lock() Add the missing __acquires(ptl) annotation Signed-off-by: Jules Irenge --- arch/x86/xen/mmu_pv.c | 1 + 1 file changed, 1 inser

[Xen-devel] [xen-unstable-smoke test] 147057: tolerable all pass - PUSHED

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

Re: [Xen-devel] [PATCH 14/30] x86/xen: Add missing annotation for xen_pte_lock()

2020-02-14 Thread Boris Ostrovsky
On 2/14/20 3:47 PM, Jules Irenge wrote: > Sparse reports warning at xen_pte_lock() > > warning: context imbalance in xen_pte_lock() - wrong count at exit > > The root cause is the missing annotation at xen_pte_lock() > Add the missing __acquires(ptl) annotation > > Signed-off-by: Jules Irenge R

[Xen-devel] [xen-unstable-smoke test] 147063: tolerable all pass - PUSHED

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

[Xen-devel] [RFC RESEND PATCH v3 00/12] Enable PM hibernation on guest VMs

2020-02-14 Thread Anchal Agarwal
Resending this in a more threaded format. Hello, I am sending out a v3 version of series of patches that implements guest PM hibernation. These guests are running on xen hypervisor. The patches had been tested against mainstream kernel. EC2 instance hibernation feature is provided to the AWS EC2

[Xen-devel] [RFC PATCH v3 01/12] xen/manage: keep track of the on-going suspend mode

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Guest hibernation is different from xen suspend/resume/live migration. Xen save/restore does not use pm_ops as is needed by guest hibernation. Hibernation in guest follows ACPI path and is guest inititated , the hibernation image is saved within guest as compared to later mo

[Xen-devel] [RFC PATCH v3 02/12] xenbus: add freeze/thaw/restore callbacks support

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Since commit b3e96c0c7562 ("xen: use freeze/restore/thaw PM events for suspend/resume/chkpt"), xenbus uses PMSG_FREEZE, PMSG_THAW and PMSG_RESTORE events for Xen suspend. However, they're actually assigned to xenbus_dev_suspend(), xenbus_dev_cancel() and xenbus_dev_resume()

[Xen-devel] [RFC PATCH v3 03/12] x86/xen: Introduce new function to map HYPERVISOR_shared_info on Resume

2020-02-14 Thread Anchal Agarwal
Introduce a small function which re-uses shared page's PA allocated during guest initialization time in reserve_shared_info() and not allocate new page during resume flow. It also does the mapping of shared_info_page by calling xen_hvm_init_shared_info() to use the function. Signed-off-by: Anchal

[Xen-devel] [RFC PATCH v3 04/12] x86/xen: add system core suspend and resume callbacks

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Add Xen PVHVM specific system core callbacks for PM suspend and hibernation support. The callbacks suspend and resume Xen primitives,like shared_info, pvclock and grant table. Note that Xen suspend can handle them in a different manner, but system core callbacks are called f

[Xen-devel] [RFC PATCH v3 05/12] xen-netfront: add callbacks for PM suspend and hibernation support

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Add freeze, thaw and restore callbacks for PM suspend and hibernation support. The freeze handler simply disconnects the frotnend from the backend and frees resources associated with queues after disabling the net_device from the system. The restore handler just changes the

[Xen-devel] [RFC PATCH v3 06/12] xen-blkfront: add callbacks for PM suspend and hibernation

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Signed-off-by: Munehisa Kamata --- drivers/block/xen-blkfront.c | 119 --- 1 file changed, 112 insertions(+), 7 deletions(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 478120233750..d715ed3cb69a 100644 ---

[Xen-devel] [RFC PATCH v3 07/12] genirq: Shutdown irq chips in suspend/resume during hibernation

2020-02-14 Thread Anchal Agarwal
There are no pm handlers for the legacy devices, so during tear down stale event channel <> IRQ mapping may still remain in the image and resume may fail. To avoid adding much code by implementing handlers for legacy devices, add a new irq_chip flag IRQCHIP_SHUTDOWN_ON_SUSPEND which when enabled on

[Xen-devel] [RFC PATCH v3 08/12] xen/time: introduce xen_{save, restore}_steal_clock

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Currently, steal time accounting code in scheduler expects steal clock callback to provide monotonically increasing value. If the accounting code receives a smaller value than previous one, it uses a negative value to calculate steal time and results in incorrectly updated i

[Xen-devel] [RFC PATCH v3 11/12] xen: Update sched clock offset to avoid system instability in hibernation

2020-02-14 Thread Anchal Agarwal
Save/restore xen_sched_clock_offset in syscore suspend/resume during PM hibernation. Commit '867cefb4cb1012: ("xen: Fix x86 sched_clock() interface for xen")' fixes xen guest time handling during migration. A similar issue is seen during PM hibernation when system runs CPU intensive workload. Post

[Xen-devel] [RFC PATCH v3 09/12] x86/xen: save and restore steal clock

2020-02-14 Thread Anchal Agarwal
From: Munehisa Kamata Save steal clock values of all present CPUs in the system core ops suspend callbacks. Also, restore a boot CPU's steal clock in the system core resume callback. For non-boot CPUs, restore after they're brought up, because runstate info for non-boot CPUs are not active until

[Xen-devel] [RFC PATCH v3 10/12] xen: Introduce wrapper for save/restore sched clock offset

2020-02-14 Thread Anchal Agarwal
Introduce wrappers for save/restore xen_sched_clock_offset to be used by PM hibernation code to avoid system instability during resume. Signed-off-by: Anchal Agarwal --- arch/x86/xen/time.c| 15 +-- arch/x86/xen/xen-ops.h | 2 ++ 2 files changed, 15 insertions(+), 2 deletions(-)

[Xen-devel] [RFC PATCH v3 12/12] PM / hibernate: update the resume offset on SNAPSHOT_SET_SWAP_AREA

2020-02-14 Thread Anchal Agarwal
From: Aleksei Besogonov The SNAPSHOT_SET_SWAP_AREA is supposed to be used to set the hibernation offset on a running kernel to enable hibernating to a swap file. However, it doesn't actually update the swsusp_resume_block variable. As a result, the hibernation fails at the last step (after all th

Re: [Xen-devel] [RFC PATCH v3 00/12] Enable PM hibernation on guest VMs

2020-02-14 Thread Agarwal, Anchal
I did resend them today. Apologies for delay https://lkml.org/lkml/2020/2/14/2789 Thanks, Anchal Ancha, Anchal Agarwal writes: > Hello, > I am sending out a v3 version of series of patches that implements guest > PM hibernation. can you pretty please threa

[Xen-devel] [xen-unstable test] 147022: tolerable FAIL

2020-02-14 Thread osstest service owner
flight 147022 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/147022/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-rtds 18 guest-localmigrate/x10 fail like 146896 test-amd64-amd64-xl-qemuu-win7-amd64

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

2020-02-14 Thread osstest service owner
flight 147024 linux-4.19 real [real] http://logs.test-lab.xenproject.org/osstest/logs/147024/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-qemut-rhel6hvm-amd 13 guest-start.2 fail in 146901 REGR. vs. 142932 Tests which ar

Re: [Xen-devel] [PATCH] xen: make sure stop_machine_run() is always called in a tasklet

2020-02-14 Thread Jürgen Groß
On 14.02.20 18:34, Igor Druzhinin wrote: On 14/02/2020 16:39, Jürgen Groß wrote: On 14.02.20 15:06, Igor Druzhinin wrote: On 11/02/2020 09:35, Juergen Gross wrote: With core scheduling active it is mandatory for stop_machine_run() to be called in a tasklet only, as otherwise a scheduling deadl