Re: [PATCH v2 3/3] svm/nestedsvm: Introduce nested capabilities bit

2024-04-02 Thread Jan Beulich
On 28.03.2024 11:57, George Dunlap wrote: > On Thu, Mar 28, 2024 at 6:44 AM Jan Beulich wrote: >>> As to why to have each vendor independent code check for HAP -- there >>> are in fact two implementations of the code; it's nice to be able to >>> look in one place for each implementation to

[ovmf test] 185223: all pass - PUSHED

2024-04-02 Thread osstest service owner
flight 185223 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/185223/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf b3871141136ac643332587f33f2e4fa78d72eb07 baseline version: ovmf

[xen-4.17-testing test] 185217: tolerable FAIL - PUSHED

2024-04-02 Thread osstest service owner
flight 185217 xen-4.17-testing real [real] flight 185221 xen-4.17-testing real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/185217/ http://logs.test-lab.xenproject.org/osstest/logs/185221/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

[xen-4.18-testing test] 185218: tolerable FAIL - PUSHED

2024-04-02 Thread osstest service owner
flight 185218 xen-4.18-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/185218/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 185183

Re: [XEN PATCH 6/7] xen/vm-event: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Tamas K Lengyel
On Tue, Apr 2, 2024 at 3:24 AM Federico Serafini wrote: > > Add break statement to address a violation of MISRA C:2012 Rule 16.3 > ("An unconditional `break' statement shall terminate every > switch-clause "). > > No functional change. > > Signed-off-by: Federico Serafini Acked-by: Tamas K

[PATCH] docs/misra: add 13.6 to rules.rst

2024-04-02 Thread Stefano Stabellini
As agreed during MISRA C meetings, add Rule 13.6 to rules.rst. Signed-off-by: Stefano Stabellini --- There was a request to expand the scope to also include alignof and typeof. Depending on whether the MISRA C scanners support it, and under which rules violations will be listed, rules.rst will

Re: [PATCH 2/3] drivers: serial: add Qualcomm GENI-based serial driver

2024-04-02 Thread Volodymyr Babchuk
Hi Michal, Michal Orzel writes: > Hello, > > On 29/03/2024 01:08, Volodymyr Babchuk wrote: >> >> >> Generic Interface (GENI) is a newer interface for low speed interfaces >> like UART, I2C or SPI. This patch adds the simple driver for the UART >> instance of GENI. Code is based on similar

Re: [PATCH net] xen-netfront: Add missing skb_mark_for_recycle

2024-04-02 Thread Arthur Borsboom
After having a better look, I have found the patch in linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0cd74ffcf4fb0536718241d59d2c124578624d83 On Tue, 2 Apr 2024 at 10:20, Arthur Borsboom wrote: > > On Fri, 29 Mar 2024 at 10:47, Arthur Borsboom >

Re: [XEN PATCH v3 1/7] x86/msi: address violation of MISRA C Rule 20.7 and coding style

2024-04-02 Thread Nicola Vetrini
On 2024-04-02 17:05, Jan Beulich wrote: On 29.03.2024 10:11, Nicola Vetrini wrote: MISRA C Rule 20.7 states: "Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses". Therefore, some macro definitions should gain additional parentheses to ensure that all

[PATCH] Revert "evtchn: refuse EVTCHNOP_status for Xen-bound event channels"

2024-04-02 Thread Andrew Cooper
The commit makes a claim without any kind of justification. The claim is false, and the commit broke lsevtchn in dom0. It is also quite obvious from XSM_TARGET that it has broken device model stubdoms too. Whether to return information about a xen-owned evtchn is a matter of policy, and it's

Re: [PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Federico Serafini
On 02/04/24 17:54, Andrew Cooper wrote: On 02/04/2024 4:46 pm, Jan Beulich wrote: On 02.04.2024 17:43, Andrew Cooper wrote: MISRA Rule 13.6 doesn't like having an expression in a sizeof() which potentially has side effects. Address several violations by pulling the expression out into a local

Re: [PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Andrew Cooper
On 02/04/2024 5:06 pm, Jan Beulich wrote: > On 02.04.2024 17:54, Andrew Cooper wrote: >> On 02/04/2024 4:46 pm, Jan Beulich wrote: >>> On 02.04.2024 17:43, Andrew Cooper wrote: MISRA Rule 13.6 doesn't like having an expression in a sizeof() which potentially has side effects.

Re: [PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Jan Beulich
On 02.04.2024 17:54, Andrew Cooper wrote: > On 02/04/2024 4:46 pm, Jan Beulich wrote: >> On 02.04.2024 17:43, Andrew Cooper wrote: >>> MISRA Rule 13.6 doesn't like having an expression in a sizeof() which >>> potentially has side effects. >>> >>> Address several violations by pulling the

Re: [PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Andrew Cooper
On 02/04/2024 4:46 pm, Jan Beulich wrote: > On 02.04.2024 17:43, Andrew Cooper wrote: >> MISRA Rule 13.6 doesn't like having an expression in a sizeof() which >> potentially has side effects. >> >> Address several violations by pulling the expression out into a local >> variable. >> >> No

Re: [PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Jan Beulich
On 02.04.2024 17:43, Andrew Cooper wrote: > MISRA Rule 13.6 doesn't like having an expression in a sizeof() which > potentially has side effects. > > Address several violations by pulling the expression out into a local > variable. > > No functional change. > > Signed-off-by: Andrew Cooper

[PATCH] x86: Address MISRA Rule 13.6

2024-04-02 Thread Andrew Cooper
MISRA Rule 13.6 doesn't like having an expression in a sizeof() which potentially has side effects. Address several violations by pulling the expression out into a local variable. No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Stefano

Re: [PATCH v6 7/8] xen/rwlock: raise the number of possible cpus

2024-04-02 Thread Jürgen Groß
On 02.04.24 16:52, Jan Beulich wrote: On 27.03.2024 16:22, Juergen Gross wrote: @@ -36,14 +36,21 @@ void queue_write_lock_slowpath(rwlock_t *lock); static inline bool _is_write_locked_by_me(unsigned int cnts) { -BUILD_BUG_ON(_QW_CPUMASK < NR_CPUS); +BUILD_BUG_ON((_QW_CPUMASK +

Re: [PATCH v6 6/8] xen/spinlock: support higher number of cpus

2024-04-02 Thread Jürgen Groß
On 02.04.24 16:42, Jan Beulich wrote: On 27.03.2024 16:22, Juergen Gross wrote: Allow 16 bits per cpu number, which is the limit imposed by spinlock_tickets_t. This will allow up to 65535 cpus, while increasing only the size of recursive spinlocks in debug builds from 8 to 12 bytes. The

Re: [XEN PATCH v3 1/7] x86/msi: address violation of MISRA C Rule 20.7 and coding style

2024-04-02 Thread Jan Beulich
On 29.03.2024 10:11, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

Re: [XEN PATCH v3 7/7] x86/amd: address violations of MISRA C Rule 20.7

2024-04-02 Thread Jan Beulich
On 29.03.2024 10:11, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

Re: [XEN PATCH v3 6/7] xen/mm: address violations of MISRA C Rule 20.7

2024-04-02 Thread Jan Beulich
On 29.03.2024 10:11, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

Re: [XEN PATCH v3 4/7] x86/hvm: address violations of MISRA C Rule 20.7

2024-04-02 Thread Jan Beulich
On 29.03.2024 10:11, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

Re: [XEN PATCH v3 3/7] x86/vPMU: address violations of MISRA C Rule 20.7

2024-04-02 Thread Jan Beulich
On 29.03.2024 10:11, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

Re: [PATCH v6 7/8] xen/rwlock: raise the number of possible cpus

2024-04-02 Thread Jan Beulich
On 27.03.2024 16:22, Juergen Gross wrote: > @@ -36,14 +36,21 @@ void queue_write_lock_slowpath(rwlock_t *lock); > > static inline bool _is_write_locked_by_me(unsigned int cnts) > { > -BUILD_BUG_ON(_QW_CPUMASK < NR_CPUS); > +BUILD_BUG_ON((_QW_CPUMASK + 1) < NR_CPUS); > +

Re: [PATCH v6 6/8] xen/spinlock: support higher number of cpus

2024-04-02 Thread Jan Beulich
On 27.03.2024 16:22, Juergen Gross wrote: > Allow 16 bits per cpu number, which is the limit imposed by > spinlock_tickets_t. > > This will allow up to 65535 cpus, while increasing only the size of > recursive spinlocks in debug builds from 8 to 12 bytes. > > The current Xen limit of 4095 cpus

Re: [PATCH v6 3/8] xen/spinlock: add missing rspin_is_locked() and rspin_barrier()

2024-04-02 Thread Jan Beulich
On 27.03.2024 16:22, Juergen Gross wrote: > Add rspin_is_locked() and rspin_barrier() in order to prepare differing > spinlock_t and rspinlock_t types. > > Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich

Re: [PATCH v6 4/4] x86/PVH: Support relocatable dom0 kernels

2024-04-02 Thread Jan Beulich
On 27.03.2024 22:51, Jason Andryuk wrote: > v6: > Select alignment from, in order, Note, PHDRs, then default The comment in the public header also needs to reflect this change. > +static bool __init check_and_adjust_load_address( > +const struct domain *d, struct elf_binary *elf, struct

Re: preparations for 4.17.4

2024-04-02 Thread Jan Beulich
On 27.03.2024 13:33, Andrew Cooper wrote: > 1) livepatching of .rodata: > > 989556c6f8ca - xen/virtual-region: Rename the start/end fields > ef969144a425 - xen/virtual-region: Include rodata pointers > b083b1c393dc - x86/livepatch: Relax permissions on rodata too > > And technically "x86/mm: fix

Re: [PATCH v6 08/20] xen/riscv: introduce cmpxchg.h

2024-04-02 Thread Oleksii
On Tue, 2024-04-02 at 14:54 +0200, Jan Beulich wrote: > On 02.04.2024 13:43, Oleksii wrote: > > On Thu, 2024-03-21 at 13:07 +0100, Jan Beulich wrote: > > > > + * If resulting 4-byte access is still misalgined, it will > > > > fault > > > > just as > > > > + * non-emulated 4-byte access would. > >

[ANNOUNCE] Call for agenda items - Community Call 4th April 2024

2024-04-02 Thread Kelly Choi
Hi all, *Please add your proposed agenda items below.* https://cryptpad.fr/pad/#/2/pad/edit/YWBsde6D8Y8R8z3PLBG2akrt/ If any action items are missing or have been resolved, please add/remove them from the sheet. *CALL LINK: https://meet.jit.si/XenProjectCommunityCall

Re: [PATCH v6 08/20] xen/riscv: introduce cmpxchg.h

2024-04-02 Thread Jan Beulich
On 02.04.2024 13:43, Oleksii wrote: > On Thu, 2024-03-21 at 13:07 +0100, Jan Beulich wrote: >>> + * If resulting 4-byte access is still misalgined, it will fault >>> just as >>> + * non-emulated 4-byte access would. >>> + */ >>> +#define emulate_xchg_1_2(ptr, new, lr_sfx, sc_sfx) \ >>> +({ \ >>> + 

[PATCH 2/2] xen/arm: Add i.MX UART driver

2024-04-02 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko The i.MX UART Documentation: https://www.nxp.com/webapp/Download?colCode=IMX8MMRM Chapter 16.2 Universal Asynchronous Receiver/Transmitter (UART) Tested on i.MX 8M Mini only, but I guess, it should be suitable for other i.MX8M* SoCs (those UART device tree nodes

[PATCH 0/2] Add UART support for i.MX 8M Mini EVKB

2024-04-02 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Hello all. This small series contains early printk and full UART support for i.MX 8M Mini EVKB [1]. Tested on i.MX 8M Mini only to which I had an access, but from my understanding, this UART support should be suitable for other i.MX8M* SoCs (those UART device tree

[PATCH 1/2] xen/arm: Add i.MX UART early printk support

2024-04-02 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Tested on i.MX 8M Mini only, but I guess, it should be suitable for other i.MX8M* SoCs (those UART device tree nodes contain "fsl,imx6q-uart" compatible string). Signed-off-by: Oleksandr Tyshchenko --- I selected the following configs for enabling early printk:

Re: [PATCH v6 08/20] xen/riscv: introduce cmpxchg.h

2024-04-02 Thread Oleksii
On Thu, 2024-03-21 at 13:07 +0100, Jan Beulich wrote: > > + * If resulting 4-byte access is still misalgined, it will fault > > just as > > + * non-emulated 4-byte access would. > > + */ > > +#define emulate_xchg_1_2(ptr, new, lr_sfx, sc_sfx) \ > > +({ \ > > +    uint32_t *aligned_ptr = (uint32_t

Re: [PATCH 2/3] drivers: serial: add Qualcomm GENI-based serial driver

2024-04-02 Thread Michal Orzel
Hello, On 29/03/2024 01:08, Volodymyr Babchuk wrote: > > > Generic Interface (GENI) is a newer interface for low speed interfaces > like UART, I2C or SPI. This patch adds the simple driver for the UART > instance of GENI. Code is based on similar drivers in U-Boot and Linux > kernel. Do you

[xen-unstable test] 185215: tolerable FAIL

2024-04-02 Thread osstest service owner
flight 185215 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/185215/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 185210

[OSSTEST PATCH 37/36] production-config: Set Bookworm's debian-installer version

2024-04-02 Thread Anthony PERARD
Signed-off-by: Anthony PERARD --- I've got this one more patch to add to the series, which I forgot to write. I'll put it before "Switch to Debian Bookworm as default suite" when I'll push the rest of the series. production-config | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 2/2] x86/video: do not assume a video mode to be unconditionally present

2024-04-02 Thread Andrew Cooper
On 02/04/2024 10:54 am, Jan Beulich wrote: > On 28.03.2024 20:58, Andrew Cooper wrote: >> On 28/03/2024 3:35 pm, Roger Pau Monne wrote: >>> There's no reason to assume VGA text mode 3 to be unconditionally available. >>> With the addition of booting Xen itself in PVH mode there's a boot path that

Re: [PATCH 2/2] x86/video: do not assume a video mode to be unconditionally present

2024-04-02 Thread Jan Beulich
On 28.03.2024 20:58, Andrew Cooper wrote: > On 28/03/2024 3:35 pm, Roger Pau Monne wrote: >> There's no reason to assume VGA text mode 3 to be unconditionally available. >> With the addition of booting Xen itself in PVH mode there's a boot path that >> explicitly short-circuits all the real-mode

Re: [PATCH 2/2] x86/video: do not assume a video mode to be unconditionally present

2024-04-02 Thread Jan Beulich
On 28.03.2024 16:35, Roger Pau Monne wrote: > There's no reason to assume VGA text mode 3 to be unconditionally available. > With the addition of booting Xen itself in PVH mode there's a boot path that > explicitly short-circuits all the real-mode logic, including the VGA > detection. > > Leave

Re: [PATCH 1/2] x86/video: add boot_video_info offset generation to asm-offsets

2024-04-02 Thread Jan Beulich
On 02.04.2024 11:38, Jan Beulich wrote: > On 28.03.2024 16:35, Roger Pau Monne wrote: >> Currently the offsets into the boot_video_info struct are manually encoded in >> video.S, which is fragile. Generate them in asm-offsets.c and switch the >> current code to use those instead. > > Just to

Re: [PATCH 1/2] x86/video: add boot_video_info offset generation to asm-offsets

2024-04-02 Thread Jan Beulich
On 28.03.2024 16:35, Roger Pau Monne wrote: > Currently the offsets into the boot_video_info struct are manually encoded in > video.S, which is fragile. Generate them in asm-offsets.c and switch the > current code to use those instead. Just to mention it (without asking for immediate action):

[OSSTEST PATCH] ap-common: Fix libvirt's git repo URL

2024-04-02 Thread Anthony PERARD
The current URL doesn't work anymore and just timeout, switch to the new main repo URL. Signed-off-by: Anthony PERARD --- Notes: I'll push that later today. Last libvirt test by osstest was on 20 February. ap-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 5/5] xen/memory, tools: Make init-dom0less consume XEN_DOMCTL_get_mem_map

2024-04-02 Thread Henry Wang
Hi Jan, On 4/2/2024 4:51 PM, Jan Beulich wrote: On 02.04.2024 10:43, Henry Wang wrote: On 4/2/2024 3:05 PM, Jan Beulich wrote: On 29.03.2024 06:11, Henry Wang wrote: On 3/12/2024 1:07 AM, Jan Beulich wrote: +/* + * Flag to force populate physmap to use pages from domheap instead of 1:1 + *

Re: [PATCH v2 5/5] xen/memory, tools: Make init-dom0less consume XEN_DOMCTL_get_mem_map

2024-04-02 Thread Jan Beulich
On 02.04.2024 10:43, Henry Wang wrote: > On 4/2/2024 3:05 PM, Jan Beulich wrote: >> On 29.03.2024 06:11, Henry Wang wrote: >>> On 3/12/2024 1:07 AM, Jan Beulich wrote: > +/* > + * Flag to force populate physmap to use pages from domheap instead of > 1:1 > + * or static allocation.

Re: [PATCH v2 5/5] xen/memory, tools: Make init-dom0less consume XEN_DOMCTL_get_mem_map

2024-04-02 Thread Henry Wang
Hi Jan, On 4/2/2024 3:05 PM, Jan Beulich wrote: On 29.03.2024 06:11, Henry Wang wrote: On 3/12/2024 1:07 AM, Jan Beulich wrote: +/* + * Flag to force populate physmap to use pages from domheap instead of 1:1 + * or static allocation. + */ +#define XENMEMF_force_heap_alloc (1<<19) #endif

Re: [PATCH net] xen-netfront: Add missing skb_mark_for_recycle

2024-04-02 Thread Arthur Borsboom
On Fri, 29 Mar 2024 at 10:47, Arthur Borsboom wrote: > > On Wed, 27 Mar 2024 at 13:15, Jesper Dangaard Brouer wrote: > > > > Notice that skb_mark_for_recycle() is introduced later than fixes tag in > > 6a5bcd84e886 ("page_pool: Allow drivers to hint on SKB recycling"). > > > > It is believed

Re: [PATCH 2/3] drivers: serial: add Qualcomm GENI-based serial driver

2024-04-02 Thread Jan Beulich
On 29.03.2024 01:08, Volodymyr Babchuk wrote: > Generic Interface (GENI) is a newer interface for low speed interfaces > like UART, I2C or SPI. This patch adds the simple driver for the UART > instance of GENI. Code is based on similar drivers in U-Boot and Linux > kernel. > > This driver

Re: [PATCH 1/3] arm: smmu: allow SMMU to have more IRQs than context banks

2024-04-02 Thread Michal Orzel
Hello, On 29/03/2024 01:08, Volodymyr Babchuk wrote: > > > I encountered platform, namely Qualcomm SA8155P where SMMU-compatible NIT: a commit msg should be written in imperative mood > IO-MMU advertises more context IQRs than there are context banks. This > should not be an issue, we need to

Re: [XEN PATCH 3/6] xen/arm: ffa: separate memory sharing routines

2024-04-02 Thread Bertrand Marquis
Hi Julien, > On 28 Mar 2024, at 18:58, Julien Grall wrote: > > Hi Bertrand, > > On 27/03/2024 13:40, Bertrand Marquis wrote: >> Hi Jens, >>> On 25 Mar 2024, at 10:39, Jens Wiklander wrote: >>> >>> Move memory sharing routines into a separate file for easier navigation >>> in the source code.

[XEN PATCH 7/7] vsprintf: address violations of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
MISRA C:2012 Rule 16.3 states: "An unconditional `break' statement shall terminate every switch-clause". Add break statement to address violations of the rule or add pseudo-keyword fallthrough to meet the requirements to deviate it. No functional change. Signed-off-by: Federico Serafini ---

Re: [PATCH v3 1/3] xen/arm: Add imx8q{m,x} platform glue

2024-04-02 Thread Michal Orzel
Hi John, On 28/03/2024 17:34, John Ernberg wrote: > > > When using Linux for dom0 there are a bunch of drivers that need to do SMC > SIP calls into the firmware to enable certain hardware bits like the > watchdog. > > Provide a basic platform glue that implements the needed SMC forwarding. >

[XEN PATCH 3/7] xen/sched: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Use pseudo-keyword fallthrough to meet the requirements to deviate MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause"). No functional change. Signed-off-by: Federico Serafini --- xen/common/sched/credit2.c | 2 +- 1 file changed, 1 insertion(+), 1

[XEN PATCH 4/7] xen/evtchn: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini --- xen/common/event_channel.c | 1 + 1 file changed, 1 insertion(+) diff --git

[XEN PATCH 2/7] console: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini --- xen/drivers/char/console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[XEN PATCH 6/7] xen/vm-event: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini --- xen/common/vm_event.c | 1 + 1 file changed, 1 insertion(+) diff --git

[XEN PATCH 5/7] xen/sched: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini --- xen/common/sched/core.c | 1 + 1 file changed, 1 insertion(+) diff --git

[XEN PATCH 1/7] xen/domctl: address a violation of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini --- xen/common/domctl.c | 1 + 1 file changed, 1 insertion(+) diff --git

[XEN PATCH 0/7] xen: address violations of MISRA C:2012 Rule 16.3

2024-04-02 Thread Federico Serafini
This patch series addresses some violations of Rule 16.3 by adding the missing break statements and pseudo-keyword fallthrough. Federico Serafini (7): xen/domctl: address a violation of MISRA C:2012 Rule 16.3 console: address a violation of MISRA C:2012 Rule 16.3 xen/sched: address a

[linux-linus test] 185214: tolerable FAIL - PUSHED

2024-04-02 Thread osstest service owner
flight 185214 linux-linus real [real] flight 185216 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/185214/ http://logs.test-lab.xenproject.org/osstest/logs/185216/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking):

Re: [PATCH v2 5/5] xen/memory, tools: Make init-dom0less consume XEN_DOMCTL_get_mem_map

2024-04-02 Thread Jan Beulich
On 29.03.2024 06:11, Henry Wang wrote: > On 3/12/2024 1:07 AM, Jan Beulich wrote: >>> +/* >>> + * Flag to force populate physmap to use pages from domheap instead of 1:1 >>> + * or static allocation. >>> + */ >>> +#define XENMEMF_force_heap_alloc (1<<19) >>> #endif >> If this is for

Re: [PATCH v6 06/20] xen/bitops: put __ffs() and ffz() into linux compatible header

2024-04-02 Thread Jan Beulich
On 29.03.2024 19:23, Oleksii wrote: > On Wed, 2024-03-20 at 16:42 +0100, Jan Beulich wrote: >> On 15.03.2024 19:06, Oleksii Kurochko wrote: >>> --- a/xen/lib/find-next-bit.c >>> +++ b/xen/lib/find-next-bit.c >>> @@ -9,6 +9,7 @@ >>>   * 2 of the License, or (at your option) any later version. >>>  

Re: [PATCH v6 3/4] libelf: Store maximum PHDR p_align

2024-04-02 Thread Jan Beulich
On 29.03.2024 15:41, Jason Andryuk wrote: > On 2024-03-28 12:47, Jan Beulich wrote: >> On 27.03.2024 22:51, Jason Andryuk wrote: >>> --- a/xen/common/libelf/libelf-loader.c >>> +++ b/xen/common/libelf/libelf-loader.c >>> @@ -468,6 +468,7 @@ void elf_parse_binary(struct elf_binary *elf) >>> { >>>