[Xen-devel] [PATCH 2/2] xen: make xen_qlock_wait() nestable

2018-10-01 Thread Juergen Gross
ta...@vger.kernel.org Cc: waiman.l...@hp.com Cc: pet...@infradead.org Signed-off-by: Juergen Gross --- arch/x86/xen/spinlock.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/arch/x86/xen/spinlock.c b/arch/x86/xen/spinlock.c index cd210a4ba7b1..e8d880e980

Re: [Xen-devel] [PATCH 0/2] xen: fix two issues in Xen pv qspinlock handling

2018-10-01 Thread Juergen Gross
Correcting Waiman's mail address On 01/10/2018 09:16, Juergen Gross wrote: > The Xen specific queue spinlock wait function has two issues which > could result in a hanging system. > > They have a similar root cause of clearing a pending wakeup of a > waiting vcpu and later going t

Re: [Xen-devel] [PATCH 1/2] xen: fix race in xen_qlock_wait()

2018-10-01 Thread Juergen Gross
On 01/10/2018 10:54, Jan Beulich wrote: On 01.10.18 at 09:16, wrote: >> In the following situation a vcpu waiting for a lock might not be >> woken up from xen_poll_irq(): >> >> CPU 1:CPU 2: CPU 3: >> takes a spinlock >> tries to get

Re: [Xen-devel] [PATCH 2/2] xen: make xen_qlock_wait() nestable

2018-10-01 Thread Juergen Gross
On 01/10/2018 10:57, Jan Beulich wrote: On 01.10.18 at 09:16, wrote: >> xen_qlock_wait() isn't safe for nested calls due to interrupts. A call >> of xen_qlock_kick() might be ignored in case a deeper nesting level >> was active right before the call of xen_poll_irq(): >> >> CPU 1:

[Xen-devel] [PATCH 0/2] tools: correct/enhance cpupool handling

2018-10-02 Thread Juergen Gross
Make handling of cpupool data in domain config more consistent. Patch 1 is updating the cpupool in domain's config when moving the domain to another cpupool. Patch 2 allows to specify a cpupool on the destination host for domain migration. Juergen Gross (2): libxl: modify domain config when

Re: [Xen-devel] [xen-unstable test] 128240: regressions - FAIL

2018-10-01 Thread Juergen Gross
On 01/10/2018 17:48, George Dunlap wrote: > On 10/01/2018 04:40 PM, Andrew Cooper wrote: >> On 01/10/18 16:35, Wei Liu wrote: >>> On Mon, Oct 01, 2018 at 04:19:07PM +0100, George Dunlap wrote: On 10/01/2018 04:17 PM, Wei Liu wrote: > On Mon, Oct 01, 2018 at 09:10:25AM -0600, Jan Beulich

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-28 Thread Juergen Gross
PM, Jens Axboe wrote: >>>>>> On 9/27/18 12:52 PM, Sander Eikelenboom wrote: >>>>>>> On 27/09/18 16:26, Jens Axboe wrote: >>>>>>>> On 9/27/18 1:12 AM, Juergen Gross wrote: >>>>>>>>> On 22/09/18 21:55, Boris

[Xen-devel] [PATCH] xen/blkfront: correct purging of persistent grants

2018-09-28 Thread Juergen Gross
Commit a46b53672b2c2e3770b38a4abf90d16364d2584b ("xen/blkfront: cleanup stale persistent grants") introduced a regression as purged persistent grants were not pu into the list of free grants again. Correct that. Signed-off-by: Juergen Gross --- drivers/block/xen-blkfront.c | 4 ++

Re: [Xen-devel] [PATCH] xen/blkfront: correct purging of persistent grants

2018-09-28 Thread Juergen Gross
On 28/09/2018 15:33, Boris Ostrovsky wrote: > On 9/28/18 9:13 AM, Juergen Gross wrote: >> On 28/09/2018 14:45, Boris Ostrovsky wrote: >>> On 9/28/18 3:28 AM, Juergen Gross wrote: >>>> Commit a46b53672b2c2e3770b38a4abf90d16364d2584b ("xen/blkfront: cleanup >&g

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-28 Thread Juergen Gross
On 28/09/2018 14:55, Omkar Bolla wrote: > Hi, > I tried to run script after pause the domain and unpause domain after > run script. But I ended up with same error I looked at the script again, it is wrong. The permissions should be set for each node under the root path of the respective domains,

Re: [Xen-devel] [PATCH 2/2] xen: make xen_qlock_wait() nestable

2018-10-10 Thread Juergen Gross
On 10/10/2018 14:47, Thomas Gleixner wrote: > On Wed, 10 Oct 2018, David Woodhouse wrote: >> On Wed, 2018-10-10 at 14:30 +0200, Thomas Gleixner wrote: >>> On Wed, 10 Oct 2018, David Woodhouse wrote: >>> >>>> On Mon, 2018-10-01 at 09:16 +0200, Juergen Gross

Re: [Xen-devel] [PATCH v2 00/18] xen: add pvh guest support

2018-10-10 Thread Juergen Gross
On 09/10/2018 13:02, Juergen Gross wrote: > This patch series adds support for booting Linux as PVH guest. > > Similar to i386/xen and x86_64/xen platforms the new i386/xenpvh > platform grub is booted as a standalone image directly by Xen. > > For booting Linux kernel it is

Re: [Xen-devel] [PATCH] xen: drop writing error messages to xenstore

2018-10-10 Thread Juergen Gross
On 10/10/2018 17:09, Joao Martins wrote: > On 10/09/2018 05:09 PM, Juergen Gross wrote: >> xenbus_va_dev_error() will try to write error messages to Xenstore >> under the error//error node (with something like >> "device/vbd/51872"). This will fail normal

Re: [Xen-devel] [PATCH] xen: drop writing error messages to xenstore

2018-10-10 Thread Juergen Gross
On 10/10/2018 18:57, Boris Ostrovsky wrote: > On 10/10/18 11:53 AM, Juergen Gross wrote: >> On 10/10/2018 17:09, Joao Martins wrote: >>> On 10/09/2018 05:09 PM, Juergen Gross wrote: >>>> xenbus_va_dev_error() will try to write error messages to Xenstore &g

Re: [Xen-devel] [xen-unstable test] 128240: regressions - FAIL

2018-10-02 Thread Juergen Gross
On 02/10/2018 10:29, Jan Beulich wrote: On 01.10.18 at 18:07, wrote: >> On 01/10/2018 17:48, George Dunlap wrote: >>> On 10/01/2018 04:40 PM, Andrew Cooper wrote: If there isn't an obvious fix, then the switch of default scheduler needs reverting until there is a fix present. This

[Xen-devel] [PATCH v2 1/2] xentrace: allow sparse cpu list

2018-10-04 Thread Juergen Gross
Modify the xentrace utility to allow sparse cpu list resulting in not all possible cpus having a trace buffer allocated. Signed-off-by: Juergen Gross --- tools/xentrace/xentrace.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tools/xentrace/xentrace.c b

[Xen-devel] [PATCH v2 2/2] xentrace: handle sparse cpu ids correctly in xen trace buffer handling

2018-10-04 Thread Juergen Gross
The per-cpu buffers for Xentrace are addressed by cpu-id, but the info array for the buffers is sized only by number of online cpus. This might lead to crashes when using Xentrace with smt=0. The t_info structure has to be sized based on nr_cpu_ids. Signed-off-by: Juergen Gross --- tools

[Xen-devel] [PATCH v2 0/2] xentrace: fix xentrace for smt=0

2018-10-04 Thread Juergen Gross
the control structures according to the physical cpus instead of taking online cpus into account only. Juergen Gross (2): xentrace: allow sparse cpu list xentrace: handle sparse cpu ids correctly in xen trace buffer handling tools/xentrace/xentrace.c | 18 -- xen/common/trace.c

Re: [Xen-devel] [PATCH v2 1/2] xentrace: allow sparse cpu list

2018-10-04 Thread Juergen Gross
On 04/10/2018 13:22, George Dunlap wrote: > On 10/04/2018 11:51 AM, Juergen Gross wrote: >> Modify the xentrace utility to allow sparse cpu list resulting in not >> all possible cpus having a trace buffer allocated. >> >> Signed-off-by: Juergen Gross > > This loo

[Xen-devel] [GIT PULL] xen: fixes for 4.19-rc2

2018-08-31 Thread Juergen Gross
| 9 +++-- drivers/xen/xenbus/xenbus_probe.c | 9 + 4 files changed, 24 insertions(+), 10 deletions(-) Colin Ian King (1): x86/xen: remove redundant variable save_pud Joe Jin (1): xen: export device state to sysfs Juergen Gross (2

[Xen-devel] [PATCH 2/2] add thread and state info to XEN_SYSCTL_cputopoinfo

2018-08-31 Thread Juergen Gross
Today the topology information obtained via XEN_SYSCTL_cputopoinfo doesn't contain the thread id. Add that. As especially with the boot parameter "smt=0" offline cpus are more common these days add a state indicator (online/offline) to the returned information as well. Signed-off-b

[Xen-devel] [PATCH 1/2] add cpu_thread_id to struct cpuinfo_x86

2018-08-31 Thread Juergen Gross
Add the thread-id to the cpu config data and an accessor macro cpu_to_thread(). Signed-off-by: Juergen Gross --- xen/arch/x86/cpu/common.c | 1 + xen/arch/x86/smpboot.c | 10 ++ xen/include/asm-arm/processor.h | 1 + xen/include/asm-x86/processor.h | 2 ++ xen/include

[Xen-devel] [PATCH 0/2] add thread id and online state to cpu topology info

2018-08-31 Thread Juergen Gross
rmation. This patch series is depending on the series "fix smt=0 fallout". Juergen Gross (2): add cpu_thread_id to struct cpuinfo_x86 add thread and state info to XEN_SYSCTL_cputopoinfo tools/libxl/libxl.c | 13 + tools/libxl/libxl_types.idl |

Re: [Xen-devel] [xen-unstable test] 127070: regressions - FAIL

2018-09-03 Thread Juergen Gross
On 03/09/18 14:44, Jan Beulich wrote: On 01.09.18 at 23:43, wrote: >> flight 127070 xen-unstable real [real] >> http://logs.test-lab.xenproject.org/osstest/logs/127070/ >> >> Regressions :-( >> >> Tests which did not succeed and are blocking, >> including tests which could not be run: >>

Re: [Xen-devel] [PATCH] tools/xl: refuse to set number of vcpus to 0 via xl vcpu-set

2018-09-03 Thread Juergen Gross
On 03/09/18 14:26, Jan Beulich wrote: On 03.09.18 at 13:59, wrote: >> --- a/tools/xl/xl_vcpu.c >> +++ b/tools/xl/xl_vcpu.c >> @@ -341,6 +341,10 @@ static int vcpuset(uint32_t domid, const char* >> nr_vcpus, int check_host) >> fprintf(stderr, "Error: Invalid argument.\n"); >>

Re: [Xen-devel] [PATCH 1/2] add cpu_thread_id to struct cpuinfo_x86

2018-09-03 Thread Juergen Gross
On 03/09/18 15:46, Jan Beulich wrote: >>>> On 31.08.18 at 18:22, wrote: >> Add the thread-id to the cpu config data and an accessor macro >> cpu_to_thread(). >> >> Signed-off-by: Juergen Gross >> --- >> xen/arch/x86/cpu/common.c

Re: [Xen-devel] [PATCH 2/2] add thread and state info to XEN_SYSCTL_cputopoinfo

2018-09-03 Thread Juergen Gross
On 03/09/18 15:49, Jan Beulich wrote: On 31.08.18 at 18:22, wrote: >> @@ -434,15 +434,19 @@ struct xen_sysctl_lockprof_op { >> }; >> >> /* XEN_SYSCTL_cputopoinfo */ >> +#define XEN_TOPO_STATE_OFFLINE 0 >> +#define XEN_TOPO_STATE_ONLINE 1 >> #define XEN_INVALID_THREAD_ID (~0U) >>

[Xen-devel] [PATCH] tools/xl: fix output of xl vcpu-pin dry run with smt=0

2018-09-03 Thread Juergen Gross
Fix another smt=0 fallout: xl -N vcpu-pin prints only parts of the affinities as it is using the number of online cpus instead of the maximum cpu number. Signed-off-by: Juergen Gross --- tools/xl/xl_vcpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xl

[Xen-devel] [PATCH] tools/xl: refuse to set number of vcpus to 0 via xl vcpu-set

2018-09-03 Thread Juergen Gross
Trying to set the number of vcpus of a domain to 0 isn't refused. We should not allow that. Signed-off-by: Juergen Gross --- tools/xl/xl_vcpu.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/xl/xl_vcpu.c b/tools/xl/xl_vcpu.c index aef486864c..45ac01beda 100644 --- a/tools/xl

[Xen-devel] [PATCH v2] tools/xl: refuse to set number of vcpus to 0 via xl vcpu-set

2018-09-03 Thread Juergen Gross
Trying to set the number of vcpus of a domain to 0 isn't refused. We should not allow that. Signed-off-by: Juergen Gross --- tools/libxl/libxl_domain.c | 6 ++ tools/xl/xl_vcpu.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_domain.c b

Re: [Xen-devel] [PATCH 1/2] add cpu_thread_id to struct cpuinfo_x86

2018-09-03 Thread Juergen Gross
On 03/09/18 16:47, Jan Beulich wrote: >>>> On 03.09.18 at 15:53, wrote: >> On 03/09/18 15:46, Jan Beulich wrote: >>>>>> On 31.08.18 at 18:22, wrote: >>>> Add the thread-id to the cpu config data and an accessor macro >>>

Re: [Xen-devel] [PATCH 1/2] add cpu_thread_id to struct cpuinfo_x86

2018-09-03 Thread Juergen Gross
wrote: >>>>>> Add the thread-id to the cpu config data and an accessor macro >>>>>> cpu_to_thread(). >>>>>> >>>>>> Signed-off-by: Juergen Gross >>>>>> --- >>>>>> xen/arch/x86/cpu/comm

Re: [Xen-devel] [xen-unstable test] 127070: regressions - FAIL

2018-09-03 Thread Juergen Gross
On 03/09/18 17:21, Jan Beulich wrote: On 03.09.18 at 14:56, wrote: >> On 03/09/18 14:44, Jan Beulich wrote: >> On 01.09.18 at 23:43, wrote: flight 127070 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/127070/ Regressions :-(

Re: [Xen-devel] [PATCH v2 2/2] xen: fill topology info for all present cpus

2018-09-04 Thread Juergen Gross
gt;> 1: 000 >> 2: 100 >> >> while with this patch the output is: >> >> cpu_topology : >> cpu:coresocket node >> 0: 00 0 >> 1: 000 &

Re: [Xen-devel] [PATCH 00/12] add per-domain and per-cpupool generic parameters

2018-09-20 Thread Juergen Gross
On 20/09/18 18:06, Wei Liu wrote: > On Wed, Sep 19, 2018 at 07:58:50PM +0200, Juergen Gross wrote: >> >> Did you look into the patches, especially patch 10? The parameters set >> are all stored in domain config via libxl__arch_domain_save_config(). > > No, I didn't. &g

[Xen-devel] [PATCH v2] xen: issue warning message when out of grant maptrack entries

2018-09-19 Thread Juergen Gross
When a driver domain (e.g. dom0) is running out of maptrack entries it can't map any more foreign domain pages. Instead of silently stalling the affected domUs issue a rate limited warning in this case in order to make it easier to detect that situation. Signed-off-by: Juergen Gross --- drivers

Re: [Xen-devel] [PATCH 09/12] tools/xl: add support for setting generic per-cpupool parameters

2018-09-26 Thread Juergen Gross
On 26/09/18 19:17, Dario Faggioli wrote: > On Tue, 2018-09-18 at 08:03 +0200, Juergen Gross wrote: >> Add a new xl command "cpupool-set-parameters" and cpupool config file >> support for setting per-cpupool generic parameters. >> >> Signed-off-by: Juergen

Re: [Xen-devel] [PATCH 00/12] add per-domain and per-cpupool generic parameters

2018-09-26 Thread Juergen Gross
On 21/09/18 10:52, Wei Liu wrote: > On Fri, Sep 21, 2018 at 07:23:23AM +0200, Juergen Gross wrote: >> On 20/09/18 18:06, Wei Liu wrote: >>> On Wed, Sep 19, 2018 at 07:58:50PM +0200, Juergen Gross wrote: >>>> >>>> Did you look into the patches, especially

Re: [Xen-devel] [PATCH 00/12] add per-domain and per-cpupool generic parameters

2018-09-27 Thread Juergen Gross
On 26/09/18 17:10, Dario Faggioli wrote: > [Hey, is it me/my mailer, or threading is weird for this series? :-O] > > On Tue, 2018-09-18 at 14:57 +0100, George Dunlap wrote: >> On 09/18/2018 02:36 PM, Juergen Gross wrote: >>> >>> The string variant is much

Re: [Xen-devel] [PATCH v3] memory_hotplug: Free pages as higher order

2018-09-27 Thread Juergen Gross
On 27/09/18 08:58, Arun KS wrote: > When free pages are done with higher order, time spend on > coalescing pages by buddy allocator can be reduced. With > section size of 256MB, hot add latency of a single section > shows improvement from 50-60 ms to less than 1 ms, hence > improving the hot add

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Juergen Gross
ront: cleanup stale persistent grants") > Signed-off-by: Boris Ostrovsky Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH] xen: issue warning message when out of grant maptrack entries

2018-09-19 Thread Juergen Gross
On 19/09/18 15:29, Boris Ostrovsky wrote: > On 9/18/18 1:17 PM, Juergen Gross wrote: >> On 18/09/18 19:03, Boris Ostrovsky wrote: >>> On 9/18/18 5:32 AM, Juergen Gross wrote: >>>> When a driver domain (e.g. dom0) is running out of maptrack entries it >>>&g

Re: [Xen-devel] [PATCH 5/6] xenbus: process be_watch events in xenwatch multithreading

2018-09-19 Thread Juergen Gross
On 19/09/18 14:27, Dongli Zhang wrote: > Hi Juergen, > > On 09/19/2018 04:01 PM, Juergen Gross wrote: >> On 19/09/18 08:15, Dongli Zhang wrote: >>> Hi Juergen, >>> >>> On 09/14/2018 10:44 PM, Juergen Gross wrote: >>>> On 14/09/18 16:29, Dong

Re: [Xen-devel] [PATCH 00/12] add per-domain and per-cpupool generic parameters

2018-09-19 Thread Juergen Gross
On 19/09/18 19:28, Wei Liu wrote: > On Tue, Sep 18, 2018 at 02:25:04PM +0100, George Dunlap wrote: >> On 09/18/2018 12:32 PM, Juergen Gross wrote: >>> On 18/09/18 13:20, Jan Beulich wrote: >>>>>>> On 18.09.18 at 13:10, wrote: >>>>> On 18/09/18

[Xen-devel] [GIT PULL] xen: fixes for 4.19-rc5

2018-09-23 Thread Juergen Gross
+-- 2 files changed, 22 insertions(+), 7 deletions(-) Boris Ostrovsky (1): xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code Juergen Gross (1): xen: issue warning message when out of grant maptrack entries

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Juergen Gross
On 27/09/2018 12:07, Oleksandr Andrushchenko wrote: > Hi, > On 09/27/2018 12:39 PM, Lars Kurth wrote: >> Adding a few people who have recently been working on PV drivers, as >> well as Julien >> Lars >> >>> On 27 Sep 2018, at 06:44, Omkar Bolla >>> >> >

Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains

2018-09-27 Thread Juergen Gross
On 27/09/2018 12:35, Omkar Bolla wrote: > Hi, > > Sorry, I forgot, I used code from github chapter [2] from that link, and > I just changed name "mydevice"  to "vdevb" Okay. > >> Error 13 is EACCESS. I guess the access rights of the Xenstore nodes >> are not sufficient to write the needed

Re: [Xen-devel] [PATCH] xen/blkfront: correct purging of persistent grants

2018-09-28 Thread Juergen Gross
On 28/09/2018 14:45, Boris Ostrovsky wrote: > On 9/28/18 3:28 AM, Juergen Gross wrote: >> Commit a46b53672b2c2e3770b38a4abf90d16364d2584b ("xen/blkfront: cleanup >> stale persistent grants") introduced a regression as purged persistent >> grants were not pu int

Re: [Xen-devel] [PATCH v3] x86-64/Xen: fix stack switching

2019-01-16 Thread Juergen Gross
d nmi(), as > those code paths are unreachable afaict when running PV Xen guests. > > Fixes: 7f2590a110b837af5679d08fc25c6227c5a8c497 > Signed-off-by: Jan Beulich > Cc: sta...@kernel.org Reviewed-by: Juergen Gross Juergen ___ Xen-devel mail

Re: [Xen-devel] [PATCH v3 for-4.12 0/7] Docs improvements, and dom0 construction fixes

2019-01-16 Thread Juergen Gross
/passthrough/vtd/x86/vtd.c | 6 - > xen/drivers/passthrough/x86/iommu.c | 14 +- > xen/include/xen/iommu.h | 2 +- > 9 files changed, 197 insertions(+), 264 deletions(-) > For the series: Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH] x86emul: correct AVX512BW write masking checks

2019-01-16 Thread Juergen Gross
d-off-by: Jan Beulich Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH] doc: correct default scheduler in xen-command-line.pandoc

2019-01-15 Thread Juergen Gross
On 15/01/2019 12:35, Juergen Gross wrote: > We have switched to credit2. Let the documentation reflect that. > > Signed-off-by: Juergen Gross And just for the records: Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list

[Xen-devel] [PATCH] doc: correct default scheduler in xen-command-line.pandoc

2019-01-15 Thread Juergen Gross
We have switched to credit2. Let the documentation reflect that. Signed-off-by: Juergen Gross --- docs/misc/xen-command-line.pandoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/misc/xen-command-line.pandoc b/docs/misc/xen-command-line.pandoc index d39bcee928

Re: [Xen-devel] [PATCH] doc: correct default scheduler in xen-command-line.pandoc

2019-01-15 Thread Juergen Gross
On 15/01/2019 12:41, Andrew Cooper wrote: > On 15/01/2019 11:40, Juergen Gross wrote: >> On 15/01/2019 12:38, Andrew Cooper wrote: >>> On 15/01/2019 11:35, Juergen Gross wrote: >>>> We have switched to credit2. Let the documentation reflect that. >>

Re: [Xen-devel] [PATCH v3] xen: Fix x86 sched_clock() interface for xen

2019-01-15 Thread Juergen Gross
On 15/01/2019 11:43, Thomas Gleixner wrote: > On Mon, 14 Jan 2019, Juergen Gross wrote: > >> Commit f94c8d11699759 ("sched/clock, x86/tsc: Rework the x86 'unstable' >> sched_clock() interface") broke Xen guest time handling across >> migration: >> >>

Re: [Xen-devel] xen-commandline document

2019-01-15 Thread Juergen Gross
On 15/01/2019 11:22, Andrew Cooper wrote: > On 15/01/2019 09:59, Juergen Gross wrote: >> On 15/01/2019 10:38, Andrew Cooper wrote: >>> On 15/01/2019 09:23, Juergen Gross wrote: >>>> Recently there have been several requests to add disclaimers >>>> l

Re: [Xen-devel] [PATCH] tools: only call git when necessary in OVMF Makefile

2019-01-15 Thread Juergen Gross
need to call `git submodule`. >> >> Fixes b16281870e. >> >> Reported-by: Olaf Hering >> Signed-off-by: Wei Liu Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH] doc: correct default scheduler in xen-command-line.pandoc

2019-01-15 Thread Juergen Gross
On 15/01/2019 12:38, Andrew Cooper wrote: > On 15/01/2019 11:35, Juergen Gross wrote: >> We have switched to credit2. Let the documentation reflect that. >> >> Signed-off-by: Juergen Gross >> --- >> docs/misc/xen-command-line.pandoc | 2 +- >> 1 f

Re: [Xen-devel] [PATCH-for-4.10] correct release note link in SUPPORT.md

2019-01-16 Thread Juergen Gross
On 16/01/2019 16:45, Ian Jackson wrote: > Juergen Gross writes ("Re: [PATCH-for-4.10] correct release note link in > SUPPORT.md"): >> On 16/01/2019 15:57, George Dunlap wrote: >>> On 1/16/19 9:46 AM, Juergen Gross wrote: >>>> +Release-Notes >>

[Xen-devel] Xen 4.12 RC1

2019-01-16 Thread Juergen Gross
Hi all, Xen 4.12 rc1 is tagged. You can check that out from xen.git: git://xenbits.xen.org/xen.git 4.12.0-rc1 For your convenience there is also a tarball at: https://downloads.xenproject.org/release/xen/4.12.0-rc1/xen-4.12.0-rc1.tar.gz And the signature is at:

Re: [Xen-devel] [PATCH v3] xen: Fix x86 sched_clock() interface for xen

2019-01-16 Thread Juergen Gross
On 16/01/2019 16:07, Boris Ostrovsky wrote: > On 1/16/19 9:33 AM, Juergen Gross wrote: >> On 16/01/2019 14:17, Boris Ostrovsky wrote: >>> On Wed, Jan 16, 2019 at 08:50:13AM +0100, Juergen Gross wrote: >>> >>>> @@ -1650,13 +1

Re: [Xen-devel] [PATCH-for-4.10] correct release note link in SUPPORT.md

2019-01-16 Thread Juergen Gross
On 16/01/2019 15:57, George Dunlap wrote: > On 1/16/19 9:46 AM, Juergen Gross wrote: >> The syntax for the release note link in SUPPORT.md is wrong. Correct >> that. >> >> Signed-off-by: Juergen Gross > --- >> SUPPORT.md | 4 +++- >> 1 file changed, 3 ins

[Xen-devel] [PATCH-for-4.10/4.11] libxl: don't set gnttab limits in soft reset case

2019-01-17 Thread Juergen Gross
-by: Jim Fehlig Signed-off-by: Juergen Gross Tested-by: Jim Fehlig --- 4.12 is not affected due to Andrew's domain creation interface changes, 4.9 and earlier are not affected due to xc_domain_set_gnttab_limits() only having been introduced in 4.10. --- tools/libxl/libxl_create.c | 5 +++-- tools

Re: [Xen-devel] [PATCH 1/3] credit2: libxc related changes to add support for runqueue per cpupool.

2019-01-17 Thread Juergen Gross
On 17/01/2019 17:10, anshul wrote: > > On 14/09/2017 13:58, Dario Faggioli wrote: >> On Thu, 2017-09-14 at 08:42 +0200, Juergen Gross wrote: >>>> --- a/tools/libxc/include/xenctrl.h >>>> +++ b/tools/libxc/include/xenctrl.h >>>> @@ -1

Re: [Xen-devel] [PATCH v3 1/7] docs: Improve documentation for dom0= and dom0-iommu=

2019-01-17 Thread Juergen Gross
On 17/01/2019 10:08, Andrew Cooper wrote: > On 17/01/2019 08:43, Roger Pau Monné wrote: >> On Wed, Jan 16, 2019 at 07:51:33PM +, Andrew Cooper wrote: >>> On 16/01/2019 11:52, Jan Beulich wrote: >>> On 16.01.19 at 10:00, wrote: > --- a/docs/misc/xen-command-line.pandoc > +++

Re: [Xen-devel] [PATCH 0/2] add xl command to get hypervisor .config

2019-01-18 Thread Juergen Gross
On 18/01/2019 12:38, George Dunlap wrote: > On 1/17/19 3:23 PM, Juergen Gross wrote: >> On 17/01/2019 15:57, Juergen Gross wrote: >>> Add "xl get-config" printing the .config used to build the currently >>> running hypervisor. >> >> BTW: I'd l

Re: [Xen-devel] [PATCH for-4.12] libxl: fix error message for unsharing namespaces

2019-01-18 Thread Juergen Gross
On 18/01/2019 15:06, Ian Jackson wrote: > Wei Liu writes ("[PATCH] libxl: fix error message for unsharing namespaces"): >> Signed-off-by: Wei Liu > > Thanks. IMO this simple bugfix should go into 4.12. I agree (while I kind of like the "unfailed" :-)

Re: [Xen-devel] [PATCH v3 3/3] xen: add CONFIG item for default dom0 memory size

2019-01-18 Thread Juergen Gross
On 18/01/2019 14:44, Andrew Cooper wrote: > On 18/01/2019 13:19, Juergen Gross wrote: >> On 18/01/2019 14:13, Andrew Cooper wrote: >>> On 10/12/2018 11:44, Juergen Gross wrote: >>>> With being able to specify a dom0_mem value depending on host memory >>>

[Xen-devel] [GIT PULL] xen: fixes for 5.0-rc3

2019-01-18 Thread Juergen Gross
| 2 +- drivers/xen/pvcalls-back.c | 9 ++-- drivers/xen/pvcalls-front.c | 104 --- 5 files changed, 90 insertions(+), 42 deletions(-) Juergen Gross (1): xen: Fix x86 sched_clock() interface for xen Stefano Stabellini (5): pvcalls-front

Re: [Xen-devel] [PATCH v3 3/3] xen: add CONFIG item for default dom0 memory size

2019-01-18 Thread Juergen Gross
On 18/01/2019 14:13, Andrew Cooper wrote: > On 10/12/2018 11:44, Juergen Gross wrote: >> With being able to specify a dom0_mem value depending on host memory >> size on x86 make it easy for distros to specify a default dom0 size by >> adding a CONFIG_DOM0_MEM item which pres

Re: [Xen-devel] [PATCH 2/2] docs: Fix links in html generation of man pages

2019-01-15 Thread Juergen Gross
ssing some joining word like `See', and a full stop, too. > I still don't know why a cache is needed for it to make it into a > link. Can we do some seddery to this too ? > > > Anyway, this patch of yours is a big improvement, so: > > Acked-by: Ian Jackson > > I thi

Re: [Xen-devel] [PATCH 1/2] man: Fix links in xl(1)

2019-01-15 Thread Juergen Gross
On 15/01/2019 16:54, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH 1/2] man: Fix links in xl(1)"): >> All links to other manpages should contain the man section number. > > Acked-by: Ian Jackson Release-acked-by:

Re: [Xen-devel] [PATCH V3] x86/vm_event: block interrupt injection for sync vm_events

2019-01-14 Thread Juergen Gross
> from an introspection standpoint (fixes OS crashes / hangs which we'd > otherwise need to work around in rather painful ways). > > 4. V3 of the patch has been sent out on Dec 14th - it's just that > reviewers have had other priorities and it did not gather all acks in time. >

[Xen-devel] Please cut 4.12-rc1

2019-01-15 Thread Juergen Gross
Ian, with the push this morning I guess we have a good base for 4.12-rc1. Please cut 4.12-rc1 on current master: commit 93a62c544e20ba9e141e411bbaae3d65259d13a3 Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-01-15 Thread Juergen Gross
On 15/01/2019 21:03, Stewart Hildebrand wrote: > On Tuesday, January 15, 2019 3:21 AM, Jan Beulich wrote: >> First of all we should explore whether the variables could also be >> linker generated, in particular to avoid the current symbols to be >> global (thus making it impossible to access them

[Xen-devel] xen-commandline document

2019-01-15 Thread Juergen Gross
Recently there have been several requests to add disclaimers like "only applicable if CONFIG_xyz defined" to docs/misc/xen-command-line.pandoc. As that file will be used as source for the installed file /usr/share/doc/xen/html/misc/xen-command-line.html there might be a better alternative instead

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-01-21 Thread Juergen Gross
On 22/01/2019 00:41, Stefano Stabellini wrote: > On Mon, 21 Jan 2019, Jan Beulich wrote: > On 19.01.19 at 00:05, wrote: >>> On Fri, 18 Jan 2019, Jan Beulich wrote: >>> On 18.01.19 at 02:24, wrote: > On Thu, 17 Jan 2019, Jan Beulich wrote: > On 17.01.19 at 01:37, wrote:

[Xen-devel] [PATCH 1/2] x86: respect memory size limiting via mem= parameter

2019-01-22 Thread Juergen Gross
CI devices due to corresponding ACPI table entries. Not respecting "mem=" can be corrected by adding a global max_mem_size variable set by parse_memopt() which will result in rejecting adding memory areas resulting in a memory size above the allowed limit. Signed-off-by: Juergen Gross

[Xen-devel] [PATCH 0/2] x86: respect memory size limits

2019-01-22 Thread Juergen Gross
blems (e.g. avoiding to add only parts of a 128MB memory bar which might be difficult to remove later). Juergen Gross (2): x86: respect memory size limiting via mem= parameter x86/xen: dont add memory above max allowed allocation arch/x86/kernel/e820.c | 5 + arch/x86/xen/setup.c

[Xen-devel] [PATCH 2/2] x86/xen: dont add memory above max allowed allocation

2019-01-22 Thread Juergen Gross
] [] phys_pmd_init+0x210/0x255 [ 584.681587] [] phys_pud_init+0x1da/0x247 [ 584.687931] [] kernel_physical_mapping_init+0xf5/0x1d4 [ 584.695682] [] init_memory_mapping+0x18d/0x380 [ 584.702631] [] arch_add_memory+0x59/0xf0 Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 5 + 1 file

Re: [Xen-devel] [PATCH 2/2] x86/xen: dont add memory above max allowed allocation

2019-01-22 Thread Juergen Gross
On 22/01/2019 09:52, Jan Beulich wrote: On 22.01.19 at 09:06, wrote: >> Don't allow memory to be added above the allowed maximum allocation >> limit set by Xen. > > This reads as if the hypervisor was imposing a limit here, but looking at > xen_get_max_pages(), xen_foreach_remap_area(), and

Re: [Xen-devel] [PATCH v2 1/2] docs: Fix all links to Xen man pages in html

2019-01-22 Thread Juergen Gross
s scheme "relative" and > can end up with nice relative links. > > Signed-off-by: Anthony PERARD > Acked-by: Ian Jackson Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 2/2] man: Highlight reference in xl-disk-configuration(5)

2019-01-22 Thread Juergen Gross
On 16/01/2019 17:16, Anthony PERARD wrote: > Provide a better way to see the link to a different manpage, with simple > words. > > Suggested-by: Ian Jackson > Signed-off-by: Anthony PERARD > Acked-by: Ian Jackson Release-acked-by: Juerge

Re: [Xen-devel] [PATCH 6/6] x86: xen: no need to check return value of debugfs_create functions

2019-01-23 Thread Juergen Gross
On 22/01/2019 15:35, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Boris Ostrovsky > Cc: Juergen Gr

Re: [Xen-devel] [PATCH] xen/sched: Introduce domain_vcpu() helper

2019-01-23 Thread Juergen Gross
ialisation offered by the global domheap lock. > > As a minor change noticed when checking the safety of this construct, sanity > check during boot that idle->max_vcpus is a suitable upper bound for > idle->vcpu[]. > > Signed-off-by: Andrew Cooper Release-acked-by: Juergen Gross

Re: [Xen-devel] [PATCH v3 1/7] docs: Improve documentation for dom0= and dom0-iommu=

2019-01-17 Thread Juergen Gross
On 17/01/2019 12:59, Jan Beulich wrote: On 17.01.19 at 10:14, wrote: >> On 17/01/2019 10:08, Andrew Cooper wrote: >>> On 17/01/2019 08:43, Roger Pau Monné wrote: On Wed, Jan 16, 2019 at 07:51:33PM +, Andrew Cooper wrote: > On 16/01/2019 11:52, Jan Beulich wrote: > On

Re: [Xen-devel] [PATCH v3 1/3] docs/features/qemu-deprivilege.pandoc: No support with Linux <2.6.18

2019-01-16 Thread Juergen Gross
On 14/01/2019 15:59, Ian Jackson wrote: > Some early kernesl are known not to reject unknown flags to s/kernesl/kernels/ > unshare(). There may be other problems. > > CC: Jan Beulich > Signed-off-by: Ian Jackson For the series: Release-acked-by: Juergen G

[Xen-devel] [PATCH 0/2] add xl command to get hypervisor .config

2019-01-17 Thread Juergen Gross
Add "xl get-config" printing the .config used to build the currently running hypervisor. Juergen Gross (2): xen: add interface for obtaining .config from hypervisor tools: add new xl command get-config for getting hypervisor config .gitignore | 2 ++ doc

[Xen-devel] [PATCH 1/2] xen: add interface for obtaining .config from hypervisor

2019-01-17 Thread Juergen Gross
Add a sysctl interface for obtaining the .config file used to build the hypervisor. The mechanism is inspired by the Linux kernel's one. Signed-off-by: Juergen Gross --- .gitignore | 2 ++ tools/flask/policy/modules/dom0.te | 2 +- xen/common/Makefile

[Xen-devel] [PATCH 2/2] tools: add new xl command get-config for getting hypervisor config

2019-01-17 Thread Juergen Gross
Add new subcommand "get-config" to xl config to print the hypervisor .config file. To be able to reuse already existing decompressing code in libxenguest xc_inflate_buffer() has to be moved to libxenguest.h. Signed-off-by: Juergen Gross --- docs/man/xl.1.pod.in | 5 ++

Re: [Xen-devel] [PATCH 1/2] xen: add interface for obtaining .config from hypervisor

2019-01-17 Thread Juergen Gross
On 17/01/2019 16:12, Wei Liu wrote: > On Thu, Jan 17, 2019 at 03:57:21PM +0100, Juergen Gross wrote: >> Add a sysctl interface for obtaining the .config file used to build >> the hypervisor. The mechanism is inspired by the Linux kernel's one. >> >> S

Re: [Xen-devel] [PATCH 2/2] tools: add new xl command get-config for getting hypervisor config

2019-01-17 Thread Juergen Gross
On 17/01/2019 16:12, Wei Liu wrote: > On Thu, Jan 17, 2019 at 03:57:22PM +0100, Juergen Gross wrote: >> Add new subcommand "get-config" to xl config to print the hypervisor >> .config file. > > I slight prefer get-xen-config or get-hypervisor-config. I'd be happy

Re: [Xen-devel] [PATCH 0/2] add xl command to get hypervisor .config

2019-01-17 Thread Juergen Gross
On 17/01/2019 15:57, Juergen Gross wrote: > Add "xl get-config" printing the .config used to build the currently > running hypervisor. BTW: I'd like to have feedback especially if someone thinks this series should by any means be part of 4.12. If not I'll send out V2 with bu

[Xen-devel] [PATCH-for-4.11] correct release note link in SUPPORT.md

2019-01-16 Thread Juergen Gross
The syntax for the release note link in SUPPORT.md is wrong. Correct that. Signed-off-by: Juergen Gross --- SUPPORT.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SUPPORT.md b/SUPPORT.md index 98ab52eda9..de388d0afa 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -13,7

[Xen-devel] [PATCH-for-4.10] correct release note link in SUPPORT.md

2019-01-16 Thread Juergen Gross
The syntax for the release note link in SUPPORT.md is wrong. Correct that. Signed-off-by: Juergen Gross --- SUPPORT.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SUPPORT.md b/SUPPORT.md index 6d417a618e..2ec77bf2cc 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -13,7

Re: [Xen-devel] [PATCH v3] xen: Fix x86 sched_clock() interface for xen

2019-01-15 Thread Juergen Gross
On 16/01/2019 01:24, Hans van Kranenburg wrote: > Hi, > > On 1/14/19 1:44 PM, Juergen Gross wrote: >> Commit f94c8d11699759 ("sched/clock, x86/tsc: Rework the x86 'unstable' >> sched_clock() interface") broke Xen guest time handling across >> migration: >

Re: [Xen-devel] [PATCH v6 1/4] xen: introduce SYMBOL

2019-01-16 Thread Juergen Gross
On 16/01/2019 00:36, Stefano Stabellini wrote: > On Tue, 15 Jan 2019, Jan Beulich wrote: >>> Yes, this instance is only the tip of the >>> iceberg, we have a long road ahead, but we shouldn't really give up >>> because it is going to be difficult :-) Stewart's approach would >>> actually be

Re: [Xen-devel] xen-commandline document

2019-01-15 Thread Juergen Gross
On 15/01/2019 10:38, Andrew Cooper wrote: > On 15/01/2019 09:23, Juergen Gross wrote: >> Recently there have been several requests to add disclaimers >> like "only applicable if CONFIG_xyz defined" to >> docs/misc/xen-command-line.pandoc. >> >> As that fi

Re: [Xen-devel] [PATCH for-4.12] xen/arm: gic: Make sure the number of interrupt lines is valid before using it

2019-01-23 Thread Juergen Gross
we compute it so we know we can >>> safely using it afterwards. >>> >>> Signed-off-by: Julien Grall >>> Reported-by: Jan-Peter Larsson >> >> Reviewed-by: Stefano Stabellini > > Would it be possible to give an RAB for this patch? Relea

Re: [Xen-devel] [PATCH for-4.12] amd/iommu: fix present bit checking when clearing PTE

2019-01-23 Thread Juergen Gross
y: Roger Pau Monné Release-acked-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

<    8   9   10   11   12   13   14   15   16   17   >