Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Chen, Jiqian
On 2024/10/12 13:48, Jürgen Groß wrote: > On 12.10.24 04:36, Chen, Jiqian wrote: >> On 2024/10/12 10:22, Chen, Jiqian wrote: >>> On 2024/10/11 20:06, Juergen Gross wrote: On 11.10.24 05:42, Jiqian Chen wrote: > Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev") >

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Chen, Jiqian
On 2024/10/12 10:22, Chen, Jiqian wrote: > On 2024/10/11 20:06, Juergen Gross wrote: >> On 11.10.24 05:42, Jiqian Chen wrote: >>> Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev") >>> adds a weak reverse dependency to the config XEN_PRIVCMD definition, that >>> dependency cau

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Chen, Jiqian
On 2024/10/11 20:06, Juergen Gross wrote: > On 11.10.24 05:42, Jiqian Chen wrote: >> Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev") >> adds a weak reverse dependency to the config XEN_PRIVCMD definition, that >> dependency causes xen-privcmd can't be loaded on domU, becaus

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

2024-10-11 Thread osstest service owner
flight 188053 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/188053/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stopfail like 188043 test-amd64-amd64-xl-qemuu-win7-amd64

Re: [GIT PULL] xen: branch for v6.12-rc3

2024-10-11 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Oct 2024 14:27:52 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-6.12a-rc3-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d947d6848a790616d6d2ca64097b6e818ffe3017 Thank you! -- Deet-doot-dot,

Re: [PATCH] xen/arm: dom0less: cope with missing /gic phandle

2024-10-11 Thread Stefano Stabellini
On Fri, 11 Oct 2024, Stewart Hildebrand wrote: > If a partial DT has a /gic node, but no references to it, dtc may omit > the phandle property. With the phandle property missing, > fdt_get_phandle() returns 0, leading Xen to generate a malformed domU > dtb due to invalid interrupt-parent phandle re

[PATCH] xen/arm: dom0less: cope with missing /gic phandle

2024-10-11 Thread Stewart Hildebrand
If a partial DT has a /gic node, but no references to it, dtc may omit the phandle property. With the phandle property missing, fdt_get_phandle() returns 0, leading Xen to generate a malformed domU dtb due to invalid interrupt-parent phandle references. 0 is an invalid phandle value. Add a zero che

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

2024-10-11 Thread osstest service owner
flight 188052 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/188052/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt 16 saverestore-support-checkfail like 188045 test-amd64-amd64-xl-qemut-win7-amd64

Re: [PATCH v6 06/11] tools/libacpi: Use LUT of APIC IDs rather than function pointer

2024-10-11 Thread Alejandro Vallejo
On Wed Oct 9, 2024 at 3:25 PM BST, Jan Beulich wrote: > On 01.10.2024 14:38, Alejandro Vallejo wrote: > > @@ -148,7 +148,7 @@ static struct acpi_20_madt *construct_madt(struct > > acpi_ctxt *ctxt, > > lapic->length = sizeof(*lapic); > > /* Processor ID must match processor-objec

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Andrew Cooper
On 11/10/2024 4:06 pm, Alejandro Vallejo wrote: > On Fri Oct 11, 2024 at 2:58 PM BST, Frediano Ziglio wrote: >> On Fri, Oct 11, 2024 at 2:38 PM Andrew Cooper >> wrote: >>> On 11/10/2024 2:28 pm, Alejandro Vallejo wrote: On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: > O

[PATCH v5 3/3] x86/msi: fix locking for SR-IOV devices

2024-10-11 Thread Stewart Hildebrand
In commit 4f78438b45e2 ("vpci: use per-domain PCI lock to protect vpci structure") a lock was moved from allocate_and_map_msi_pirq() to the caller and changed from pcidevs_lock() to read_lock(&d->pci_lock). However, one call path wasn't updated to reflect the change, leading to a failed assertion o

[PATCH v5 2/3] xen/pci: introduce PF<->VF links

2024-10-11 Thread Stewart Hildebrand
Add links between a VF's struct pci_dev and its associated PF struct pci_dev. Move the calls to pci_get_pdev()/pci_add_device() down to avoid dropping and re-acquiring the pcidevs_lock(). During PF removal, unlink VF from PF and mark the VF broken. As before, VFs may exist without a corresponding

[PATCH v5 1/3] x86/msi: harden stale pdev handling

2024-10-11 Thread Stewart Hildebrand
Dom0 normally informs Xen of PCI device removal via PHYSDEVOP_pci_device_remove, e.g. in response to SR-IOV disable or hot-unplug. We might find ourselves with stale pdevs if a buggy dom0 fails to report removal via PHYSDEVOP_pci_device_remove. In this case, attempts to access the config space of t

[PATCH v5 0/3] xen: SR-IOV fixes

2024-10-11 Thread Stewart Hildebrand
A fix for handling of stale pdevs, and a fix for a regressiong related to a locking change. Stewart Hildebrand (3): x86/msi: harden stale pdev handling xen/pci: introduce PF<->VF links x86/msi: fix locking for SR-IOV devices xen/arch/x86/msi.c| 51 --- xen/d

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Alejandro Vallejo
On Fri Oct 11, 2024 at 2:58 PM BST, Frediano Ziglio wrote: > On Fri, Oct 11, 2024 at 2:38 PM Andrew Cooper > wrote: > > > > On 11/10/2024 2:28 pm, Alejandro Vallejo wrote: > > > On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: > > >> On Fri, Oct 11, 2024 at 1:56 PM Alejandro Valle

[libvirt test] 188051: regressions - FAIL

2024-10-11 Thread osstest service owner
flight 188051 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/188051/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 6 xen-buildfail REGR. vs. 187961 Tests which did not suc

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

2024-10-11 Thread osstest service owner
flight 188054 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/188054/ 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 1

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Andrew Cooper
On 11/10/2024 2:38 pm, Andrew Cooper wrote: > On 11/10/2024 2:28 pm, Alejandro Vallejo wrote: >> On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: >>> On Fri, Oct 11, 2024 at 1:56 PM Alejandro Vallejo >>> wrote: On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano Ziglio wrote: >

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Frediano Ziglio
On Fri, Oct 11, 2024 at 2:38 PM Andrew Cooper wrote: > > On 11/10/2024 2:28 pm, Alejandro Vallejo wrote: > > On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: > >> On Fri, Oct 11, 2024 at 1:56 PM Alejandro Vallejo > >> wrote: > >>> On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano

Re: [python] [PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Frediano Ziglio
On Fri, Oct 11, 2024 at 2:17 PM Andrew Cooper wrote: > > On 11/10/2024 9:52 am, Frediano Ziglio wrote: > > diff --git a/xen/arch/x86/boot/Makefile b/xen/arch/x86/boot/Makefile > > index ff0f965876..4cf0d7e140 100644 > > --- a/xen/arch/x86/boot/Makefile > > +++ b/xen/arch/x86/boot/Makefile > > ...

Re: [RFC PATCH 01/13] PCI: Prepare removing devres from pci_intx()

2024-10-11 Thread Andy Shevchenko
On Fri, Oct 11, 2024 at 02:16:06PM +0200, Philipp Stanner wrote: > On Thu, 2024-10-10 at 17:40 +0300, Andy Shevchenko wrote: > > On Wed, Oct 09, 2024 at 10:35:07AM +0200, Philipp Stanner wrote: > > > pci_intx() is a hybrid function which sometimes performs devres > > > operations, depending on whet

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Andrew Cooper
On 11/10/2024 2:28 pm, Alejandro Vallejo wrote: > On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: >> On Fri, Oct 11, 2024 at 1:56 PM Alejandro Vallejo >> wrote: >>> On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano Ziglio wrote: Signed-off-by: Frediano Ziglio ---

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Alejandro Vallejo
On Fri, Oct 11, 2024 at 02:08:37PM +0100, Frediano Ziglio wrote: > On Fri, Oct 11, 2024 at 1:56 PM Alejandro Vallejo > wrote: > > > > On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano Ziglio wrote: > > > Signed-off-by: Frediano Ziglio > > > --- > > > xen/arch/x86/boot/reloc.c | 2 +- > > > 1 fi

Re: [PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Andrew Cooper
On 11/10/2024 2:20 pm, Jan Beulich wrote: > On 11.10.2024 10:52, Frediano Ziglio wrote: >> diff --git a/xen/tools/combine_two_binaries b/xen/tools/combine_two_binaries >> new file mode 100755 >> index 00..ea2d6ddc4e >> --- /dev/null >> +++ b/xen/tools/combine_two_binaries >> @@ -0,0 +1,198

Re: [PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Jan Beulich
On 11.10.2024 10:52, Frediano Ziglio wrote: > diff --git a/xen/tools/combine_two_binaries b/xen/tools/combine_two_binaries > new file mode 100755 > index 00..ea2d6ddc4e > --- /dev/null > +++ b/xen/tools/combine_two_binaries > @@ -0,0 +1,198 @@ > +#!/usr/bin/env python3 Nit: Such files, by

Re: [python] [PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Andrew Cooper
On 11/10/2024 9:52 am, Frediano Ziglio wrote: > diff --git a/xen/arch/x86/boot/Makefile b/xen/arch/x86/boot/Makefile > index ff0f965876..4cf0d7e140 100644 > --- a/xen/arch/x86/boot/Makefile > +++ b/xen/arch/x86/boot/Makefile > ... > +$(obj)/built_in_32.o: $(obj)/built_in_32.other.bin > $(obj)/buil

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Frediano Ziglio
On Fri, Oct 11, 2024 at 1:56 PM Alejandro Vallejo wrote: > > On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano Ziglio wrote: > > Signed-off-by: Frediano Ziglio > > --- > > xen/arch/x86/boot/reloc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/xen/arch/x86/boot/

Re: [PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Alejandro Vallejo
On Fri, Oct 11, 2024 at 09:52:44AM +0100, Frediano Ziglio wrote: > Signed-off-by: Frediano Ziglio > --- > xen/arch/x86/boot/reloc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/arch/x86/boot/reloc.c b/xen/arch/x86/boot/reloc.c > index e50e161b27..e725cfb6eb 100644

Re: [PATCH v3 2/5] x86/boot: Reuse code to relocate trampoline

2024-10-11 Thread Jan Beulich
On 11.10.2024 10:52, Frediano Ziglio wrote: > --- /dev/null > +++ b/xen/arch/x86/boot/reloc-trampoline.c > @@ -0,0 +1,36 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > + > +#include > +#include > +#include > + > +extern const int32_t __trampoline_rel_start[], __trampoline_rel_stop[]; > +ext

[GIT PULL] xen: branch for v6.12-rc3

2024-10-11 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-6.12a-rc3-tag xen: branch for v6.12-rc3 It contains a single fix for topology information of Xen PV guests. Thanks. Juergen arch/x86/xen/enlighten_pv.c | 4 1 file changed, 4

Re: [RFC PATCH 02/13] ALSA: hda: hda_intel: Use always-managed version of pcim_intx()

2024-10-11 Thread Philipp Stanner
On Thu, 2024-10-10 at 17:46 +0300, Andy Shevchenko wrote: > On Wed, Oct 09, 2024 at 10:35:08AM +0200, Philipp Stanner wrote: > > pci_intx() is a hybrid function which can sometimes be managed > > through > > devres. To remove this hybrid nature from pci_intx(), it is > > necessary to > > port users

Re: [RFC PATCH 01/13] PCI: Prepare removing devres from pci_intx()

2024-10-11 Thread Philipp Stanner
On Thu, 2024-10-10 at 17:40 +0300, Andy Shevchenko wrote: > On Wed, Oct 09, 2024 at 10:35:07AM +0200, Philipp Stanner wrote: > > pci_intx() is a hybrid function which sometimes performs devres > > operations, depending on whether pcim_enable_device() has been used > > to > > enable the pci_dev. Thi

Re: [PATCH v3 3/5] x86/boot: Use boot_vid_info variable directly from C code

2024-10-11 Thread Andrew Cooper
On 11/10/2024 9:52 am, Frediano Ziglio wrote: > No more need to pass from assembly code. > > Signed-off-by: Frediano Ziglio Yes, much less churn. Reviewed-by: Andrew Cooper

Re: [RFC PATCH 13/13] Remove devres from pci_intx()

2024-10-11 Thread Philipp Stanner
On Thu, 2024-10-10 at 11:43 -0600, Alex Williamson wrote: > On Thu, 10 Oct 2024 11:11:36 +0200 > Philipp Stanner wrote: > > > On Thu, 2024-10-10 at 11:50 +0300, Dan Carpenter wrote: > > > On Wed, Oct 09, 2024 at 10:35:19AM +0200, Philipp Stanner wrote:  > > > > pci_intx() is a hybrid function whi

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Juergen Gross
On 11.10.24 05:42, Jiqian Chen wrote: Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev") adds a weak reverse dependency to the config XEN_PRIVCMD definition, that dependency causes xen-privcmd can't be loaded on domU, because dependent xen-pciback isn't always be loaded succ

Re: [PATCH v3 4/5] x86/boot: Use trampoline_phys variable directly from C code

2024-10-11 Thread Andrew Cooper
On 11/10/2024 9:52 am, Frediano Ziglio wrote: > No more need to pass from assembly code. > > Signed-off-by: Frediano Ziglio Reviewed-by: Andrew Cooper

Re: [RFC PATCH 01/13] PCI: Prepare removing devres from pci_intx()

2024-10-11 Thread Philipp Stanner
On Thu, 2024-10-10 at 11:43 -0600, Alex Williamson wrote: > On Wed,  9 Oct 2024 10:35:07 +0200 > Philipp Stanner wrote: > > > pci_intx() is a hybrid function which sometimes performs devres > > operations, depending on whether pcim_enable_device() has been used > > to > > enable the pci_dev. This

Re: [PATCH v3 2/5] x86/boot: Reuse code to relocate trampoline

2024-10-11 Thread Andrew Cooper
On 11/10/2024 9:52 am, Frediano Ziglio wrote: > Move code from efi-boot.h to a separate, new, reloc-trampoline.c file. > Reuse this new code to replace assembly code in head.S doing the > same thing. > > Signed-off-by: Frediano Ziglio I'd be tempted to say "Reuse this new code, compiling it for 3

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Juergen Gross
On 11.10.24 05:42, Jiqian Chen wrote: Commit 2fae6bb7be32 ("xen/privcmd: Add new syscall to get gsi from dev") adds a weak reverse dependency to the config XEN_PRIVCMD definition, that dependency causes xen-privcmd can't be loaded on domU, because dependent xen-pciback isn't always be loaded succ

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Juergen Gross
On 11.10.24 12:10, Jan Beulich wrote: On 11.10.2024 11:33, Chen, Jiqian wrote: On 2024/10/11 17:20, Chen, Jiqian wrote: On 2024/10/11 16:54, Jan Beulich wrote: On 11.10.2024 05:42, Jiqian Chen wrote: @@ -1757,11 +1756,19 @@ static int __init xen_pcibk_init(void) bus_register_n

Re: [Makefile only] [PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Andrew Cooper
On 11/10/2024 9:52 am, Frediano Ziglio wrote: > > > Signed-off-by: Frediano Ziglio The makefile changes here are not the easiest to follow, because there are two related things being done. I experimented, and came up with the following:     https://xenbits.xen.org/gitweb/?p=people/andrewcoop/x

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Jan Beulich
On 11.10.2024 11:33, Chen, Jiqian wrote: > On 2024/10/11 17:20, Chen, Jiqian wrote: >> On 2024/10/11 16:54, Jan Beulich wrote: >>> On 11.10.2024 05:42, Jiqian Chen wrote: @@ -1757,11 +1756,19 @@ static int __init xen_pcibk_init(void) bus_register_notifier(&pci_bus_type, &pci_st

Re: [PATCH 2/3] tools/xenstored: remove unneeded libxenguest reference

2024-10-11 Thread Anthony PERARD
On Thu, Oct 10, 2024 at 05:54:58PM +0200, Juergen Gross wrote: > Today the xenstored Makefile contains an unneeded reference to the > not used libxenguest library. > > Remove it. > > Signed-off-by: Juergen Gross Reviewed-by: Anthony PERARD Thanks, -- Anthony Perard | Vates XCP-ng Developer

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Chen, Jiqian
On 2024/10/11 17:20, Chen, Jiqian wrote: > On 2024/10/11 16:54, Jan Beulich wrote: >> On 11.10.2024 05:42, Jiqian Chen wrote: >>> @@ -1757,11 +1756,19 @@ static int __init xen_pcibk_init(void) >>> bus_register_notifier(&pci_bus_type, &pci_stub_nb); >>> #endif >>> >>> +#ifdef CONFIG_X

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Chen, Jiqian
On 2024/10/11 16:54, Jan Beulich wrote: > On 11.10.2024 05:42, Jiqian Chen wrote: >> @@ -1757,11 +1756,19 @@ static int __init xen_pcibk_init(void) >> bus_register_notifier(&pci_bus_type, &pci_stub_nb); >> #endif >> >> +#ifdef CONFIG_XEN_ACPI >> +xen_acpi_register_get_gsi_func(p

Re: [XEN PATCH v2 4/4] xen/pci: address a violation of MISRA C Rule 16.3

2024-10-11 Thread Roger Pau Monné
On Fri, Oct 11, 2024 at 10:48:13AM +0200, Jan Beulich wrote: > On 11.10.2024 10:45, Roger Pau Monné wrote: > > On Mon, Oct 07, 2024 at 04:16:19PM +0200, Federico Serafini wrote: > >> Refactor the code to avoid an implicit fallthrough and address > >> a violation of MISRA C:2012 Rule 16.3: "An uncon

Re: [PATCH v3] xen: Remove dependency between pciback and privcmd

2024-10-11 Thread Jan Beulich
On 11.10.2024 05:42, Jiqian Chen wrote: > @@ -1757,11 +1756,19 @@ static int __init xen_pcibk_init(void) > bus_register_notifier(&pci_bus_type, &pci_stub_nb); > #endif > > +#ifdef CONFIG_XEN_ACPI > + xen_acpi_register_get_gsi_func(pcistub_get_gsi_from_sbdf); > +#endif > + >

[PATCH v3 2/5] x86/boot: Reuse code to relocate trampoline

2024-10-11 Thread Frediano Ziglio
Move code from efi-boot.h to a separate, new, reloc-trampoline.c file. Reuse this new code to replace assembly code in head.S doing the same thing. Signed-off-by: Frediano Ziglio --- xen/arch/x86/boot/Makefile | 12 ++ xen/arch/x86/boot/build32.lds.S | 5 xen/arch/x8

[PATCH v3 4/5] x86/boot: Use trampoline_phys variable directly from C code

2024-10-11 Thread Frediano Ziglio
No more need to pass from assembly code. Signed-off-by: Frediano Ziglio --- Changes since v1: - split the 2 variable changes into 2 commits. Changes since v2: - revert commit order; - avoid useless casts. --- xen/arch/x86/boot/head.S | 6 +- xen/arch/x86/boot/reloc.c | 8 ++-- 2 files

[PATCH v3 0/5] Reuse 32 bit C code more safely

2024-10-11 Thread Frediano Ziglio
This series attempt to: - use more C code, that is replace some assembly code with C; - avoid some code duplication between C and assembly; - prevent some issues having relocations in C code. The idea is extending the current C to binary code conversion done for 32 bit C code called from head.S ma

[PATCH v3 1/5] x86/boot: create a C bundle for 32 bit boot code and use it

2024-10-11 Thread Frediano Ziglio
The current method to include 32 bit C boot code is: - compile each function we want to use into a separate object file; - each function is compiled with -fpic option; - convert these object files to binary files. This operation removes GOP which we don't want in the executable; - a small assembl

[PATCH v3 5/5] x86/boot: Clarify comment

2024-10-11 Thread Frediano Ziglio
Signed-off-by: Frediano Ziglio --- xen/arch/x86/boot/reloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/boot/reloc.c b/xen/arch/x86/boot/reloc.c index e50e161b27..e725cfb6eb 100644 --- a/xen/arch/x86/boot/reloc.c +++ b/xen/arch/x86/boot/reloc.c @@ -65,7 +65,7

[PATCH v3 3/5] x86/boot: Use boot_vid_info variable directly from C code

2024-10-11 Thread Frediano Ziglio
No more need to pass from assembly code. Signed-off-by: Frediano Ziglio --- Changes since v1: - split the 2 variable changes into 2 commits. Changes since v2: - revert commit order. --- xen/arch/x86/boot/build32.lds.S | 1 + xen/arch/x86/boot/head.S| 10 +- xen/arch/x86/boot/re

Re: [XEN PATCH v2 4/4] xen/pci: address a violation of MISRA C Rule 16.3

2024-10-11 Thread Jan Beulich
On 11.10.2024 10:45, Roger Pau Monné wrote: > On Mon, Oct 07, 2024 at 04:16:19PM +0200, Federico Serafini wrote: >> Refactor the code to avoid an implicit fallthrough and address >> a violation of MISRA C:2012 Rule 16.3: "An unconditional `break' >> statement shall terminate every switch-clause". >

Re: [XEN PATCH v2 4/4] xen/pci: address a violation of MISRA C Rule 16.3

2024-10-11 Thread Roger Pau Monné
On Mon, Oct 07, 2024 at 04:16:19PM +0200, Federico Serafini wrote: > Refactor the code to avoid an implicit fallthrough and 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: Fed

Re: [PATCH 0/3] stubdom: reduce xenstore library dependencies

2024-10-11 Thread Andrew Cooper
On 10/10/2024 4:54 pm, Juergen Gross wrote: > Instead of letting the xenstore stubdoms depend on libxenguest and > with that on basically all Xen libraries, only let it depend on the > actually used libraries. > > This is in preparation of removing the libxenctrl dependency from > Xenstore and with

Re: [XEN PATCH v2 3/4] xen/vpci: address violations of MISRA C Rule 16.3

2024-10-11 Thread Roger Pau Monné
On Mon, Oct 07, 2024 at 02:44:22PM -0700, Stefano Stabellini wrote: > On Mon, 7 Oct 2024, Federico Serafini wrote: > > Address violations of MISRA C:2012 Rule 16.3: > > "An unconditional `break' statement shall terminate every > > switch-clause". > > > > No functional change. > > > > Signed-off-b