Re: [XEN PATCH v4] xen/arinc653: fix delay in the start of major frame

2025-07-25 Thread Dario Faggioli
Choi > > Reviewed-by: Stewart Hildebrand > Ok, cool, there were versions of these series that my filters did miss, and that's why I replied to v1. :-/ Well, scratch that email, and sorry for the noise. Regards, -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualizati

Re: [XEN PATCH] xen/arinc653: fix delay in the start of major frame

2025-07-25 Thread Dario Faggioli
se according to my knowledge of periodic real-time scheduling. I think the patch can have my: Acked-by: Dario Faggioli With the only caveat that I don't have any specific knowledge or experience with the details of the ARINC653 algorithms, and hence I cannot tell for sure whether or not the new

Problem building (docs) with -j1

2025-04-30 Thread Dario Faggioli
clude:: qemu-block-drivers.rst.inc system/images.rst:.. include:: qemu-block-drivers.rst.inc How can we deal with this? Thanks and Regards, -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --

No display in Xen PV guests: "This VM has no graphic display device."

2024-12-11 Thread Dario Faggioli
ing patches, etc)... So let me know what I can do. :-) Regards, -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.as

SRSO mitigation in microcode not passed through to VMs

2024-07-26 Thread Dario Faggioli
rm in which it appears in that email) still correct? Thanks and Regards, -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.asc Description: This is a digitally signed message part

Re: [PATCH] MAINTAINERS: add me as scheduer maintainer

2024-06-14 Thread Dario Faggioli
> --- > >  MAINTAINERS | 1 + > >  1 file changed, 1 insertion(+) > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 6ba7d2765f..cc40c0be9d 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -490,6 +490,7 @@ F: xen/common/sched/rt.c

Re: Add iommu device when VM configured with > 255 vcpus

2024-05-31 Thread Dario Faggioli via Devel
On Fri, 2024-05-31 at 11:16 +0100, Joao Martins wrote: > On 30/05/2024 18:00, Dario Faggioli via Devel wrote: > > > > IIUIC, it's a matter of number of bits available in the I/O APIC > > IRQ > > destination register. Like, with only that available, and it being &g

Re: Add iommu device when VM configured with > 255 vcpus

2024-05-30 Thread Dario Faggioli via Devel
load > would be able to use VM as intended.  > Ok. But then why Libvirt does not let me define a VM with more than 255 vCPUs and no vIOMMU ? I mean, basing on what you're saying, it seems that such should depend (but, if yes, I'm not sure how) on guest OS too... doesn't it

No virtio devices in SeaBIOS VMs

2024-02-28 Thread Dario Faggioli
cgi?id=1219977 [2] well, I actually reverted a6ed6b701f0a57db0569ab98b0661c12a6ec3ff8 too, for convenience -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ---

Re: [XEN PATCH] xen/sched: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-08-04 Thread Dario Faggioli
hall use the same > > names > > and type qualifiers"). > > > > No functional changes. > > > > Signed-off-by: Federico Serafini > > Reviewed-by: Stefano Stabellini > Acked-by: Dario Faggioli Thanks and Regards -- Dario

Re: ack needed [XEN PATCH v3] xen/sched: mechanical renaming to address MISRA C:2012 Rule 5.3

2023-08-04 Thread Dario Faggioli
On Mon, 2023-07-31 at 14:40 -0700, Stefano Stabellini wrote: > George, Dario, > > Please ack > Looks good to me. Acked-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://

Re: [PATCH v1] xen/sched/null: avoid crash after failed domU creation

2023-05-22 Thread Dario Faggioli
On Thu, 2023-05-18 at 17:27 -0400, Stewart Hildebrand wrote: > On 5/5/23 01:59, Juergen Gross wrote: > > > > > > Signed-off-by: Stewart Hildebrand > > > > Reviewed-by: Juergen Gross > > Thanks for the review. Does this still need a maintainer ac

[PATCH v2] pc: q35: Bump max_cpus to 1024

2022-11-18 Thread Dario Faggioli
Keep the old limit of 288 for machine versions 7.2 and earlier. Signed-off-by: Dario Faggioli --- Cc: Paolo Bonzini Cc: Richard Henderson Cc: Eduardo Habkost Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum --- Changes from v1: - fix actually keeping the old max value for the 7.2 ma

Re: [PATCH] pc: q35: Bump max_cpus to 1024

2022-11-17 Thread Dario Faggioli
Well... On Thu, 2022-11-17 at 16:27 +0100, Dario Faggioli wrote: > Keep the old limit of 288 for machine versions 7.2 and earlier. > ...At least, this was the idea... > --- a/hw/i386/pc_q35.c > +++ b/hw/i386/pc_q35.c > @@ -386,6 +386,7 @@ static void > pc_q35_7_1_machine_optio

[PATCH] pc: q35: Bump max_cpus to 1024

2022-11-17 Thread Dario Faggioli
Keep the old limit of 288 for machine versions 7.2 and earlier. Signed-off-by: Dario Faggioli --- Cc: Paolo Bonzini Cc: Richard Henderson Cc: Eduardo Habkost Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum --- This is related to: https://lore.kernel.org/

How about increasing max_cpus for q35 ?

2022-11-09 Thread Dario Faggioli
ent in pc_q35_machine_options() ? Or do we want a new version of the machine type or something like that? Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/

Re: [PATCH] xen/sched: try harder to find a runnable unit in rt_schedule()

2022-11-04 Thread Dario Faggioli
On Fri, 2022-10-21 at 12:39 +0200, Juergen Gross wrote: > Instead of directly falling back to the idle unit in case the top > unit from the run queue happened to be not runnable, consult the run > queue again. > > Suggested-by: Dario Faggioli > Signed-off-by: Juergen Gross &g

Re: [PATCH] xen/notifier: simplify using notifier_[to|from]_errno()

2022-11-04 Thread Dario Faggioli
? 0 : notifier_to_errno(notifier_rc); > > Simplify the use cases by moving the handling of the success case > into > the functions. > > Signed-off-by: Juergen Gross > --- > ... >  xen/common/sched/core.c | 2 +- >  xen/common/sched/cpupool.c      |

Re: [PATCH-for-4.17 v3] xen/sched: migrate timers to correct cpus after suspend

2022-11-04 Thread Dario Faggioli
ed: don't disable scheduler on cpus > during suspend") > Signed-off-by: Juergen Gross > Tested-by: Marek Marczykowski-Górecki > > Acked-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https:/

Re: [PATCH 17/19] xen: don't free percpu areas during suspend

2022-10-21 Thread Dario Faggioli
On Fri, 2022-10-07 at 13:17 +0200, Juergen Gross wrote: > On 07.10.22 12:32, Mykyta Poturai wrote: > > > > Signed-off-by: Juergen Gross > > I can't remember having written this patch. The one I remember was > for > x86. > > > Reviewed-by: Dario Faggiol

Re: [PATCH-for-4.17] xen/sched: fix race in RTDS scheduler

2022-10-21 Thread Dario Faggioli
ct and should be applied, no matter what the outcome of this subthread will be. :-) Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ---

Re: [PATCH-for-4.17] xen/sched: fix race in RTDS scheduler

2022-10-21 Thread Dario Faggioli
407e7772 ("xen/sched: introduce unit_runnable_state()") > Signed-off-by: Juergen Gross > Acked-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --

Re: [PATCH-for-4.17] xen/sched: fix restore_vcpu_affinity() by removing it

2022-10-21 Thread Dario Faggioli
0b04 ("xen: sched: simplify ACPI S3 resume path.") > > This Fixes: tag is wrong. It should be: > > Fixes: 8a04eaa8ea83 ("xen/sched: move some per-vcpu items to struct > sched_unit") > Acked-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about

Re: [PATCH] block/io_uring: revert "Use io_uring_register_ring_fd() to skip fd operations"

2022-10-07 Thread Dario Faggioli
ves: https://gitlab.com/qemu-project/qemu/-/issues/1193 > > [...] > > This reverts commit e2848bc574fe2715c694bf8fe9a1ba7f78a1125a > and 77e3f038af1764983087e3551a0fde9951952c4d. > > Signed-off-by: Sam Li > Tested-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D htt

Re: [PATCH] block/io_uring: revert "Use io_uring_register_ring_fd() to skip fd operations"

2022-10-07 Thread Dario Faggioli
ves: https://gitlab.com/qemu-project/qemu/-/issues/1193 > > [...] > > This reverts commit e2848bc574fe2715c694bf8fe9a1ba7f78a1125a > and 77e3f038af1764983087e3551a0fde9951952c4d. > > Signed-off-by: Sam Li > Tested-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D htt

Re: [Xen-devel] Xen crash after S3 suspend - Xen 4.13 and newer

2022-09-07 Thread Dario Faggioli
nsive test, but just dom0 was enough to crash it before, and > it > stays working now. > That's very cool to hear! Thanks for testing and reporting back. Just to be sure, did you check both Credit1 and Credit2 and do they both work, with Juergen's patch? Thanks again and

Re: [libvirt] [PATCH 2/2] qemu: Remove host-passthrough validation check for host-phys-bits=on

2022-09-02 Thread Dario Faggioli
ed 52, it's a problem. But maybe this is not something that should be solved at this level, as it's probably the job of `virsh cpu-baseline`? Does that includes and takes into account this aspect (phys-bits) already? So, yeah, if that check was too much policying, I think it&#

Re: [PATCH 1/2] xen: sched: dom0_vcpus_pin should only affect dom0

2022-08-03 Thread Dario Faggioli
On Wed, 2022-08-03 at 08:19 +0200, Jan Beulich wrote: > On 02.08.2022 18:08, Dario Faggioli wrote: > > > ... for it to be strictly only Dom0, you want to check d- > > > >domain_id > > > here. > > > > > Ok, I'll send an update that does tha

[PATCH v2 2/2] xen/sched: setup dom0 vCPUs affinity only once

2022-08-03 Thread Dario Faggioli
user changes the hard-affinity. And this could result in the vCPUs behaving differently than what the user wanted and expects. Fixes: dafd936dddbd ("Make credit2 the default scheduler") Reported-by: Olaf Hering Signed-off-by: Dario Faggioli Reviewed-by: Jan Beulich --- Cc: Jan Be

[PATCH v2 1/2] xen: sched: dom0_vcpus_pin should only affect dom0

2022-08-03 Thread Dario Faggioli
If dom0_vcpus_pin is used, make sure the pinning is only done for dom0 vcpus, instead of for the hardware domain (which might not be dom0 at all!). Suggested-by: Jan Beulich Signed-off-by: Dario Faggioli Reviewed-by: Jan Beulich --- Cc: George Dunlap --- Changes from v1: - check domain_id to

[PATCH v2 0/2] xen: credit2: fix boot hangs if dom0_nodes is used

2022-08-03 Thread Dario Faggioli
atch 2). While there, make the dom0_vcpus_pin boot parameter more precise, by making sure that it is applied only to actual dom0's vCPUs, and not to the vCPUs of the hardware domain, which may or may not be dom0 itself (patch 2). Regards --- Dario Faggioli (2): xen: sched: dom0_vcpus_pin should onl

Re: [PATCH 1/2] xen: sched: dom0_vcpus_pin should only affect dom0

2022-08-02 Thread Dario Faggioli
On Tue, 2022-08-02 at 16:56 +0200, Jan Beulich wrote: > On 02.08.2022 15:51, Dario Faggioli wrote: > > If dom0_vcpus_pin is used, make sure the pinning is only done for > > dom0 vcpus, instead of for the hardware domain (which might not be > > dom0 at all!). > > Hmm,

Re: [PATCH 2/2] xen/sched: setup dom0 vCPUs affinity only once

2022-08-02 Thread Dario Faggioli
Mmm... this patch has a few hard-tabs in it! Apologies for that. :-/ I'm attaching a version without them, but I surely can resubmit the series with this fixed, it that's easier. Regards, and Sorry again On Tue, 2022-08-02 at 15:51 +0200, Dario Faggioli wrote: > Right now, affi

[PATCH 2/2] xen/sched: setup dom0 vCPUs affinity only once

2022-08-02 Thread Dario Faggioli
user changes the hard-affinity. And this could result in the vCPUs behaving differently than what the user wanted and expects. Fixes: dafd936ddd ("Make credit2 the default scheduler") Reported-by: Olaf Hering Signed-off-by: Dario Faggioli --- Cc: Jan Beulich Cc: George Dunlap --- Ch

[PATCH 1/2] xen: sched: dom0_vcpus_pin should only affect dom0

2022-08-02 Thread Dario Faggioli
If dom0_vcpus_pin is used, make sure the pinning is only done for dom0 vcpus, instead of for the hardware domain (which might not be dom0 at all!). Suggested-by: Jan Beulich Signed-off-by: Dario Faggioli --- Cc: George Dunlap --- Difference from "RFC" [1]: - new patch

[PATCH 0/2] xen: credit2: fix boot hangs if dom0_nodes is used

2022-08-02 Thread Dario Faggioli
rdware domain, which may or may not be dom0 itself (patch 2). Regards --- Dario Faggioli (2): xen: sched: dom0_vcpus_pin should only affect dom0 xen/sched: setup dom0 vCPUs affinity only once xen/common/sched/core.c | 63 + 1 file changed,

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-08-01 Thread Dario Faggioli
it, re-test it and send it before disappearing for a couple of weeks for vacations... Sorry it's taking so long. Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Lab

Re: [PATCH v2 9/9] qemu: Place helper processes into the same trusted group

2022-07-15 Thread Dario Faggioli
do fork all helpers, and then "clear" the cookie for it. But I guess that would be even worse... Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ---

[RESEND PATCH 1/2] modules: introduces module_kconfig directive

2022-05-27 Thread Dario Faggioli
problem. The correct way to use module_kconfig is by passing the Kconfig option to module_kconfig (or the *config-devices.mak without CONFIG_). Signed-off-by: Jose R. Ziviani Signed-off-by: Dario Faggioli --- Cc: Gerd Hoffmann Cc: John Snow Cc: Cleber Rosa Cc: Paolo Bonzini Cc: qemu-s3

[RESEND PATCH 2/2] modules: generates per-target modinfo

2022-05-27 Thread Dario Faggioli
From: Jose R. Ziviani This patch changes the way modinfo is generated and built. Instead of one modinfo.c it generates one modinfo--softmmu.c per target. It aims a fine-tune control of modules by configuring Kconfig. Signed-off-by: Jose R. Ziviani Signed-off-by: Dario Faggioli --- Cc: Gerd

[RESEND PATCH 0/2] modules: Improve modinfo.c support

2022-05-27 Thread Dario Faggioli
Hello, This is a RESEND of patch series "[PATCH v3 0/2] modules: Improve modinfo.c support", from Sept 2021. Message-ID: <20210928204628.20001-1-jzivi...@suse.de> https://lore.kernel.org/qemu-devel/20210928204628.20001-1-jzivi...@suse.de/ Jose sent it because we were having issues building QEMU

QEMU malfunctioning if built with FORTIFY_SOURCE=3

2022-05-27 Thread Dario Faggioli
way around, i.e., someone already has more info on the subject that I've not been able to find, feel free to ping me. :-) Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ---

[PATCH] tests/Makefile.include: Fix 'make check-help' output

2022-05-27 Thread Dario Faggioli
Since commit 3d2f73ef75e ("build: use "meson test" as the test harness"), check-report.tap is no more, and we have check-report.junit.xml. Update the output of 'make check-help', which was still listing 'check-report.tap', accordingly. Fixes: 3d2f73ef7

Re: make -j check failing on master, interesting valgrind errors on qos-test vhost-user-blk-test/basic

2022-05-27 Thread Dario Faggioli
On Fri, 2022-05-27 at 10:18 +0200, Claudio Fontana wrote: > On 5/27/22 9:26 AM, Dario Faggioli wrote: > > > > > Yes, this kind of matches what I've also seen and reported about in > > <5bcb5ceb44dd830770d66330e27de6a4345fcb69.ca...@suse.com>. If > >

Re: make -j check failing on master, interesting valgrind errors on qos-test vhost-user-blk-test/basic

2022-05-27 Thread Dario Faggioli
;. If enable/run just one of: - reconnect - flags_mismatch - connect_fail I see no issues. As soon as two of those are run, one after the other, the problem starts to appear. However, Claudio, AFAIUI, you're seeing this with an older GCC and without LTO, right? Regards -- Dario Faggioli, Ph.D http://a

Re: [PATCH RFC 00/10] qemu: Enable SCHED_CORE for domains and helper processes

2022-05-26 Thread Dario Faggioli
On Thu, 2022-05-26 at 14:01 +0200, Dario Faggioli wrote: > Thoughts? > Oh, and there are even a couple of other (potential) use case, for having an (even more!) fine grained control of core-scheduling. So, right now, giving a virtual topology to a VM, pretty much only makes sense if the

Re: [PATCH RFC 00/10] qemu: Enable SCHED_CORE for domains and helper processes

2022-05-26 Thread Dario Faggioli
or all... E.g., we can offer it as an higher SLA, and ask more money for a VM that has it. Thoughts? In any case, even if we decide that we do want per-VM core-scheduling, e.g., for the above mentioned reasons, I guess it can come later, as a further improvement (and I'd be happy to help

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-25 Thread Dario Faggioli
On Wed, 2022-05-25 at 09:40 +, Dario Faggioli wrote: > On Wed, 2022-05-25 at 07:41 +0100, Alex Bennée wrote: > > > > Does it still trigger errors with my latest virtio cleanup series > > (which > > adds more tests to qos-test): > > > >   Subject: [P

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-25 Thread Dario Faggioli
On Wed, 2022-05-25 at 07:41 +0100, Alex Bennée wrote: > Dario Faggioli writes: > > I'll try to dig further. Any idea/suggestion anyone has, feel free. > > :-) > > Sounds like there are still memory corruption/not initialised issues > that are affected by moving thi

Re: [PATCH v3 0/2] modules: Improve modinfo.c support

2022-05-25 Thread Dario Faggioli
On Wed, 2022-05-25 at 08:32 +0200, Gerd Hoffmann wrote: > On Tue, May 24, 2022 at 01:49:41PM +0200, Dario Faggioli wrote: > > Hello! Sorry for bringing up an old thread, but I'd have a question > > about this series. > > > > As far as I can see, the patches were fi

Re: Problem running qos-test when building with gcc12 and LTO

2022-05-24 Thread Dario Faggioli
On Mon, 2022-05-23 at 19:19 +, Dario Faggioli wrote: > As soon as I get rid of _both_ "-flto=auto" _and_ "--enable-lto", the > above tests seem to work fine. > > When they fail, they fail immediately, while creating the graph, like > this: > > MALLOC

Re: [PATCH v3 0/2] modules: Improve modinfo.c support

2022-05-24 Thread Dario Faggioli
|| continue > >     res=$(./$qemu -nodefaults -display none -accel tcg -M none > > -device help 2>&1 | grep "Failed to" > /dev/null; echo $?) > >     [[ $res -eq 0 ]] &&

Re: [PATCH] hostmem: default the amount of prealloc-threads to smp-cpus

2022-05-18 Thread Dario Faggioli
people/distros that have, say, QEMU 6.2 and Libvirt 8.0.0, or something like that), there's basically nothing they can do... Except perhaps command line passthrough [1], but that's really rather tricky! So, I personally don't know where any default should be set and how, but the abov

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-29 Thread Dario Faggioli
On Fri, 2022-04-29 at 14:16 +0200, Jan Beulich wrote: > On 29.04.2022 12:52, Dario Faggioli wrote: > > > Is that mainly > > > to have a way to record preferences even when all preferred CPUs > > > are > > > offline, to be able to go back to the preferences

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-29 Thread Dario Faggioli
On Wed, 2022-04-13 at 12:00 +0200, Jan Beulich wrote: > On 12.04.2022 18:11, Dario Faggioli wrote: > > --- a/xen/common/sched/core.c > > +++ b/xen/common/sched/core.c > > @@ -572,11 +572,41 @@ int sched_init_vcpu(struct vcpu *v) > > } > >   > > /* &

Re: [PATCH 5/8] xen/sched: Remove unused-but-set variable

2022-04-27 Thread Dario Faggioli
viewed-by: Juergen Gross > Acked-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.a

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-12 Thread Dario Faggioli
On Tue, 2022-04-12 at 16:11 +, Dario Faggioli wrote: > +    else if ( is_hardware_domain(d) ) > +    { > +    /* > + * In absence of dom0_vcpus_pin, the hard and soft affinity > of > + * domain-0 is controlled by the dom0_nodes parameter. At > this p

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-12 Thread Dario Faggioli
On Tue, 2022-04-12 at 16:11 +, Dario Faggioli wrote: > On Tue, 2022-04-12 at 15:48 +0000, Dario Faggioli wrote: > > On Fri, 2022-04-08 at 14:36 +0200, Jan Beulich wrote: > > > > > > And while doing that, I think we should consolidate touching the > > affinity

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-12 Thread Dario Faggioli
On Tue, 2022-04-12 at 15:48 +, Dario Faggioli wrote: > On Fri, 2022-04-08 at 14:36 +0200, Jan Beulich wrote: > > > And while doing that, I think we should consolidate touching the > affinity only there, avoiding altering it twice. After all, we > already > know how it

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-12 Thread Dario Faggioli
On Fri, 2022-04-08 at 14:36 +0200, Jan Beulich wrote: > On 08.04.2022 13:20, Dario Faggioli wrote: > > On Thu, 2022-04-07 at 15:27 +0200, Jan Beulich wrote: > > > Credit2 moving the vCPU-s off of their initially assigned ones > > > right > > > away of course

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-11 Thread Dario Faggioli
On Fri, 2022-04-08 at 11:20 +, Dario Faggioli wrote: > On Thu, 2022-04-07 at 15:27 +0200, Jan Beulich wrote: > > > > Credit2 moving the vCPU-s off of their initially assigned ones > > right > > away of course renders sched_select_initial_cpu()'s use of &g

Re: [PATCH v6 4/6] xen/cpupool: Create different cpupools at boot time

2022-04-11 Thread Dario Faggioli
; > xen/common/boot_cpupools.c or xen/common/boot-cpupools.c > > > > > > > ... this one may want living there are well. > > Yes I agree with you all, I will rename it to xen/common/sched/boot- > cpupool.c > and add it in MAINTAINERS. > FWIW, I agree as well

Re: [PATCH] x86: make "dom0_nodes=" work with credit2

2022-04-08 Thread Dario Faggioli
instead of calling sched_set_affinity(), we call vcpu_set_affinity(). I'm therefore wondering if we should try to just do that... But I'm not sure, mostly because that would mean calling domain_update_node_affinity() for all dom0

Re: [PATCH v6 9/9] xen/x86: remove cf_check attribute from hypercall handlers

2022-04-08 Thread Dario Faggioli
m > parts > Acked-by: Jan Beulich > Tested-by: Téo Couprie Diaz > Acked-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --

Re: [PATCH v6 3/6] xen/sched: retrieve scheduler id by name

2022-04-08 Thread Dario Faggioli
e occasion to replace open coded scheduler search with the > new static function in scheduler_init. > > Signed-off-by: Luca Fancellu > Reviewed-by: Juergen Gross > Reviewed-by: Dario Faggioli Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Sof

Re: [PATCH 4/5] xen/cpupool: Create different cpupools at boot time

2022-02-16 Thread Dario Faggioli
the code, and I appreciate that it's not trivial and that it's probably impossible to achieve 100% decoupling (at least not without adding a lot more complexity)... But any step we can make in that direction would be, IMO, a

SecureBoot and PCI passthrough with kernel lockdown in place (on Xen)

2022-02-14 Thread Dario Faggioli
ve Cc-ed Marek, because I think I've read that  QubesOS that it does on QubesOS, but I'm not sure if the situation  is the same... - if it's working, how? Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dari

SecureBoot and PCI passthrough with kernel lockdown in place (on Xen)

2022-02-14 Thread Dario Faggioli
ve Cc-ed Marek, because I think I've read that  QubesOS that it does on QubesOS, but I'm not sure if the situation  is the same... - if it's working, how? Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dari

[PATCH v2] tools/libs/light: don't touch nr_vcpus_out if listing vcpus and returning NULL

2022-01-28 Thread Dario Faggioli
nfig@entry=0x7fe721df11b0, domid=domid@entry=0x7fe721df10a8, ao_how=ao_how@entry=0x0, aop_console_how=aop_console_how@entry=0x7fe721df10f0) at libxl_create.c:2075 Signed-off-by: Dario Faggioli Tested-by: James Fehlig --- Cc: Wei Liu Cc: Anthony PERARD Cc: Juergen Gross --- This change should be backpor

Re: [PATCH 1/2] tools/libs/light: numa placement: don't try to free a NULL list of vcpus

2022-01-19 Thread Dario Faggioli
On Mon, 2022-01-17 at 15:56 +, Anthony PERARD wrote: > On Fri, Jan 14, 2022 at 11:22:00PM +0000, Dario Faggioli wrote: > > > > Also, if we go that way, I guess we want to change > > libxl_cputopology_list_free(), libxl_pcitopology_list_free(), > &g

Re: sched=null vwfi=native and call_rcu()

2022-01-18 Thread Dario Faggioli
l. > And wouldn't that be a problem for PV guests, too? > Yeah, that's one of the things that makes it tricky Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.asc Description: This is a digitally signed message part

Re: [PATCH 1/2] tools/libs/light: numa placement: don't try to free a NULL list of vcpus

2022-01-14 Thread Dario Faggioli
On Thu, 2022-01-13 at 12:05 +, Anthony PERARD wrote: > On Wed, Jan 12, 2022 at 05:41:36PM +0100, Dario Faggioli wrote: > > > 2) there should be nothing to free anyway > > The issue here is that it doesn't appear to be true. Even if "info" > is > NU

Re: sched=null vwfi=native and call_rcu()

2022-01-14 Thread Dario Faggioli
could not do that yet. So, if anyone wants to help with this, handing over suggestions for potential good spots, that would help a lot. Alternatively, we can submit the series as ARM-only... But I fear that the x86 side of things would then be easily forgotten. :-( Thanks again a

Re: [PATCH 0/2] libs/light: fix a race when domain are destroied and created concurrently

2022-01-13 Thread Dario Faggioli
On Wed, 2022-01-12 at 17:41 +0100, Dario Faggioli wrote: > It is possible to encounter a segfault in libxl during concurrent > domain > create and destroy operations. > > This is because Placement of existing domains on the host's CPUs is > examined > when creating a ne

[PATCH 2/2] tools/libs/light: don't touch nr_vcpus_out if listing vcpus and returning NULL

2022-01-12 Thread Dario Faggioli
tinfo() or xc_vcpu_getaffinity() will start to fail, and we return back to the caller inconsistent information, such as a NULL list of vcpus, but a modified and not 0 any longer, number of vcpus in the list. Signed-off-by: Dario Faggioli Tested-by: James Fehlig --- Cc: Wei Liu Cc: Anthony PERARD Cc: Jue

[PATCH 1/2] tools/libs/light: numa placement: don't try to free a NULL list of vcpus

2022-01-12 Thread Dario Faggioli
If libxl_vcpu_list() returned NULL, we should not call libxl_numainfo_list_free() as: 1) it'll fail trying to (double) free() *list 2) there should be nothing to free anyway Signed-off-by: Dario Faggioli Tested-by: James Fehlig --- Cc: Wei Liu Cc: Anthony PERARD Cc: Juergen Gross ---

[PATCH 0/2] libs/light: fix a race when domain are destroied and created concurrently

2022-01-12 Thread Dario Faggioli
turns NULL as the list of them. Regards --- Dario Faggioli (2): tools/libs/light: numa placement: don't try to free a NULL list of vcpus tools/libs/light: don't touch nr_vcpus_out if listing vcpus and returning NULL tools/libs/light/libxl_domain.c | 14 -- t

Re: [RFC 02/10] is_system_domain: replace open-coded instances

2021-12-18 Thread Dario Faggioli
Signed-off-by: Daniel P. Smith > --- >  xen/arch/x86/cpu/vpmu.c | 2 +- >  xen/common/domctl.c | 2 +- >  xen/common/sched/core.c | 4 ++-- >  xen/include/xen/sched.h | 5 + > The */sched* bits: Acked-by: Dario Faggioli But with a strong preference for renaming is_system_d

Re: [xen-unstable test] 166960: regressions - FAIL

2021-12-02 Thread Dario Faggioli
e-lakeside-output-xl_vcpu-list -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.asc Description: This is a digitally signed message part

Re: [PATCH 00/65] x86: Support for CET Indirect Branch Tracking

2021-12-02 Thread Dario Faggioli
fnptr targets > >   x86/aepi: Annotate fnptr targets > >   x86/psr: Annotate fnptr targets > >   x86/dpci: Annotate fnptr targets > >   x86/pt: Annotate fnptr targets > >   x86/time: Annotate fnptr targets > >   x86/misc: Annotate fnptr targets > >   x86/s

Re: [PATCH v2 01/12] xen/trace: Don't over-read trace objects

2021-09-30 Thread Dario Faggioli
On Mon, 2021-09-27 at 09:51 +0200, Jan Beulich wrote: > On 24.09.2021 16:51, Dario Faggioli wrote: > > On Mon, 2021-09-20 at 18:25 +0100, Andrew Cooper wrote: > > > > > There is one buggy race record, TRC_RTDS_BUDGET_BURN.  As it must > > > remain > >

Re: [PATCH v2 08/12] xen/sched: Clean up trace handling

2021-09-24 Thread Dario Faggioli
t; > Signed-off-by: Andrew Cooper > Reviewed-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Rais

Re: [PATCH v2 07/12] xen/rt: Clean up trace handling

2021-09-24 Thread Dario Faggioli
f-by: Andrew Cooper > Reviewed-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) sig

Re: [PATCH v2 06/12] xen/credit2: Clean up trace handling

2021-09-24 Thread Dario Faggioli
t; > Signed-off-by: Andrew Cooper > Reviewed-by: Jan Beulich > Reviewed-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/

Re: [PATCH v2 03/12] xen/credit2: Remove tail padding from TRC_CSCHED2_* records

2021-09-24 Thread Dario Faggioli
r > Reviewed-by: Jan Beulich > Reviewed-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <>

Re: [PATCH v2 02/12] xen/memory: Remove tail padding from TRC_MEM_* records

2021-09-24 Thread Dario Faggioli
endering > which was absent previously. > > Signed-off-by: Andrew Cooper > Reviewed-by: Jan Beulich > Reviewed-by: Dario Faggioli Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/

Re: [PATCH v2.1 14/12] xen: Switch to new TRACE() API

2021-09-24 Thread Dario Faggioli
   a nested tb_init_done check, which is dropped.  (The optimiser > also spotted >    this, which is why it doesn't manifest as a binary difference.) >  * All HVMTRACE_?D() change to TRACE() as cycles is explicitly > skipped. > > Signed-off-by: Andrew Cooper > R

Re: [PATCH v2 09/12] xen/trace: Minor code cleanup

2021-09-24 Thread Dario Faggioli
On Tue, 2021-09-21 at 13:03 +0200, Jan Beulich wrote: > On 20.09.2021 19:25, Andrew Cooper wrote: > > > > Signed-off-by: Andrew Cooper > > Like for v1: Largely > Reviewed-by: Jan Beulich > Reviewed-by: Dario Faggioli > One remark: > > > @@ -717,9 +713,

Re: [PATCH v2 01/12] xen/trace: Don't over-read trace objects

2021-09-24 Thread Dario Faggioli
g them in just one field and decode the information in xentrace. Of course, I can send a patch for that myself, even as a followup of this series when it's in, as soon as we agree about the best way forward. Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualiz

Re: [PATCH v2 01/12] xen/trace: Don't over-read trace objects

2021-09-24 Thread Dario Faggioli
* TODO: truncation? */ in place so > whomever > encounters weird behaviour from this trace record has a bit more help > of > where to look? > Sure, that's fine for me. Thanks and Regards -- Dario Faggioli, P

Re: [PATCH v2] xen/sched: fix sched_move_domain() for domain without vcpus

2021-09-14 Thread Dario Faggioli
gt; > Fix that by tolerating vcpus not being allocated yet. > > Fixes: 70fadc41635b9b6 ("xen/cpupool: support moving domain between > cpupools with different granularity") > Reported-by: Bertrand Marquis > Signed-off-by: Juergen Gross > Reviewed-by: Dario Faggioli

Re: [PATCH] xen/sched: fix get_cpu_idle_time() for smt=0 suspend/resume

2021-08-18 Thread Dario Faggioli
-by: Juergen Gross > Tested-by: Marek Marczykowski-Górecki > > Mmm... This is an interesting one. In fact, this fix is not only correct, it's also simple, effective and (I guess) easy enough to backport. Considering all these things together with the fact that we have an open iss

Re: NULL scheduler DoS

2021-08-11 Thread Dario Faggioli
null_unit_remove(), called by sched_destroy_vcpu(). And I agree that the unit should be offline, but null_unit_remove() calls unit_deassign() only if the unit *is* online, so... What's going on? :-/ Regards -- Dario Faggioli, Ph.

Re: NULL scheduler DoS

2021-08-11 Thread Dario Faggioli
, it's entirely possible that I'm missing something obvious here, but what it is that is making you think that we're in null_unit_migrate() ? Does that come from a different instance of this WARN() ? Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ --- <> (Raistlin Majere) signature.asc Description: This is a digitally signed message part

Re: [PATCH v2] Xen: credit2: avoid picking a spurious idle unit when caps are used

2021-08-05 Thread Dario Faggioli
On Thu, 2021-08-05 at 08:31 +0200, Jan Beulich wrote: > On 04.08.2021 19:55, Dario Faggioli wrote: > > > > Suggested-by: George Dunlap > > Signed-off-by: Dario Faggioli > > In part based on your explanation in response to my v1 comments: > Reviewed-by: Jan Beulic

[PATCH v2] Xen: credit2: avoid picking a spurious idle unit when caps are used

2021-08-04 Thread Dario Faggioli
during the runqueue scan, does not have enough budget for being run, we should continue looking instead than giving up and picking the idle unit. Suggested-by: George Dunlap Signed-off-by: Dario Faggioli Cc: George Dunlap Cc: Jan Beulich --- Changes from v1: * fixed the patch tags and some st

Re: [PATCH] Xen: credit2: avoid picking a spurious idle unit when caps are used

2021-08-04 Thread Dario Faggioli
On Wed, 2021-08-04 at 17:13 +0200, Jan Beulich wrote: > On 04.08.2021 15:28, Dario Faggioli wrote: > > > > So, was it this you were asking about and, if yes, does this answer > > your concerns? > > Yes, it does.  > Ok, great. :-) > I continue to think though tha

Re: [PATCH] Xen: credit2: avoid picking a spurious idle unit when caps are used

2021-08-04 Thread Dario Faggioli
On Wed, 2021-08-04 at 09:37 +0200, Jan Beulich wrote: > On 03.08.2021 19:36, Dario Faggioli wrote: > > > > Signed-off-by: Dario Faggioli > > Suggested-by: George Dunlap > > Minor remark: Generally I think the order of tags should follow the > timeline: Suggestion

[for 4.12 and older PATCH] xen: credit2: vCPUs' pause_flags must be accessed atomically

2021-08-04 Thread Dario Faggioli
("xen: credit2: implement utilization cap") and in 34f2ad1 ("xen: credit2: use non-atomic cpumask and bit operations"). Suggested-by: Juergen Gross Signed-off-by: Dario Faggioli Cc: George Dunlap Cc: Jan Beulich --- This patch is only necessary for branches older than 4.

Re: [PATCH] Xen: credit2: avoid picking a spurious idle unit when caps are used

2021-08-03 Thread Dario Faggioli
On Tue, 2021-08-03 at 19:36 +0200, Dario Faggioli wrote: > It should, therefore, be backported and applied to all the branches > to > which that commit has been. About backports, it should be > straigthforward to do that until 4.13. > > For 4.12 and earlier, it's trickie

  1   2   3   4   5   6   7   8   9   10   >