[xen-unstable-smoke test] 182726: tolerable all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182726 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/182726/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm

[linux-linus test] 182719: regressions - FAIL

2023-09-07 Thread osstest service owner
flight 182719 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/182719/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-vhd 8 xen-boot fail REGR. vs. 182531

Re: [PATCH] Revert "EDAC/mce_amd: Do not load edac_mce_amd module on guests"

2023-09-07 Thread Borislav Petkov
On Thu, Sep 07, 2023 at 08:08:00PM -0700, Elliott Mitchell wrote: > This reverts commit 767f4b620edadac579c9b8b6660761d4285fa6f9. > > There are at least 3 valid reasons why a VM may see MCE events/registers. Hmm, so they all read like a bunch of handwaving to me, with those probable hypothetical

[PATCH] Revert "EDAC/mce_amd: Do not load edac_mce_amd module on guests"

2023-09-07 Thread Elliott Mitchell
This reverts commit 767f4b620edadac579c9b8b6660761d4285fa6f9. There are at least 3 valid reasons why a VM may see MCE events/registers. First, the hypervisor may have a bug. Ideally this should be dealt with by fixing the hypervisor. Failing that, the hypervisor and versions effected need to

Re: [PATCH v6 09/13] xen/arm: Extract MMU-specific MM code

2023-09-07 Thread Henry Wang
Hi Ayan, > On Sep 7, 2023, at 19:34, Ayan Kumar Halder wrote: > > Hi Henry, > >> + >> +extern mfn_t directmap_mfn_start, directmap_mfn_end; > > As you are declaring them for MMU specific , you also need this change :- > > diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c > index

Re: [PATCH] coverage: update gcov info for newer versions of gcc

2023-09-07 Thread Henry Wang
Hi Jan, > On Sep 7, 2023, at 22:41, Jan Beulich wrote: > > Henry - afaict this was submitted after the feature submission deadline, > so you may want to consider giving it an exception. Yes I am ok to include this in 4.18. Kind regards, Henry > > Jan

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

2023-09-07 Thread osstest service owner
flight 182717 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/182717/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-migrupgrade 11 xen-install/dst_host fail like 182650

Re: [XEN PATCH 3/3] automation/eclair: build docs/misra to address MISRA C:2012 Dir 4.1

2023-09-07 Thread Stefano Stabellini
On Fri, 1 Sep 2023, Nicola Vetrini wrote: > The documentation pertaining Directive 4.1 is contained in docs/misra. > The build script driving the analysis is amended to allow ECLAIR to > analyze such file. > > Signed-off-by: Nicola Vetrini > --- > automation/eclair_analysis/build.sh | 11

Re: [XEN PATCH 2/3] docs: make the docs for MISRA C:2012 Dir 4.1 visible to ECLAIR

2023-09-07 Thread Stefano Stabellini
On Fri, 1 Sep 2023, Nicola Vetrini wrote: > To be able to check for the existence of the necessary subsections in > the documentation for MISRA C:2012 Dir 4.1, ECLAIR needs to have a source > file that is built. > > This file is generated from 'C-runtime-failures.rst' in docs/misra > and the

Re: [XEN PATCH 1/3] docs/misra: add documentation skeleton for MISRA C:2012 Dir 4.1

2023-09-07 Thread Stefano Stabellini
On Fri, 1 Sep 2023, Nicola Vetrini wrote: > The aforementioned directive requires the project to supply documentation > on the measures taken towards the minimization of run-time failures. > > The actual content of the documentation is yet to be written. > > The 'rules.rst' file is updated

Re: [PATCH v3 2/5] xen/ppc: Implement bitops.h

2023-09-07 Thread Shawn Anastasio
On 9/5/23 10:19 AM, Jan Beulich wrote: > On 01.09.2023 20:25, Shawn Anastasio wrote: >> Implement bitops.h, based on Linux's implementation as of commit >> 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc. Though it is based off of >> Linux's implementation, this code diverges significantly in a number of

[libvirt test] 182714: tolerable FAIL - PUSHED

2023-09-07 Thread osstest service owner
flight 182714 libvirt real [real] flight 182724 libvirt real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/182714/ http://logs.test-lab.xenproject.org/osstest/logs/182724/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

Re: [PATCH v2] docs/misra: add 14.3

2023-09-07 Thread Stefano Stabellini
On Thu, 7 Sep 2023, Jan Beulich wrote: > On 07.09.2023 03:22, Stefano Stabellini wrote: > > @@ -385,6 +386,17 @@ maintainers if you want to suggest a change. > > - A loop counter shall not have essentially floating type > > - > > > > + * - `Rule 14.3 > >

Re: [XEN PATCH] x86/ACPI: Ignore entries with invalid APIC IDs when parsing MADT

2023-09-07 Thread Stefano Stabellini
On Thu, 7 Sep 2023, Jan Beulich wrote: > On 06.09.2023 22:49, Stefano Stabellini wrote: > > On Fri, 1 Sep 2023, Jan Beulich wrote: > >> On 07.08.2023 11:38, Simon Gaiser wrote: > >>> It seems some firmwares put dummy entries in the ACPI MADT table for non > >>> existing processors. On my

Re: [PATCH v5 4/5] xen/vpci: header: status register handler

2023-09-07 Thread Stewart Hildebrand
On 9/6/23 04:22, Jan Beulich wrote: > On 01.09.2023 06:57, Stewart Hildebrand wrote: >> Introduce a handler for the PCI status register, with ability to mask the >> capabilities bit. The status register contains reserved bits, read-only bits, >> and write-1-to-clear bits, so introduce bitmasks to

Re: [PATCH v3 1/5] xen/ppc: Implement atomic.h

2023-09-07 Thread Shawn Anastasio
On 9/5/23 9:58 AM, Jan Beulich wrote: > On 01.09.2023 20:25, Shawn Anastasio wrote: >> +static inline atomic_t atomic_compareandswap(atomic_t old, atomic_t new, >> + atomic_t *v) >> +{ >> +atomic_t rc; >> +rc.counter = __cmpxchg(>counter,

[PATCH v3 0/2] ppc: Drop support for QEMU pseries

2023-09-07 Thread Shawn Anastasio
Hello all, This small series drops support for the QEMU paravirtualized pseries machine type in favor of the bare metal PowerNV platform. pseries support was broken by 74b725a64d80 ('xen/ppc: Implement initial Radix MMU support'), and instead of maintaining separate code paths to retain support

[PATCH v3 1/2] automation: Switch ppc64le tests to PowerNV machine type

2023-09-07 Thread Shawn Anastasio
Run ppc64le tests with the PowerNV machine type (bare metal) instead of the paravirtualized pseries machine. This requires a more modern version of QEMU than is present in debian bullseye's repository, so update the dockerfile to build QEMU from source. Support for booting on pseries was broken

[PATCH v3 2/2] xen/ppc: Drop support for pseries/OpenFirmware

2023-09-07 Thread Shawn Anastasio
Since QEMU's PowerNV support has matured to the point where it is now suitable for development, drop support for booting on the paravirtualized pseries machine type and its associated interfaces. Support for booting on pseries was broken by 74b725a64d80 ('xen/ppc: Implement initial Radix MMU

[qemu-mainline test] 182707: tolerable FAIL - PUSHED

2023-09-07 Thread osstest service owner
flight 182707 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/182707/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-i386-xl-qemuu-win7-amd64 19 guest-stop fail blocked in 182638 test-armhf-armhf-libvirt 16

[ovmf test] 182722: all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182722 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/182722/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b29150aa3e9157908052c212d3afacbff8dbab1b baseline version: ovmf

Re: [PATCH] coverage: update gcov info for newer versions of gcc

2023-09-07 Thread Javi Merino
On Thu, Sep 07, 2023 at 04:41:59PM +0200, Jan Beulich wrote: > On 02.09.2023 17:11, Javi Merino wrote: > > --- a/xen/common/coverage/Makefile > > +++ b/xen/common/coverage/Makefile > > @@ -5,7 +5,9 @@ obj-y += $(call cc-ifversion,-lt,0407, \ > > gcc_3_4.o, $(call cc-ifversion,-lt,0409,

[xen-unstable-smoke test] 182720: tolerable all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182720 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/182720/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm

[ovmf test] 182721: all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182721 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/182721/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b81557a00c61cc80ab118828f16ed9ce79455880 baseline version: ovmf

Re: Xens handling of MCE

2023-09-07 Thread Elliott Mitchell
On Thu, Sep 07, 2023 at 08:56:51AM +0200, Jan Beulich wrote: > On 06.09.2023 23:38, Elliott Mitchell wrote: > > On Thu, Aug 31, 2023 at 07:52:05PM +, Development wrote: > >> > >> However, in 2009-02, "cegger" wrote MCA/MCE_in_Xen, a proposal for > >> having xen start checking the

[PATCH v7 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii Kurochko
Some headers are shared between individual architectures or are empty. To avoid duplication of these headers, asm-generic is introduced. With the following patch, an architecture uses generic headers mentioned in the file arch/$(ARCH)/include/asm/Makefile To use a generic header is needed to add

[PATCH v7 0/2] introduce stub directory to storing empty/stub headers

2023-09-07 Thread Oleksii Kurochko
A lot of empty/stub headers should be introduced during the early steps of adding support of new architecture. An example can be found here: 1. https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kuroc...@gmail.com/ 2.

[PATCH v7 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii Kurochko
asm/vm_event.h is common for ARM and RISC-V so it will be moved to asm-generic dir. Original asm/vm_event.h from ARM was updated: * use SPDX-License-Identifier. * update comment messages of stubs. * update #ifdef * instead of "include " -> "public/vm_event.h" As vm_event.h was moved to

Re: [PATCH v6 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii
On Thu, 2023-09-07 at 10:53 -0400, Tamas K Lengyel wrote: > On Thu, Sep 7, 2023 at 9:46 AM Oleksii > wrote: > > > > On Thu, 2023-09-07 at 11:59 +0200, Jan Beulich wrote: > > > On 07.09.2023 11:32, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/include/asm-generic/vm_event.h > >

Re: [PATCH v7 0/2] xen/riscv: introduce identity mapping

2023-09-07 Thread Oleksii
Hello Bobby and Alistair, Could you kindly take a moment to examine this series of patches? Your input would be highly valued. Thanks in advance. ~ Oleksii On Tue, 2023-08-08 at 18:14 +0300, Oleksii Kurochko wrote: > The patch series introduces things necessary to implement identity > mapping:

Re: [PATCH] coverage: update gcov info for newer versions of gcc

2023-09-07 Thread Jan Beulich
On 02.09.2023 17:11, Javi Merino wrote: > --- a/xen/common/coverage/Makefile > +++ b/xen/common/coverage/Makefile > @@ -5,7 +5,9 @@ obj-y += $(call cc-ifversion,-lt,0407, \ > gcc_3_4.o, $(call cc-ifversion,-lt,0409, \ > gcc_4_7.o, $(call cc-ifversion,-lt,0500, \ >

Re: [PATCH 2/2] xen/x86: ioapic: Bail out from timer_irq_works() as soon as possible

2023-09-07 Thread Jan Beulich
On 18.08.2023 15:44, Julien Grall wrote: > From: Julien Grall > > Currently timer_irq_works() will wait the full 100ms before checking > that pit0_ticks has been incremented at least 4 times. > > However, the bulk of the BIOS/platform should not have a buggy timer. > So waiting for the full

[PATCH] cmdline: move irq-max-guests doc entry

2023-09-07 Thread Jan Beulich
... to adhere to intended sorting. Fixes: e373bc1bdc59 ("x86/IRQ: make max number of guests for a shared IRQ configurable") Signed-off-by: Jan Beulich --- a/docs/misc/xen-command-line.pandoc +++ b/docs/misc/xen-command-line.pandoc @@ -1630,6 +1630,16 @@ wait descriptor timed out', try increasi

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii
On Thu, 2023-09-07 at 15:56 +0200, Jan Beulich wrote: > On 07.09.2023 15:45, Oleksii wrote: > > On Thu, 2023-09-07 at 12:48 +0200, Jan Beulich wrote: > > > On 07.09.2023 11:32, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/scripts/Makefile.asm-generic > > > > @@ -0,0 +1,53 @@ > >

Re: [PATCH 1/2] xen/x86: io_apic: Introduce a command line option to skip timer check

2023-09-07 Thread Jan Beulich
On 18.08.2023 15:44, Julien Grall wrote: > --- a/docs/misc/xen-command-line.pandoc > +++ b/docs/misc/xen-command-line.pandoc > @@ -1896,6 +1896,13 @@ This option is ignored in **pv-shim** mode. > ### nr_irqs (x86) > > `= ` > > +### no_timer_works (x86) > +> `=` > + > +> Default: `true` > + >

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Jan Beulich
On 07.09.2023 15:45, Oleksii wrote: > On Thu, 2023-09-07 at 12:48 +0200, Jan Beulich wrote: >> On 07.09.2023 11:32, Oleksii Kurochko wrote: >>> --- /dev/null >>> +++ b/xen/scripts/Makefile.asm-generic >>> @@ -0,0 +1,53 @@ >>> +# SPDX-License-Identifier: GPL-2.0-only >>> +# include/asm-generic

Re: [PATCH v2] acpi/processor: sanitize _PDC buffer bits when running as Xen dom0

2023-09-07 Thread Wilczynski, Michal
Hi, On 9/6/2023 8:21 PM, Jason Andryuk wrote: > From: Roger Pau Monne > > The Processor _PDC buffer bits notify ACPI of the OS capabilities, and > so ACPI can adjust the return of other Processor methods taking the OS > capabilities into account. _PDC method is deprecated for this purpose,

Re: [PATCH v6 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii
On Thu, 2023-09-07 at 11:59 +0200, Jan Beulich wrote: > On 07.09.2023 11:32, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/vm_event.h > > @@ -0,0 +1,55 @@ > > +/* SPDX-License-Identifier:  GPL-2.0-only */ > > +/* > > + * vm_event.h: stubs for architecture specific

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii
On Thu, 2023-09-07 at 12:48 +0200, Jan Beulich wrote: > On 07.09.2023 11:32, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/scripts/Makefile.asm-generic > > @@ -0,0 +1,53 @@ > > +# SPDX-License-Identifier: GPL-2.0-only > > +# include/asm-generic contains a lot of files that are used > >

Re: [XEN PATCH 4/4] xen/vpci: address a violation of MISRA C:2012 Rule 8.3

2023-09-07 Thread Jan Beulich
On 06.09.2023 10:57, Federico Serafini wrote: > --- a/xen/arch/x86/include/asm/hap.h > +++ b/xen/arch/x86/include/asm/hap.h > @@ -30,7 +30,7 @@ void hap_vcpu_init(struct vcpu *v); > int hap_track_dirty_vram(struct domain *d, > unsigned long begin_pfn, >

Re: [XEN PATCH 3/4] x86/io_apic: address violations of MISRA C:2012 Rules 8.2 and 8.3

2023-09-07 Thread Jan Beulich
On 06.09.2023 10:57, Federico Serafini wrote: > Add missing parameter names and make function declarations and > definitions consistent. > > No functional change. > > Signed-off-by: Federico Serafini Acked-by: Jan Beulich

Re: [XEN PATCH 2/4] x86/io: address violations of MISRA C:2012 Rule 8.3

2023-09-07 Thread Jan Beulich
On 06.09.2023 10:57, Federico Serafini wrote: > Make declarations consistent, no functional change. > > Signed-off-by: Federico Serafini Acked-by: Jan Beulich

Re: [XEN PATCH 1/4] x86/genapic: address a violation of MISRA C:2012 Rule 8.3

2023-09-07 Thread Jan Beulich
On 06.09.2023 10:57, Federico Serafini wrote: > Make function delcaration consistent with the corresponding definition. > No functional change. > > Signed-off-by: Federico Serafini Acked-by: Jan Beulich

Re: [PATCH v2 2/2] xen/ppc: Drop support for pseries/OpenFirmware

2023-09-07 Thread Jan Beulich
On 07.09.2023 02:01, Shawn Anastasio wrote: > Since QEMU's PowerNV support has matured to the point where it is > now suitable for development, drop support for booting on the > paravirtualized pseries machine type and its associated interfaces. > > Support for booting on pseries was broken by

[PATCH v2] x86/HVM: adjust hvm_interrupt_blocked()

2023-09-07 Thread Jan Beulich
First of all, hvm_intsrc_mce was not considered here at all, yet nothing blocks #MC (other than an already in-progress #MC, but dealing with this is not the purpose of this patch). While nominally STI-shadow only blocks maskable interrupts, but not NMI, at least Intel offers more leeway:

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii
On Thu, 2023-09-07 at 11:08 +0100, Anthony PERARD wrote: > On Thu, Sep 07, 2023 at 12:32:56PM +0300, Oleksii Kurochko wrote: > > diff --git a/xen/scripts/Makefile.asm-generic > > b/xen/scripts/Makefile.asm-generic > > new file mode 100644 > > index 00..92a3a741c5 > > --- /dev/null > > +++

[xen-unstable-smoke test] 182718: tolerable all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182718 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/182718/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 15 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm

Re: [PATCH v6 01/13] xen/arm64: head.S: Introduce enable_{boot,secondary}_cpu_mm()

2023-09-07 Thread Ayan Kumar Halder
On 07/09/2023 11:58, Penny Zheng wrote: Hi Ayan Hi Penny, On 2023/9/7 17:44, Ayan Kumar Halder wrote: Hi Henry, On 28/08/2023 02:32, Henry Wang wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking

[linux-linus test] 182689: regressions - FAIL

2023-09-07 Thread osstest service owner
flight 182689 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/182689/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-xl-vhd 8 xen-boot fail REGR. vs. 182531

Re: [PATCH v6 09/13] xen/arm: Extract MMU-specific MM code

2023-09-07 Thread Ayan Kumar Halder
Hi Henry, On 28/08/2023 02:32, Henry Wang wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Currently, most of the code is in arm/mm.{c,h} and arm/arm64/mm.c is

Re: [PATCH v7 9/9] swiotlb: search the software IO TLB only if the device makes use of it

2023-09-07 Thread Petr Tesařík
Hi all, sorry for my late reply; I've been away from my work setup for a month... On Wed, 30 Aug 2023 08:55:51 -0600 Jonathan Corbet wrote: > So it seems this code got merged without this question ever being > answered. Sorry if it's a dumb one, but I don't think this > functionality works as

Re: [PATCH v6 01/13] xen/arm64: head.S: Introduce enable_{boot,secondary}_cpu_mm()

2023-09-07 Thread Penny Zheng
Hi Ayan On 2023/9/7 17:44, Ayan Kumar Halder wrote: Hi Henry, On 28/08/2023 02:32, Henry Wang wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. From: Wei Chen

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Jan Beulich
On 07.09.2023 11:32, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/scripts/Makefile.asm-generic > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +# include/asm-generic contains a lot of files that are used > +# verbatim by several architectures. > +# > +# This Makefile reads

Re: [PATCH v2] tests/vpci: install test

2023-09-07 Thread Anthony PERARD
On Mon, Mar 13, 2023 at 01:12:26PM +0100, Roger Pau Monne wrote: > diff --git a/tools/tests/vpci/Makefile b/tools/tests/vpci/Makefile > index 5075bc2be2..11f1ee7126 100644 > --- a/tools/tests/vpci/Makefile > +++ b/tools/tests/vpci/Makefile > @@ -1,27 +1,37 @@ > XEN_ROOT=$(CURDIR)/../../.. >

Re: [PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Anthony PERARD
On Thu, Sep 07, 2023 at 12:32:56PM +0300, Oleksii Kurochko wrote: > diff --git a/xen/scripts/Makefile.asm-generic > b/xen/scripts/Makefile.asm-generic > new file mode 100644 > index 00..92a3a741c5 > --- /dev/null > +++ b/xen/scripts/Makefile.asm-generic > @@ -0,0 +1,53 @@ > +#

Re: [PATCH v6 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Jan Beulich
On 07.09.2023 11:32, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/include/asm-generic/vm_event.h > @@ -0,0 +1,55 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +/* > + * vm_event.h: stubs for architecture specific vm_event handling routines > + * > + * Copyright (c) 2015 Tamas K

Re: [PATCH v6 01/13] xen/arm64: head.S: Introduce enable_{boot,secondary}_cpu_mm()

2023-09-07 Thread Ayan Kumar Halder
Hi Henry, On 28/08/2023 02:32, Henry Wang wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. From: Wei Chen At the moment, on MMU system, enable_mmu() will

Re: [PATCH v3] MAINTAINERS: generalize vm-event/monitor entry

2023-09-07 Thread Anthony PERARD
On Thu, Sep 07, 2023 at 09:45:55AM +0200, Jan Beulich wrote: > Replace Arm- and x86-specific lines with wildcard ones, thus covering > all architectures. Uniformly permit an extra sub-directory level to be > used, as is already the case for xen/include/. > > Signed-off-by: Jan Beulich > --- >

[PATCH v6 0/2] introduce stub directory to storing empty/stub headers

2023-09-07 Thread Oleksii Kurochko
A lot of empty/stub headers should be introduced during the early steps of adding support of new architecture. An example can be found here: 1. https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kuroc...@gmail.com/ 2.

[PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii Kurochko
Some headers are shared between individual architectures or are empty. To avoid duplication of these headers, asm-generic is introduced. With the following patch, an architecture uses generic headers mentioned in the file arch/$(ARCH)/include/asm/Makefile To use a generic header is needed to add

[PATCH v6 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii Kurochko
asm/vm_event.h is common for ARM and RISC-V so it will be moved to asm-generic dir. Original asm/vm_event.h from ARM was updated: * use SPDX-License-Identifier. * update comment messages of stubs. * update #ifdef * instead of "include " -> "public/vm_event.h" As vm_event.h was moved to

[ovmf test] 182715: all pass - PUSHED

2023-09-07 Thread osstest service owner
flight 182715 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/182715/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf bbf182229587958b17336c114e0a1525c4f90f3d baseline version: ovmf

[xen-unstable test] 182650: tolerable FAIL - PUSHED

2023-09-07 Thread osstest service owner
flight 182650 xen-unstable real [real] flight 182716 xen-unstable real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/182650/ http://logs.test-lab.xenproject.org/osstest/logs/182716/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

[PATCH v3] MAINTAINERS: generalize vm-event/monitor entry

2023-09-07 Thread Jan Beulich
Replace Arm- and x86-specific lines with wildcard ones, thus covering all architectures. Uniformly permit an extra sub-directory level to be used, as is already the case for xen/include/. Signed-off-by: Jan Beulich --- v3: Unfold, for F: not being handled as originally expected. v2: Further fold

Re: [XEN PATCH v2 1/2] xen: apply deviation for Rule 8.4 (asm-only definitions)

2023-09-07 Thread Jan Beulich
On 07.09.2023 03:08, Stefano Stabellini wrote: > On Wed, 6 Sep 2023, Nicola Vetrini wrote: >> As stated in 'docs/misra/rules.rst' the functions that are used only by >> asm modules do not need to conform to MISRA C:2012 Rule 8.4. >> The deviations are carried out with a SAF comment. >> >>

Re: [PATCH v2] docs/misra: add 14.3

2023-09-07 Thread Jan Beulich
On 07.09.2023 03:22, Stefano Stabellini wrote: > @@ -385,6 +386,17 @@ maintainers if you want to suggest a change. > - A loop counter shall not have essentially floating type > - > > + * - `Rule 14.3 >

Re: Xens handling of MCE

2023-09-07 Thread Jan Beulich
On 06.09.2023 23:38, Elliott Mitchell wrote: > On Thu, Aug 31, 2023 at 07:52:05PM +, Development wrote: >> >> However, in 2009-02, "cegger" wrote MCA/MCE_in_Xen, a proposal for >> having xen start checking the information >> Xen started accessing the EDAC information (now called

Re: [XEN PATCH] x86/ACPI: Ignore entries with invalid APIC IDs when parsing MADT

2023-09-07 Thread Jan Beulich
On 06.09.2023 22:49, Stefano Stabellini wrote: > On Fri, 1 Sep 2023, Jan Beulich wrote: >> On 07.08.2023 11:38, Simon Gaiser wrote: >>> It seems some firmwares put dummy entries in the ACPI MADT table for non >>> existing processors. On my NUC11TNHi5 those have the invalid APIC ID >>> 0xff. Linux

Re: [PATCH v2] docs/misra: add 14.3

2023-09-07 Thread Jan Beulich
On 07.09.2023 03:21, Stefano Stabellini wrote: > On Thu, 31 Aug 2023, Jan Beulich wrote: >> On 31.08.2023 03:53, Stefano Stabellini wrote: >>> @@ -332,6 +333,17 @@ maintainers if you want to suggest a change. >>> - A loop counter shall not have essentially floating type >>> - >>> >>>

Re: [XEN PATCH] xen/types: address Rule 10.1 for macro BITS_TO_LONGS

2023-09-07 Thread Jan Beulich
On 07.09.2023 03:33, Stefano Stabellini wrote: > On Wed, 6 Sep 2023, Jan Beulich wrote: >> On 06.09.2023 17:57, Nicola Vetrini wrote: >>> On 05/09/2023 10:33, Jan Beulich wrote: On 05.09.2023 10:20, Nicola Vetrini wrote: > On 05/09/2023 09:46, Jan Beulich wrote: >> On 05.09.2023