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

2024-10-31 Thread Takashi Iwai
On Wed, 30 Oct 2024 23:17:37 +0100, Bjorn Helgaas wrote: > > On Tue, Oct 15, 2024 at 08:51:10PM +0200, Philipp Stanner wrote: > > @Driver-Maintainers: Your driver might be touched by patch "Remove > > devres from pci_intx()". You might want to take a look. > > > > Changes since the RFC [1]: > >

Re: [PATCH for-4.19] Config: Update MiniOS revision

2024-10-31 Thread Andrew Cooper
On 31/10/2024 9:25 am, Jan Beulich wrote: > On 30.10.2024 19:03, Andrew Cooper wrote: >> A new branch from xen-RELEASE-4.19.0, for now containing commit >> a400dd517068 ("Add missing symbol exports for grub-pv"). >> >> Signed-off-by: Andrew Cooper >> --- >> CC: Juergen Gross >> CC: Jan Beulich >

Re: [PATCH] x86/mm: ensure L2 is always freed if empty

2024-10-31 Thread Jan Beulich
On 30.10.2024 12:48, Roger Pau Monne wrote: > The current logic in modify_xen_mappings() allows for fully empty L2 tables to > not be freed and unhooked from the parent L3 if the last L2 slot is not > populated. > > Ensure that even when an L2 slot is empty the logic to check whether the whole > L

Re: [PATCH for-4.19] Config: Update MiniOS revision

2024-10-31 Thread Jan Beulich
On 31.10.2024 10:46, Andrew Cooper wrote: > On 31/10/2024 9:25 am, Jan Beulich wrote: >> On 30.10.2024 19:03, Andrew Cooper wrote: >>> A new branch from xen-RELEASE-4.19.0, for now containing commit >>> a400dd517068 ("Add missing symbol exports for grub-pv"). >>> >>> Signed-off-by: Andrew Cooper >

Re: [PATCH] Config: Update MiniOS revision

2024-10-31 Thread Jan Beulich
On 30.10.2024 18:59, Andrew Cooper wrote: > Commit 6d5159e8410b ("Add missing symbol exports for grub-pv") > > Signed-off-by: Andrew Cooper Acked-by: Jan Beulich

Re: [PATCH 1/7] byteorder: replace __u16

2024-10-31 Thread Jan Beulich
On 16.10.2024 11:37, Jan Beulich wrote: > On 09.10.2024 15:34, Jan Beulich wrote: >> On 09.10.2024 15:20, Andrew Cooper wrote: >>> On 09/10/2024 10:21 am, Jan Beulich wrote: In {big,little}_endian.h the changes are entirely mechanical, except for dealing with casting away of const from po

Re: [PATCH v4] NUMA: Introduce NODE_DATA->node_present_pages(RAM pages)

2024-10-31 Thread Jan Beulich
On 29.10.2024 16:53, Jan Beulich wrote: > On 27.10.2024 15:43, Bernhard Kaindl wrote: >> From: Bernhard Kaindl >> >> At the moment, Xen keeps track of the spans of PFNs of the NUMA nodes. >> But the PFN span sometimes includes large MMIO holes, so these values >> might not be an exact representati

Re: [PATCH v2 1/3] xen/riscv: introduce setup_mm()

2024-10-31 Thread Jan Beulich
On 31.10.2024 14:19, oleksii.kuroc...@gmail.com wrote: > +void __init setup_mm(void) > +{ > +    const struct membanks *banks = bootinfo_get_mem(); > +    paddr_t ram_start = INVALID_PADDR; > +    paddr_t ram_end = 0; > +    paddr_t ram_size = 0; > +    unsigned int i; >

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

2024-10-31 Thread Thomas Gleixner
On Tue, Oct 15 2024 at 20:51, Philipp Stanner wrote: > +/** > + * pci_intx - enables/disables PCI INTx for device dev, unmanaged version mismatch vs. actual function name. > + * @pdev: the PCI device to operate on > + * @enable: boolean: whether to enable or disable PCI INTx > + * > + * Enables/d

[XEN PATCH] x86/hvm: Use constants for x86 modes

2024-10-31 Thread Teddy Astie
In many places of x86 HVM code, constants integer are used to indicate in what mode is running the CPU (real, v86, 16-bits, 32-bits, 64-bits). However, these constants are are written directly as integer which hides the actual meaning of these modes. This patch introduces X86_MODE_* macros and r

Re: [PATCH] CI: Fix cppcheck parallel build more

2024-10-31 Thread Luca Fancellu
Hi Andrew, > On 31 Oct 2024, at 16:55, Andrew Cooper wrote: > > A recent cppcheck run was found to fail: > > https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/8237167472 > > with: > > "type mismatch! call is() before get()" && is() > make[3]: *** [arch/x86/boot/Makefile:28: > arch/

Re: [PATCH] SUPPORT.md: Argo: Upgrade status to Tech Preview

2024-10-31 Thread Andrew Cooper
On 21/10/2024 1:41 pm, Andrew Cooper wrote: > On 19/10/2024 8:06 pm, Christopher Clark wrote: >> Recent patches to xen-devel indicate active interest in Argo within the Xen >> community, and as the feature has been documented and in use by >> OpenXT for multiple years, update the Xen SUPPORT.md sta

Re: [PATCH] CI: Fix cppcheck parallel build more

2024-10-31 Thread Andrew Cooper
On 31/10/2024 5:11 pm, Luca Fancellu wrote: > Hi Andrew, > >> On 31 Oct 2024, at 16:55, Andrew Cooper wrote: >> >> A recent cppcheck run was found to fail: >> >> https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/8237167472 >> >> with: >> >> "type mismatch! call is() before get()" && is()

Re: [PATCH v2] xen/common: Move gic_preinit() to common code

2024-10-31 Thread Jan Beulich
On 31.10.2024 16:13, oleksii.kuroc...@gmail.com wrote: > On Thu, 2024-10-31 at 11:29 +0100, Michal Orzel wrote: >> >> >> On 31/10/2024 10:34, Jan Beulich wrote: >>> >>> >>> On 30.10.2024 14:14, Oleksii Kurochko wrote: Introduce ic_preinit() in the common codebase, as it is not architectur

[PATCH] CI: Fix cppcheck parallel build more

2024-10-31 Thread Andrew Cooper
A recent cppcheck run was found to fail: https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/8237167472 with: "type mismatch! call is() before get()" && is() make[3]: *** [arch/x86/boot/Makefile:28: arch/x86/boot/reloc-trampoline.32.o] Error 1 This turns out to be a parallel build i

Re: [XEN PATCH] x86/hvm: Use constants for x86 modes

2024-10-31 Thread Alejandro Vallejo
On Thu Oct 31, 2024 at 1:27 PM GMT, Teddy Astie wrote: > In many places of x86 HVM code, constants integer are used to indicate in > what mode is > running the CPU (real, v86, 16-bits, 32-bits, 64-bits). However, these > constants are > are written directly as integer which hides the actual meani

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Andrew Cooper
On 31/10/2024 1:47 pm, Andrew Cooper wrote: > The change works for divergent branches, but doesn't work for explicit SHAs. > > Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG we want after > cloning. > > Fixes: c554ec124b12 ("scripts: Fix git-checkout.sh to work with branches > ot

Re: [PATCH v4 4/6] xen/arm: mpu: Create boot-time MPU protection regions

2024-10-31 Thread Ayan Kumar Halder
On 30/10/2024 10:51, Luca Fancellu wrote: Hi Julien, Hi Luca/Julien, On 30 Oct 2024, at 10:32, Julien Grall wrote: On 30/10/2024 10:08, Luca Fancellu wrote: Hi Julien, On 30 Oct 2024, at 09:52, Julien Grall wrote: On Wed, 30 Oct 2024 at 09:17, Luca Fancellu wrote: Hi Ayan, While I

Re: [PATCH 3/6] xen: add new domctl get_changed_domain

2024-10-31 Thread Jan Beulich
On 23.10.2024 15:10, Juergen Gross wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -154,6 +154,57 @@ void domain_reset_states(void) > rcu_read_unlock(&domlist_read_lock); > } > > +static void set_domain_state_info(struct xen_domctl_get_domain_state *info, > +

Re: [PATCH v2] xen/common: Move gic_preinit() to common code

2024-10-31 Thread oleksii . kurochko
On Thu, 2024-10-31 at 11:29 +0100, Michal Orzel wrote: > > > On 31/10/2024 10:34, Jan Beulich wrote: > > > > > > On 30.10.2024 14:14, Oleksii Kurochko wrote: > > > Introduce ic_preinit() in the common codebase, as it is not > > > architecture-specific and can be reused by both PPC and RISC-V. >

Re: [PATCH for-4.19] Config: Update MiniOS revision

2024-10-31 Thread Andrew Cooper
On 31/10/2024 10:24 am, Andrew Cooper wrote: > On 31/10/2024 10:02 am, Jan Beulich wrote: >> On 31.10.2024 10:46, Andrew Cooper wrote: >>> On 31/10/2024 9:25 am, Jan Beulich wrote: On 30.10.2024 19:03, Andrew Cooper wrote: > A new branch from xen-RELEASE-4.19.0, for now containing commit >

Re: [PATCH] x86/mm: ensure L2 is always freed if empty

2024-10-31 Thread Andrew Cooper
On 30/10/2024 11:48 am, Roger Pau Monne wrote: > The current logic in modify_xen_mappings() allows for fully empty L2 tables to > not be freed and unhooked from the parent L3 if the last L2 slot is not > populated. > > Ensure that even when an L2 slot is empty the logic to check whether the whole >

Re: [PATCH 1/6] xen: add a domain unique id to each domain

2024-10-31 Thread Alejandro Vallejo
On Wed Oct 23, 2024 at 3:27 PM BST, Juergen Gross wrote: > On 23.10.24 16:08, Alejandro Vallejo wrote: > > On Wed Oct 23, 2024 at 2:10 PM BST, Juergen Gross wrote: > >> Xenstore is referencing domains by their domid, but reuse of a domid > >> can lead to the situation that Xenstore can't tell wheth

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

2024-10-31 Thread Jan Beulich
On 28.10.2024 18:53, Roger Pau Monné wrote: > Anyway, no strong opinion about the commit message adjustment, so with > the type changed: Btw, while preparing this patch for committing I ended up confused by this: I can't find any request to adjust the commit message. The only other thing I had ask

Re: [PATCH] x86/mm: ensure L2 is always freed if empty

2024-10-31 Thread Jan Beulich
On 31.10.2024 11:36, Roger Pau Monné wrote: > On Thu, Oct 31, 2024 at 10:59:36AM +0100, Jan Beulich wrote: >> On 30.10.2024 12:48, Roger Pau Monne wrote: >>> The current logic in modify_xen_mappings() allows for fully empty L2 tables >>> to >>> not be freed and unhooked from the parent L3 if the l

Re: [PATCH 1/7] byteorder: replace __u16

2024-10-31 Thread Andrew Cooper
On 31/10/2024 11:23 am, Jan Beulich wrote: > On 16.10.2024 11:37, Jan Beulich wrote: >> On 09.10.2024 15:34, Jan Beulich wrote: >>> On 09.10.2024 15:20, Andrew Cooper wrote: On 09/10/2024 10:21 am, Jan Beulich wrote: > In {big,little}_endian.h the changes are entirely mechanical, except fo

Re: [PATCH for-4.19] Config: Update MiniOS revision

2024-10-31 Thread Andrew Cooper
On 31/10/2024 10:02 am, Jan Beulich wrote: > On 31.10.2024 10:46, Andrew Cooper wrote: >> On 31/10/2024 9:25 am, Jan Beulich wrote: >>> On 30.10.2024 19:03, Andrew Cooper wrote: A new branch from xen-RELEASE-4.19.0, for now containing commit a400dd517068 ("Add missing symbol exports for g

Re: [PATCH] x86/mm: ensure L2 is always freed if empty

2024-10-31 Thread Roger Pau Monné
On Thu, Oct 31, 2024 at 10:59:36AM +0100, Jan Beulich wrote: > On 30.10.2024 12:48, Roger Pau Monne wrote: > > The current logic in modify_xen_mappings() allows for fully empty L2 tables > > to > > not be freed and unhooked from the parent L3 if the last L2 slot is not > > populated. > > > > Ensu

Re: [PATCH v2 1/3] xen/riscv: introduce setup_mm()

2024-10-31 Thread oleksii . kurochko
> > > > > > > > > > Finally, regarding masking off the top bits of mfn, I'm not > > entirely > > clear on how this should work. If I understand correctly, if I mask > > off > > certain top bits in mfn, then I would need to unmask those same top > > bits in maddr_to_virt() and virt_to_maddr(). Is

Re: [XEN PATCH] x86/hvm: Use constants for x86 modes

2024-10-31 Thread Jan Beulich
On 31.10.2024 15:13, Andrew Cooper wrote: > On 31/10/2024 1:27 pm, Teddy Astie wrote: >> In many places of x86 HVM code, constants integer are used to indicate in >> what mode is >> running the CPU (real, v86, 16-bits, 32-bits, 64-bits). However, these >> constants are >> are written directly as

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Alejandro Vallejo
On Thu Oct 31, 2024 at 1:47 PM GMT, Andrew Cooper wrote: > The change works for divergent branches, but doesn't work for explicit SHAs. > > Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG we want after > cloning. > > Fixes: c554ec124b12 ("scripts: Fix git-checkout.sh to work with b

Re: [XEN PATCH] x86/hvm: Use constants for x86 modes

2024-10-31 Thread Jan Beulich
On 31.10.2024 14:27, Teddy Astie wrote: > In many places of x86 HVM code, constants integer are used to indicate in > what mode is > running the CPU (real, v86, 16-bits, 32-bits, 64-bits). However, these > constants are > are written directly as integer which hides the actual meaning of these mod

Re: [PATCH 1/7] byteorder: replace __u16

2024-10-31 Thread Jan Beulich
On 31.10.2024 13:20, Andrew Cooper wrote: > On 31/10/2024 11:23 am, Jan Beulich wrote: >> On 16.10.2024 11:37, Jan Beulich wrote: >>> On 09.10.2024 15:34, Jan Beulich wrote: On 09.10.2024 15:20, Andrew Cooper wrote: > On 09/10/2024 10:21 am, Jan Beulich wrote: >> In {big,little}_endian

Re: [RFC PATCH 0/6] xen/abi: On wide bitfields inside primitive types

2024-10-31 Thread Alejandro Vallejo
On Thu Oct 31, 2024 at 7:57 AM GMT, Jan Beulich wrote: > On 30.10.2024 16:08, Alejandro Vallejo wrote: > > > > In the course of preparing this answer I just noticed that altp2m_opts > > suffers > > from the exact same annoyance, with the exact same fix. I just noticed while > > rebasing my Rust b

[PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Andrew Cooper
The change works for divergent branches, but doesn't work for explicit SHAs. Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG we want after cloning. Fixes: c554ec124b12 ("scripts: Fix git-checkout.sh to work with branches other than master") Signed-off-by: Andrew Cooper --- CC:

Re: [XEN PATCH] x86/hvm: Use constants for x86 modes

2024-10-31 Thread Andrew Cooper
On 31/10/2024 1:27 pm, Teddy Astie wrote: > In many places of x86 HVM code, constants integer are used to indicate in > what mode is > running the CPU (real, v86, 16-bits, 32-bits, 64-bits). However, these > constants are > are written directly as integer which hides the actual meaning of these m

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Alejandro Vallejo
On Thu Oct 31, 2024 at 2:21 PM GMT, Andrew Cooper wrote: > On 31/10/2024 2:17 pm, Alejandro Vallejo wrote: > > On Thu Oct 31, 2024 at 1:47 PM GMT, Andrew Cooper wrote: > >> The change works for divergent branches, but doesn't work for explicit > >> SHAs. > >> > >> Instead of passing `-b $TAG` to c

Re: [PATCH v2] xen/common: Move gic_preinit() to common code

2024-10-31 Thread oleksii . kurochko
On Thu, 2024-10-31 at 11:29 +0100, Michal Orzel wrote: > > > On 31/10/2024 10:34, Jan Beulich wrote: > > > > > > On 30.10.2024 14:14, Oleksii Kurochko wrote: > > > Introduce ic_preinit() in the common codebase, as it is not > > > architecture-specific and can be reused by both PPC and RISC-V. >

Re: [PATCH] CI: Drop alpine-3.18-rootfs-export and use test-artefacts

2024-10-31 Thread Stefano Stabellini
On Thu, 31 Oct 2024, Andrew Cooper wrote: > On 31/10/2024 10:46 pm, Stefano Stabellini wrote: > > On Thu, 31 Oct 2024, Andrew Cooper wrote: > >> The Argo work already moved this artefact into the new form. Reuse that, > >> and > >> drop one test job. > >> > >> Signed-off-by: Andrew Cooper > > Th

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Andrew Cooper
On 31/10/2024 2:17 pm, Alejandro Vallejo wrote: > On Thu Oct 31, 2024 at 1:47 PM GMT, Andrew Cooper wrote: >> The change works for divergent branches, but doesn't work for explicit SHAs. >> >> Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG we want >> after >> cloning. >> >> Fixes

[PATCH] CI: Drop alpine-3.18-rootfs-export and use test-artefacts

2024-10-31 Thread Andrew Cooper
The Argo work already moved this artefact into the new form. Reuse that, and drop one test job. Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Stefano Stabellini CC: Michal Orzel CC: Doug Goldstein CC: Victor Lira CC: Marek Marczykowski-Górecki https://gitlab.com/xen-project/peop

Re: [PATCH v3] x86/io-apic: fix directed EOI when using AMD-Vi interrupt remapping

2024-10-31 Thread Jan Beulich
On 30.10.2024 13:26, Roger Pau Monné wrote: > On Wed, Oct 30, 2024 at 11:57:39AM +0100, Jan Beulich wrote: >> On 30.10.2024 11:09, Roger Pau Monné wrote: >>> On Wed, Oct 30, 2024 at 10:41:40AM +0100, Jan Beulich wrote: On 29.10.2024 18:48, Roger Pau Monné wrote: > On Tue, Oct 29, 2024 at 0

Re: [PATCH] x86/cpu-policy: Extend the guest max policy max leaf/subleaves

2024-10-31 Thread Jan Beulich
On 30.10.2024 17:51, Andrew Cooper wrote: > On 30/10/2024 3:13 pm, Roger Pau Monné wrote: >> On Wed, Oct 30, 2024 at 02:45:19PM +, Andrew Cooper wrote: >>> On 30/10/2024 11:03 am, Roger Pau Monné wrote: On Wed, Oct 30, 2024 at 10:39:12AM +, Andrew Cooper wrote: > On 30/10/2024 8:59

[PATCH v4] x86/io-apic: fix directed EOI when using AMD-Vi interrupt remapping

2024-10-31 Thread Roger Pau Monne
When using AMD-Vi interrupt remapping the vector field in the IO-APIC RTE is repurposed to contain part of the offset into the remapping table. Previous to 2ca9fbd739b8 Xen had logic so that the offset into the interrupt remapping table would match the vector. Such logic was mandatory for end of

Re: [RFC PATCH 0/6] xen/abi: On wide bitfields inside primitive types

2024-10-31 Thread Jan Beulich
On 30.10.2024 16:08, Alejandro Vallejo wrote: > > In the course of preparing this answer I just noticed that altp2m_opts suffers > from the exact same annoyance, with the exact same fix. I just noticed while > rebasing my Rust branch. Hardly the only other one. See GTF_type_mask or XEN_DOMCTL_PFI

Re: [PATCH v2 1/3] xen/riscv: introduce setup_mm()

2024-10-31 Thread Jan Beulich
On 30.10.2024 17:50, oleksii.kuroc...@gmail.com wrote: > On Wed, 2024-10-30 at 11:25 +0100, Jan Beulich wrote: >> On 23.10.2024 17:50, Oleksii Kurochko wrote: >>> @@ -25,8 +27,11 @@ >>>   >>>  static inline void *maddr_to_virt(paddr_t ma) >>>  { >>> -    BUG_ON("unimplemented"); >>> -    return NUL

Re: [PATCH v2] xen/common: Move gic_preinit() to common code

2024-10-31 Thread Jan Beulich
On 30.10.2024 14:14, Oleksii Kurochko wrote: > Introduce ic_preinit() in the common codebase, as it is not > architecture-specific and can be reused by both PPC and RISC-V. > This function identifies the node with the interrupt-controller property > in the device tree and calls device_init() to han

Re: [PATCH] x86/cpu-policy: Extend the guest max policy max leaf/subleaves

2024-10-31 Thread Jan Beulich
On 30.10.2024 18:10, Roger Pau Monné wrote: > On Wed, Oct 30, 2024 at 04:51:34PM +, Andrew Cooper wrote: >> On 30/10/2024 3:13 pm, Roger Pau Monné wrote: >>> On Wed, Oct 30, 2024 at 02:45:19PM +, Andrew Cooper wrote: On 30/10/2024 11:03 am, Roger Pau Monné wrote: > On Wed, Oct 30,

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

2024-10-31 Thread Philipp Stanner
On Thu, 2024-10-31 at 10:19 +0100, Takashi Iwai wrote: > On Wed, 30 Oct 2024 23:17:37 +0100, > Bjorn Helgaas wrote: > > > > On Tue, Oct 15, 2024 at 08:51:10PM +0200, Philipp Stanner wrote: > > > @Driver-Maintainers: Your driver might be touched by patch > > > "Remove > > > devres from pci_intx()".

Re: [PATCH for-4.19] Config: Update MiniOS revision

2024-10-31 Thread Jan Beulich
On 30.10.2024 19:03, Andrew Cooper wrote: > A new branch from xen-RELEASE-4.19.0, for now containing commit > a400dd517068 ("Add missing symbol exports for grub-pv"). > > Signed-off-by: Andrew Cooper > --- > CC: Juergen Gross > CC: Jan Beulich > CC: Stefano Stabellini > CC: Julien Grall > ---

Re: [PATCH 2/6] xen: add bitmap to indicate per-domain state changes

2024-10-31 Thread Jan Beulich
On 23.10.2024 15:10, Juergen Gross wrote: > Add a bitmap with one bit per possible domid indicating the respective > domain has changed its state (created, deleted, dying, crashed, > shutdown). > > Registering the VIRQ_DOM_EXC event will result in setting the bits for > all existing domains and re

Re: [PATCH v2] xen/common: Move gic_preinit() to common code

2024-10-31 Thread Michal Orzel
On 31/10/2024 10:34, Jan Beulich wrote: > > > On 30.10.2024 14:14, Oleksii Kurochko wrote: >> Introduce ic_preinit() in the common codebase, as it is not >> architecture-specific and can be reused by both PPC and RISC-V. >> This function identifies the node with the interrupt-controller proper

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Stefano Stabellini
On Thu, 31 Oct 2024, Andrew Cooper wrote: > On 31/10/2024 1:47 pm, Andrew Cooper wrote: > > The change works for divergent branches, but doesn't work for explicit SHAs. > > > > Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG we want > > after > > cloning. > > > > Fixes: c554ec1

Re: [PATCH] CI: Drop alpine-3.18-rootfs-export and use test-artefacts

2024-10-31 Thread Stefano Stabellini
On Thu, 31 Oct 2024, Andrew Cooper wrote: > The Argo work already moved this artefact into the new form. Reuse that, and > drop one test job. > > Signed-off-by: Andrew Cooper This is good but should we also remove automation/tests-artifacts/alpine/3.18.dockerfile since we are at it? > --- > C

Re: [QEMU PATCH v9] xen/passthrough: use gsi to map pirq when dom0 is PVH

2024-10-31 Thread Chen, Jiqian
Hi, On 2024/10/24 17:06, Jiqian Chen wrote: > In PVH dom0, when passthrough a device to domU, QEMU code > xen_pt_realize->xc_physdev_map_pirq wants to use gsi, but in current codes > the gsi number is got from file /sys/bus/pci/devices//irq, that is > wrong, because irq is not equal with gsi, they

Re: [PATCH 2/6] xen: add bitmap to indicate per-domain state changes

2024-10-31 Thread Jürgen Groß
On 31.10.24 11:59, Jan Beulich wrote: On 23.10.2024 15:10, Juergen Gross wrote: Add a bitmap with one bit per possible domid indicating the respective domain has changed its state (created, deleted, dying, crashed, shutdown). Registering the VIRQ_DOM_EXC event will result in setting the bits fo

Re: [PATCH] CI: Drop alpine-3.18-rootfs-export and use test-artefacts

2024-10-31 Thread Andrew Cooper
On 31/10/2024 10:46 pm, Stefano Stabellini wrote: > On Thu, 31 Oct 2024, Andrew Cooper wrote: >> The Argo work already moved this artefact into the new form. Reuse that, and >> drop one test job. >> >> Signed-off-by: Andrew Cooper > This is good but should we also remove > automation/tests-artifa

Re: [PATCH] scripts: Refine git-checkout.sh change for different branches

2024-10-31 Thread Andrew Cooper
On 31/10/2024 10:44 pm, Stefano Stabellini wrote: > > On Thu, 31 Oct 2024, Andrew Cooper wrote: > >> On 31/10/2024 1:47 pm, Andrew Cooper wrote: >>> The change works for divergent branches, but doesn't work for explicit SHAs. >>> >>> Instead of passing `-b $TAG` to clone, explicitly fetch the $TAG