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

2023-10-31 Thread osstest service owner
flight 183640 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/183640/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-pair 11 xen-install/dst_host fail in 183626 pass in 183640

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-10-31 Thread Chuck Zmudzinski
On 10/31/2023 7:45 PM, Stefano Stabellini wrote: > Unfortunately there is no easy solution. > > Do you know the version of the SMMU available on the platform? I am trying to discern, but I doubt we have v3 because we are working on a very old chromebook from 2012, and I am finding patches for

Re: [PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-10-31 Thread Henry Wang
Hi Julien, > On Nov 1, 2023, at 02:29, Julien Grall wrote: > > Hi Henry, > > +Ayan > > On 23/10/2023 03:13, Henry Wang wrote: >> Currently mmu_init_secondary_cpu() only enforces the page table >> should not contain mapping that are both Writable and eXecutables >> after boot. To ease the

[ovmf test] 183643: all pass - PUSHED

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

Re: [PATCH] x86/x2apic: introduce a mixed physical/cluster mode

2023-10-31 Thread Elliott Mitchell
On Mon, Oct 30, 2023 at 04:27:22PM +0100, Roger Pau Monné wrote: > On Mon, Oct 30, 2023 at 07:50:27AM -0700, Elliott Mitchell wrote: > > On Tue, Oct 24, 2023 at 03:51:50PM +0200, Roger Pau Monne wrote: > > > diff --git a/xen/arch/x86/genapic/x2apic.c b/xen/arch/x86/genapic/x2apic.c > > > index

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-10-31 Thread Stefano Stabellini
Unfortunately there is no easy solution. Do you know the version of the SMMU available on the platform? If it is a SMMUv3 you can try to use the nested SMMU patch series to enable a virtual SMMU in Dom0: https://marc.info/?l=xen-devel=166991020831005 That way, Xen can use the SMMU to protect VMs,

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-10-31 Thread Mario Marietto
I'm aware of the presence of that post. I'm working on the same project with the guy who explained the problem. Unfortunately,the solution proposed does not work well. Xen is working,but the screen is still black. On Wed, Nov 1, 2023 at 12:04 AM Stefano Stabellini wrote: > > Hi Mario, > > I am

Re: [XEN PATCH v2] xen/domain_page: address violations of MISRA C:2012 Rule 8.3

2023-10-31 Thread Stefano Stabellini
On Tue, 31 Oct 2023, Julien Grall wrote: > Hi, > > On 31/10/2023 10:31, Jan Beulich wrote: > > On 31.10.2023 10:25, Federico Serafini wrote: > > > Make function defintions and declarations consistent. > > typo: s/defintions/definitions/ > > > > No functional change. > > > > > > Signed-off-by:

Re: exynos-mixer 14450000.mixer: [drm:exynos_drm_register_dma] *ERROR* Device 14450000.mixer lacks support for IOMMU

2023-10-31 Thread Stefano Stabellini
Hi Mario, I am adding xen-devel and a couple of other Xen maintainers that might know how to help make progress on this issues. Replies inline below. On Tue, 31 Oct 2023, Mario Marietto wrote: > Hello, > > We are a team of linux enthusiasts who are trying to boot Xen on a > Samsung XE303C12

Re: [XEN PATCH][for-4.19 v5 2/8] x86: add deviation for asm-only functions

2023-10-31 Thread Stefano Stabellini
On Tue, 31 Oct 2023, Jan Beulich wrote: > On 31.10.2023 09:22, Nicola Vetrini wrote: > > On 2023-10-30 16:12, Jan Beulich wrote: > >> On 30.10.2023 10:11, Nicola Vetrini wrote: > >>> --- a/automation/eclair_analysis/ECLAIR/deviations.ecl > >>> +++ b/automation/eclair_analysis/ECLAIR/deviations.ecl

[linux-linus test] 183636: regressions - FAIL

2023-10-31 Thread osstest service owner
flight 183636 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/183636/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-arm64-arm64-examine 8 reboot fail REGR. vs. 183617

Failing eclair-ARM64 job

2023-10-31 Thread Stefano Stabellini
Hi Simone, As you might have noticed, all the eclair-ARM64 jobs have been failing recently for the upstream Xen "staging" branch: https://gitlab.com/xen-project/xen/-/pipelines/1056527466 https://gitlab.com/xen-project/xen/-/pipelines/1056520898 Although eclair-ARM64 is "allow_failure: true"

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Stefano Stabellini
On Tue, 30 Oct 2023, Julien Grall wrote: > Hi Stefano, > > On 30/10/2023 22:49, Stefano Stabellini wrote: > > On Mon, 30 Oct 2023, Julien Grall wrote: > > > Hi Nicola, > > > > > > On 27/10/2023 16:11, Nicola Vetrini wrote: > > > > diff --git a/docs/misra/deviations.rst

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

2023-10-31 Thread osstest service owner
flight 183642 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/183642/ 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 v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S

2023-10-31 Thread Julien Grall
Hi Henry, +Ayan On 23/10/2023 03:13, Henry Wang wrote: Currently mmu_init_secondary_cpu() only enforces the page table should not contain mapping that are both Writable and eXecutables after boot. To ease the arch/arm/mm.c split work, fold this function to head.S. For arm32, introduce an

Re: [PATCH v2] xen: remove

2023-10-31 Thread Julien Grall
On 31/10/2023 14:28, Oleksii Kurochko wrote: only declares udelay() function so udelay() declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. For ppc, udelay() stub definition was moved to ppc/stubs.c. Suggested-by: Jan

Re: [PATCH] xen: remove

2023-10-31 Thread Julien Grall
On 31/10/2023 10:12, Oleksii Kurochko wrote: only declares udelay() function so udelay() declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. Signed-off-by: Oleksii Kurochko For Arm: Acked-by: Julien Grall Cheers,

[ovmf test] 183639: all pass - PUSHED

2023-10-31 Thread osstest service owner
flight 183639 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/183639/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 36812d6c3e0c4402ea90e20566ac80de634d210b baseline version: ovmf

Re: [PATCH v4 2/5] xen/vpci: move xen_domctl_createdomain vPCI flag to common

2023-10-31 Thread Stewart Hildebrand
On 10/31/23 06:56, Jan Beulich wrote: > On 31.10.2023 00:52, Stewart Hildebrand wrote: >> --- a/xen/arch/arm/domain.c >> +++ b/xen/arch/arm/domain.c >> @@ -607,7 +607,8 @@ int arch_sanitise_domain_config(struct >> xen_domctl_createdomain *config) >> { >> unsigned int max_vcpus; >>

Re: [PATCH] x86/irq: do not insert IRQ_MSI_EMU in emuirq mappings

2023-10-31 Thread Roger Pau Monné
On Tue, Oct 31, 2023 at 03:30:37PM +0200, Xenia Ragiadakou wrote: > Do not use emuirq mappings for MSIs injected by emulated devices. > This kind of pirq shares the same emuirq value and is not remapped. AFAICT adding the extra emuirq mappings is harmless, and just adds an extra layer of

[RFC PATCH v3 3/3] tools/misc: Add xen-vcpus-stats tool

2023-10-31 Thread Matias Ezequiel Vara Larsen
Add a demonstration tool that uses the stats_table resource to query vcpus' RUNSTATE_running counter for a DomU. Signed-off-by: Matias Ezequiel Vara Larsen --- Changes in v3: - use memory layout as discussed at https://lists.xenproject.org/archives/html/xen-devel/2023-03/msg00383.html - use

[RFC PATCH v3 2/3] x86/mm: Do not validate/devalidate PGT_none type

2023-10-31 Thread Matias Ezequiel Vara Larsen
This commit prevents PGT_none type pages to be validated/devalidated. This is required for the use-case in which a guest-agnostic resource is allocated. In this case, these pages may be accessible by an "owning" PV domain. To lock the page from guest pov, pages are required to be marked with

[RFC PATCH v3 1/3] xen/memory : Add a stats_table resource type

2023-10-31 Thread Matias Ezequiel Vara Larsen
This commit proposes a new mechanism to query the RUNSTATE_running counter for a given vcpu from a dom0 userspace application. This commit proposes to expose that counter by using the acquire_resource interface. For this purpose, the commit adds a new resource named XENMEM_resource_stats_table and

[RFC PATCH v3 0/3] Add a new acquire resource to query vcpu statistics

2023-10-31 Thread Matias Ezequiel Vara Larsen
Hello all and apologies for the delay in sending v3, the purpose of this RFC is to get feedback about a new acquire resource that exposes vcpu statistics for a given domain. The current mechanism to get those statistics is by querying the hypervisor. This mechanism relies on a hypercall and holds

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Jan Beulich
On 31.10.2023 15:15, Stewart Hildebrand wrote: > On 10/31/23 09:17, Julien Grall wrote: >> On 31/10/2023 11:03, Jan Beulich wrote: >>> On 31.10.2023 00:52, Stewart Hildebrand wrote: --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1618,6 +1618,16 @@ int

Re: Commit moratorium for branching 4.18

2023-10-31 Thread Henry Wang
Hi all, > On Nov 1, 2023, at 00:01, Henry Wang wrote: > > Hi, > >> On Oct 25, 2023, at 18:18, Henry Wang wrote: >> >> Hi committers, >> >> We will be branching the tree for Xen 4.18 in the next few days. Please >> avoid committing any new patches to staging until further notice. > > The

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Luca Fancellu
> On 31 Oct 2023, at 15:36, Julien Grall wrote: > > > > On 31/10/2023 15:32, Luca Fancellu wrote: >>> On 31 Oct 2023, at 15:27, Julien Grall wrote: >>> >>> Hi, >>> >>> On 31/10/2023 15:12, Luca Fancellu wrote: > On 31 Oct 2023, at 15:10, Nicola Vetrini > wrote: > > On

Re: [PATCH v3 0/4] virtio-blk: use blk_io_plug_call() instead of notification BH

2023-10-31 Thread Kevin Wolf
Am 13.09.2023 um 22:00 hat Stefan Hajnoczi geschrieben: > v3: > - Add comment pointing to API documentation in .c file [Philippe] > - Add virtio_notify_irqfd_deferred_fn trace event [Ilya] > - Remove outdated #include [Ilya] > v2: > - Rename blk_io_plug() to defer_call() and move it to util/ so

Re: Commit moratorium for branching 4.18

2023-10-31 Thread Henry Wang
Hi, > On Oct 25, 2023, at 18:18, Henry Wang wrote: > > Hi committers, > > We will be branching the tree for Xen 4.18 in the next few days. Please > avoid committing any new patches to staging until further notice. The branching has been finished. The staging is reopened for 4.19 development.

[xen-unstable test] 183626: regressions - FAIL

2023-10-31 Thread osstest service owner
flight 183626 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/183626/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-pair 11 xen-install/dst_host fail REGR. vs. 183615

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Julien Grall
On 31/10/2023 15:32, Luca Fancellu wrote: On 31 Oct 2023, at 15:27, Julien Grall wrote: Hi, On 31/10/2023 15:12, Luca Fancellu wrote: On 31 Oct 2023, at 15:10, Nicola Vetrini wrote: On 2023-10-31 15:13, Luca Fancellu wrote: On 31 Oct 2023, at 13:27, Julien Grall wrote: Hi Stefano,

[ANNOUNCE] Call for agenda items for 2 November Community Call @ 16:00 GMT

2023-10-31 Thread Kelly Choi
Hi all, Please add your proposed agenda and name next to any items in this *link here* If there are any action items that have been resolved, please remove them from the sheet. *COMMUNITY CALL INFORMATION* *CALL LINK:

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Luca Fancellu
> On 31 Oct 2023, at 15:27, Julien Grall wrote: > > Hi, > > On 31/10/2023 15:12, Luca Fancellu wrote: >>> On 31 Oct 2023, at 15:10, Nicola Vetrini wrote: >>> >>> On 2023-10-31 15:13, Luca Fancellu wrote: > On 31 Oct 2023, at 13:27, Julien Grall wrote: > Hi Stefano, > On

Re: [PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 23:20, Andrew Cooper wrote: > > On 31/10/2023 2:49 pm, Henry Wang wrote: >> Signed-off-by: Henry Wang >> --- >> v5: >> - Rebase on previous patches. >> --- >> CHANGELOG.md | 8 >> 1 file changed, 8 insertions(+) >> >> diff --git a/CHANGELOG.md

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Julien Grall
Hi, On 31/10/2023 15:12, Luca Fancellu wrote: On 31 Oct 2023, at 15:10, Nicola Vetrini wrote: On 2023-10-31 15:13, Luca Fancellu wrote: On 31 Oct 2023, at 13:27, Julien Grall wrote: Hi Stefano, On 30/10/2023 22:49, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Julien Grall wrote: Hi

Re: [PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Andrew Cooper
On 31/10/2023 2:49 pm, Henry Wang wrote: > Signed-off-by: Henry Wang > --- > v5: > - Rebase on previous patches. > --- > CHANGELOG.md | 8 > 1 file changed, 8 insertions(+) > > diff --git a/CHANGELOG.md b/CHANGELOG.md > index 94dbd83894..cbdc9bceac 100644 > --- a/CHANGELOG.md > +++

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Luca Fancellu
> On 31 Oct 2023, at 15:10, Nicola Vetrini wrote: > > On 2023-10-31 15:13, Luca Fancellu wrote: >>> On 31 Oct 2023, at 13:27, Julien Grall wrote: >>> Hi Stefano, >>> On 30/10/2023 22:49, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Julien Grall wrote: > Hi Nicola, > On

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Nicola Vetrini
On 2023-10-31 15:13, Luca Fancellu wrote: On 31 Oct 2023, at 13:27, Julien Grall wrote: Hi Stefano, On 30/10/2023 22:49, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Julien Grall wrote: Hi Nicola, On 27/10/2023 16:11, Nicola Vetrini wrote: diff --git a/docs/misra/deviations.rst

[PATCH v2] x86/x2apic: introduce a mixed physical/cluster mode

2023-10-31 Thread Roger Pau Monne
The current implementation of x2APIC requires to either use Cluster Logical or Physical mode for all interrupts. However the selection of Physical vs Logical is not done at APIC setup, an APIC can be addressed both in Physical or Logical destination modes concurrently. Introduce a new x2APIC

Re: [PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Julien Grall
Hi Henry, On 31/10/2023 14:49, Henry Wang wrote: Signed-off-by: Henry Wang Acked-by: Julien Grall Cheers, -- Julien Grall

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Henry Wang
Hi both, > On Oct 31, 2023, at 22:19, Julien Grall wrote: > On 31/10/2023 14:06, Andrew Cooper wrote: >> On 31/10/2023 1:45 pm, Julien Grall wrote: >>> If you want to go down that route, then please update the >>> docs/process/branching-checklist.txt. Otherwise, I will continue to do >>> as I

Re: [PATCH v5 1/2] CHANGELOG.md: Finalize the 4.18 release date

2023-10-31 Thread Julien Grall
On 31/10/2023 14:49, Henry Wang wrote: Signed-off-by: Henry Wang Acked-by: Julien Grall Cheers, -- Julien Grall

[PATCH v5 1/2] CHANGELOG.md: Finalize the 4.18 release date

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v5: - New patch --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca7969699..94dbd83894 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Notable changes to Xen will be documented in

[PATCH v5 2/2] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v5: - Rebase on previous patches. --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94dbd83894..cbdc9bceac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ Notable changes to Xen will be

[PATCH v5 0/2] Finalize the 4.18 release date

2023-10-31 Thread Henry Wang
Hi all, This series finializes the 4.18 release date and starts a new unstable release after branching. Thanks. Henry Wang (2): CHANGELOG.md: Finalize the 4.18 release date CHANGELOG.md: Start new "unstable" section CHANGELOG.md | 10 +- 1 file changed, 9 insertions(+), 1

Re: [PATCH v4] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Hi, > On Oct 31, 2023, at 22:34, Henry Wang wrote: > > Signed-off-by: Henry Wang > --- > v4: > - Set the release date. > --- > CHANGELOG.md | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/CHANGELOG.md b/CHANGELOG.md > index 3ca7969699..cbdc9bceac 100644 > ---

[PATCH v4] CHANGELOG.md: Start new "unstable" section

2023-10-31 Thread Henry Wang
Signed-off-by: Henry Wang --- v4: - Set the release date. --- CHANGELOG.md | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca7969699..cbdc9bceac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,15 @@ Notable changes to Xen

Re: [PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h

2023-10-31 Thread Oleksii
Instead of introducing stub header for delay.h it was decided to remove in a separate patch: https://lore.kernel.org/xen-devel/3d55bce44bd6ab9973cbe0ea2fc136cc44d35df2.1698759633.git.oleksii.kuroc...@gmail.com/T/#u ~ Oleksii

[PATCH v2] xen: remove

2023-10-31 Thread Oleksii Kurochko
only declares udelay() function so udelay() declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. For ppc, udelay() stub definition was moved to ppc/stubs.c. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko

Re: Cambridge University Talk - 9th November 2023

2023-10-31 Thread Roger Pau Monné
On Tue, Oct 31, 2023 at 01:05:11PM +, Ayan Kumar Halder wrote: > Hi Xen Maintainers/developers, > > > As part of my talk, I wish to provide some examples of tasks that a newbie > can easily pick up and contribute. > > This need not be a dedicated project, but something that can be

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Julien Grall
On 31/10/2023 14:06, Andrew Cooper wrote: On 31/10/2023 1:45 pm, Julien Grall wrote: If you want to go down that route, then please update the docs/process/branching-checklist.txt. Otherwise, I will continue to do as I did previously. It *is* in the checklist, and for all previous releases

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Stewart Hildebrand
On 10/31/23 09:17, Julien Grall wrote: > Hi, > > On 31/10/2023 11:03, Jan Beulich wrote: >> On 31.10.2023 00:52, Stewart Hildebrand wrote: >>> --- a/xen/drivers/passthrough/pci.c >>> +++ b/xen/drivers/passthrough/pci.c >>> @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( >>>   bus =

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Luca Fancellu
> On 31 Oct 2023, at 13:27, Julien Grall wrote: > > Hi Stefano, > > On 30/10/2023 22:49, Stefano Stabellini wrote: >> On Mon, 30 Oct 2023, Julien Grall wrote: >>> Hi Nicola, >>> >>> On 27/10/2023 16:11, Nicola Vetrini wrote: diff --git a/docs/misra/deviations.rst

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Henry Wang
Hi Julien, Andrew, > On Oct 31, 2023, at 21:45, Julien Grall wrote: > On 31/10/2023 13:38, Andrew Cooper wrote: >> On 31/10/2023 1:31 pm, Julien Grall wrote: >>> Hi, >>> >>> On 31/10/2023 13:19, Andrew Cooper wrote: Signed-off-by: Andrew Cooper >>> >>> Henry already provided a similar

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Andrew Cooper
On 31/10/2023 1:45 pm, Julien Grall wrote: > If you want to go down that route, then please update the > docs/process/branching-checklist.txt. Otherwise, I will continue to do > as I did previously. It *is* in the checklist, and for all previous releases even 4.17, the staging section was opened

Re: [PATCH for-4.18 2/3] CHANGELOG: More 4.18 content

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 21:19, Andrew Cooper wrote: > > Signed-off-by: Andrew Cooper Acked-by: Henry Wang Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18 1/3] CHANGELOG: Reformat

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 21:19, Andrew Cooper wrote: > > Collect all x86 and ARM changes together instead of having them scattered. > Tweak grammar as necessary. > > No change. > > Signed-off-by: Andrew Cooper Acked-by: Henry Wang Release-acked-by: Henry Wang Kind regards, Henry

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Andrew Cooper
On 31/10/2023 1:45 pm, Roger Pau Monné wrote: > On Tue, Oct 31, 2023 at 01:29:04PM +, Andrew Cooper wrote: >> On 31/10/2023 12:24 pm, Roger Pau Monné wrote: >>> On Tue, Oct 31, 2023 at 12:02:15PM +, Andrew Cooper wrote: Make the command line docs match the actual implementation, and

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Julien Grall
On 31/10/2023 13:38, Andrew Cooper wrote: On 31/10/2023 1:31 pm, Julien Grall wrote: Hi, On 31/10/2023 13:19, Andrew Cooper wrote: Signed-off-by: Andrew Cooper Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Roger Pau Monné
On Tue, Oct 31, 2023 at 01:29:04PM +, Andrew Cooper wrote: > On 31/10/2023 12:24 pm, Roger Pau Monné wrote: > > On Tue, Oct 31, 2023 at 12:02:15PM +, Andrew Cooper wrote: > >> Make the command line docs match the actual implementation, and state that > >> the > >> default behaviour is

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Andrew Cooper
On 31/10/2023 1:31 pm, Julien Grall wrote: > Hi, > > On 31/10/2023 13:19, Andrew Cooper wrote: >> Signed-off-by: Andrew Cooper > > Henry already provided a similar patch [1]. The only reason it is not > yet committed is because we haven't yet set a final date for 4.18 and > I want to avoid any

Re: [PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Julien Grall
Hi, On 31/10/2023 13:19, Andrew Cooper wrote: Signed-off-by: Andrew Cooper Henry already provided a similar patch [1]. The only reason it is not yet committed is because we haven't yet set a final date for 4.18 and I want to avoid any clash when that patch will appear. Cheers, [1]

[PATCH] x86/irq: do not insert IRQ_MSI_EMU in emuirq mappings

2023-10-31 Thread Xenia Ragiadakou
Do not use emuirq mappings for MSIs injected by emulated devices. This kind of pirq shares the same emuirq value and is not remapped. Fixes: 88fccdd11ca0 ('xen: event channel remapping for emulated MSIs') Signed-off-by: Xenia Ragiadakou --- Question: is there any strong reason why Linux HVM

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Andrew Cooper
On 31/10/2023 12:24 pm, Roger Pau Monné wrote: > On Tue, Oct 31, 2023 at 12:02:15PM +, Andrew Cooper wrote: >> Make the command line docs match the actual implementation, and state that >> the >> default behaviour is selected at compile time. >> >> Fixes: 980d6acf1517 ("IOMMU: make DMA

Re: [XEN PATCH][for-4.19 v5] xen: Add deviations for MISRA C:2012 Rule 7.1

2023-10-31 Thread Julien Grall
Hi Stefano, On 30/10/2023 22:49, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Julien Grall wrote: Hi Nicola, On 27/10/2023 16:11, Nicola Vetrini wrote: diff --git a/docs/misra/deviations.rst b/docs/misra/deviations.rst index 8511a189253b..81473fb4 100644 --- a/docs/misra/deviations.rst

[RFC PATCH v2 0/8] clang-format for Xen

2023-10-31 Thread Luca Fancellu
## Introduction In this serie, I would like to get feedbacks on the output generated by the configuration of clang-format, unfortunately we can't use only clang-format, but we need to call it using a wrapper, because we need the

[RFC PATCH v2 8/8] feedback from the community

2023-10-31 Thread Luca Fancellu
Signed-off-by: Luca Fancellu --- xen/.clang-format | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/.clang-format b/xen/.clang-format index 7880709fe1fd..bfc1d104af84 100644 --- a/xen/.clang-format +++ b/xen/.clang-format @@ -29,8 +29,8 @@ AlignArrayOfStructures:

[RFC PATCH v2 2/8] exclude-list: generalise exclude-list

2023-10-31 Thread Luca Fancellu
Currently exclude-list.json is used by the xen-analysis tool to remove from the report (cppcheck for now) violations from the files listed in it, however that list can be used by different users that might want to exclude some of the files from their computation for many reason. So add a new

[RFC PATCH v2 4/8] exclude-list: add entries to the excluded list for codestyle

2023-10-31 Thread Luca Fancellu
Add entries to the exclusion list, so that they can be excluded from the formatting tool. Signed-off-by: Luca Fancellu --- docs/misra/exclude-list.json | 100 +++ docs/misra/exclude-list.rst | 2 + 2 files changed, 102 insertions(+) diff --git

[RFC PATCH v2 6/8] [WIP]x86/exclude-list: protect mm_type_tbl in mtrr from being formatted

2023-10-31 Thread Luca Fancellu
The array mm_type_tbl initialization is formatted in a way that the formatting tool can't keep, so disable the formatting on that array initialization. Signed-off-by: Luca Fancellu --- docs/misra/exclude-list.json | 13 + 1 file changed, 13 insertions(+) diff --git

[RFC PATCH v2 7/8] xen: Add clang-format configuration

2023-10-31 Thread Luca Fancellu
Add a clang format configuration for the Xen Hypervisor. Signed-off-by: Luca Fancellu --- xen/.clang-format | 693 ++ 1 file changed, 693 insertions(+) create mode 100644 xen/.clang-format diff --git a/xen/.clang-format b/xen/.clang-format new file

[RFC PATCH v2 5/8] [WIP]codestyle.py: Protect generic piece of code

2023-10-31 Thread Luca Fancellu
Add a way to protect generic piece of code from being formatted. Use the exclude-list to pass also a structure to the scripts, that structure will be used from the codestyle.py script to understand which piece of code of which file needs to be left with the original format. Update

[RFC PATCH v2 3/8] [WIP]xen/scripts: add codestyle.py script

2023-10-31 Thread Luca Fancellu
This script finds every .c and .h file in the xen hypervisor codebase, takes the exclusion list from docs/misra, removes the file excluded from the list and for the remaining files is calling clang-format on them. TBD: write it better Signed-off-by: Luca Fancellu --- xen/scripts/codestyle.py |

[RFC PATCH v2 1/8] cppcheck: rework exclusion_file_list.py code

2023-10-31 Thread Luca Fancellu
Rework the exclusion_file_list.py code to have the function load_exclusion_file_list() detached from the xen-analysis.py tool, in a way so that other modules can use the function. The xen-analysis tool and in particular its module cppcheck_analysis.py will use a new function

[PATCH for-4.19 3/3] CHANGELOG: Keep unstable section

2023-10-31 Thread Andrew Cooper
Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Roger Pau Monné CC: Henry Wang --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a827054cf27d..cf0c9c3f8cb9

[PATCH for-4.18 1/3] CHANGELOG: Reformat

2023-10-31 Thread Andrew Cooper
Collect all x86 and ARM changes together instead of having them scattered. Tweak grammar as necessary. No change. Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Roger Pau Monné CC: Henry Wang --- CHANGELOG.md |

[PATCH for-4.18 2/3] CHANGELOG: More 4.18 content

2023-10-31 Thread Andrew Cooper
Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Roger Pau Monné CC: Henry Wang --- CHANGELOG.md | 7 +++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index

[PATCH for-4.18 0/3] CHANGELOG: More 4.18 content

2023-10-31 Thread Andrew Cooper
Andrew Cooper (3): CHANGELOG: Reformat CHANGELOG: More 4.18 content CHANGELOG: Keep unstable section CHANGELOG.md | 44 1 file changed, 28 insertions(+), 16 deletions(-) base-commit: 9659b2a6d73b14620e187f9c626a09323853c459 -- 2.30.2

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Julien Grall
Hi, On 31/10/2023 11:03, Jan Beulich wrote: On 31.10.2023 00:52, Stewart Hildebrand wrote: --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( bus = PCI_BUS(machine_sbdf); devfn = PCI_DEVFN(machine_sbdf);

Re: Cambridge University Talk - 9th November 2023

2023-10-31 Thread Ayan Kumar Halder
Hi Xen Maintainers/developers, As part of my talk, I wish to provide some examples of tasks that a newbie can easily pick up and contribute. This need not be a dedicated project, but something that can be contributed on an ad-hoc basis. The idea is to get more people interested in Xen

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Henry Wang
Hi Andrew, > On Oct 31, 2023, at 20:02, Andrew Cooper wrote: > > Make the command line docs match the actual implementation, and state that the > default behaviour is selected at compile time. > > Fixes: 980d6acf1517 ("IOMMU: make DMA containment of quarantined devices > optional") >

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-10-31 Thread Oleksii
On Mon, 2023-10-30 at 17:43 +0100, Jan Beulich wrote: > On 30.10.2023 17:34, Oleksii wrote: > > Hello Jan, > > > > On Thu, 2023-10-19 at 11:55 +0200, Jan Beulich wrote: > > > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/include/asm-generic/pci.h > > > > @@

Re: [PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Roger Pau Monné
On Tue, Oct 31, 2023 at 12:02:15PM +, Andrew Cooper wrote: > Make the command line docs match the actual implementation, and state that the > default behaviour is selected at compile time. > > Fixes: 980d6acf1517 ("IOMMU: make DMA containment of quarantined devices > optional") >

[linux-linus test] 183625: regressions - FAIL

2023-10-31 Thread osstest service owner
flight 183625 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/183625/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-arm64-arm64-examine 8 reboot fail REGR. vs. 183617

Re: [RFC PATCH 04/22] x86/msr-index: add references to vendor manuals

2023-10-31 Thread Edwin Torok
> On 31 Oct 2023, at 11:34, Andrew Cooper wrote: > > On 30/10/2023 4:15 pm, Jan Beulich wrote: >> >>> --- a/xen/arch/x86/include/asm/msr-index.h >>> +++ b/xen/arch/x86/include/asm/msr-index.h >>> @@ -13,6 +13,16 @@ >>> * Blocks of related constants should be sorted by MSR index. The constant

Re: [XEN PATCH][for-4.19 v4 1/8] xen/include: add macro ISOLATE_LOW_BIT

2023-10-31 Thread Nicola Vetrini
On 2023-10-31 11:20, Jan Beulich wrote: On 31.10.2023 11:03, Nicola Vetrini wrote: On 2023-10-31 09:28, Nicola Vetrini wrote: On 2023-10-31 08:43, Jan Beulich wrote: On 30.10.2023 23:44, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Jan Beulich wrote: On 27.10.2023 15:34, Nicola Vetrini

[PATCH for-4.18] docs: Fix IOMMU command line docs some more

2023-10-31 Thread Andrew Cooper
Make the command line docs match the actual implementation, and state that the default behaviour is selected at compile time. Fixes: 980d6acf1517 ("IOMMU: make DMA containment of quarantined devices optional") Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Wei Liu

Re: [RFC PATCH 04/22] x86/msr-index: add references to vendor manuals

2023-10-31 Thread Andrew Cooper
On 30/10/2023 4:15 pm, Jan Beulich wrote: >> --- a/xen/arch/x86/include/asm/msr-index.h >> +++ b/xen/arch/x86/include/asm/msr-index.h >> @@ -13,6 +13,16 @@ >> * Blocks of related constants should be sorted by MSR index. The constant >> * names should be as concise as possible, and the bit

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Jan Beulich
On 31.10.2023 00:52, Stewart Hildebrand wrote: > --- a/xen/drivers/passthrough/pci.c > +++ b/xen/drivers/passthrough/pci.c > @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( > bus = PCI_BUS(machine_sbdf); > devfn = PCI_DEVFN(machine_sbdf); > > +if (

Re: [PATCH v4 2/5] xen/vpci: move xen_domctl_createdomain vPCI flag to common

2023-10-31 Thread Jan Beulich
On 31.10.2023 00:52, Stewart Hildebrand wrote: > --- a/xen/arch/arm/domain.c > +++ b/xen/arch/arm/domain.c > @@ -607,7 +607,8 @@ int arch_sanitise_domain_config(struct > xen_domctl_createdomain *config) > { > unsigned int max_vcpus; > unsigned int flags_required = (XEN_DOMCTL_CDF_hvm |

Re: [PATCH for-4.18 v2] automation: fix race condition in adl-suspend test

2023-10-31 Thread Andrew Cooper
On 31/10/2023 9:58 am, Henry Wang wrote: > Hi Marek, > >> On Oct 31, 2023, at 10:16, Marek Marczykowski-Górecki >> wrote: >> >> If system suspends too quickly, the message for the test controller to >> wake up the system may be not sent to the console before suspending. >> This will cause the

Re: [XEN PATCH v2] xen/domain_page: address violations of MISRA C:2012 Rule 8.3

2023-10-31 Thread Julien Grall
Hi, On 31/10/2023 10:31, Jan Beulich wrote: On 31.10.2023 10:25, Federico Serafini wrote: Make function defintions and declarations consistent. typo: s/defintions/definitions/ No functional change. Signed-off-by: Federico Serafini Acked-by: Jan Beulich However, ... --- Changes in

Re: [PATCH] xen: remove

2023-10-31 Thread Jan Beulich
On 31.10.2023 11:12, Oleksii Kurochko wrote: > only declares udelay() function so udelay()   > declaration was moved to xen/delay.h. > > For x86, __udelay() was renamed to udelay() and removed > inclusion of in x86 code. > > Signed-off-by: Oleksii Kurochko > --- >

Re: [XEN PATCH v2] xen/domain_page: address violations of MISRA C:2012 Rule 8.3

2023-10-31 Thread Jan Beulich
On 31.10.2023 10:25, Federico Serafini wrote: > Make function defintions and declarations consistent. > No functional change. > > Signed-off-by: Federico Serafini Acked-by: Jan Beulich However, ... > --- > Changes in v2: > - use 'ptr' do denote a const void * parameter. ... not even this

[PATCH v3] x86/hvm/dom0: fix PVH initrd and metadata placement

2023-10-31 Thread Xenia Ragiadakou
Zephyr image consists of multiple non-contiguous load segments that reside in different RAM regions. For instance: ELF: phdr: paddr=0x1000 memsz=0x8000 ELF: phdr: paddr=0x10 memsz=0x28a90 ELF: phdr: paddr=0x128aa0 memsz=0x7560 ELF: memory: 0x1000 -> 0x13 However, the logic that determines

Re: [XEN PATCH][for-4.19 v4 1/8] xen/include: add macro ISOLATE_LOW_BIT

2023-10-31 Thread Jan Beulich
On 31.10.2023 11:03, Nicola Vetrini wrote: > On 2023-10-31 09:28, Nicola Vetrini wrote: >> On 2023-10-31 08:43, Jan Beulich wrote: >>> On 30.10.2023 23:44, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Jan Beulich wrote: > On 27.10.2023 15:34, Nicola Vetrini wrote: >> ---

[PATCH] xen: remove

2023-10-31 Thread Oleksii Kurochko
only declares udelay() function so udelay()   declaration was moved to xen/delay.h. For x86, __udelay() was renamed to udelay() and removed inclusion of in x86 code. Signed-off-by: Oleksii Kurochko --- xen/arch/arm/include/asm/delay.h | 14 -- xen/arch/riscv/include/asm/delay.h

Re: [RFC PATCH 03/22] x86/msr: always allow a pinned Dom0 to read any unknown MSR

2023-10-31 Thread Jan Beulich
On 31.10.2023 10:31, Edwin Torok wrote: >> On 30 Oct 2023, at 16:29, Jan Beulich wrote: >> On 25.10.2023 21:29, Edwin Török wrote: >>> This can be useful if you realize you have to inspect the value of an >>> MSR in production, without having to change into a new Xen first that >>> handles the

live migration fails: qemu placing pci devices at different locations

2023-10-31 Thread James Dingwall
Hi, I'm having a bit of trouble performing live migration between hvm guests. The sending side is xen 4.14.5 (qemu 5.0), receiving 4.15.5 (qemu 5.1). The error message recorded in qemu-dm---incoming.log: qemu-system-i386: Unknown savevm section or instance ':00:04.0/vga' 0. Make sure that

Re: [XEN PATCH][for-4.19 v4 1/8] xen/include: add macro ISOLATE_LOW_BIT

2023-10-31 Thread Nicola Vetrini
On 2023-10-31 09:28, Nicola Vetrini wrote: On 2023-10-31 08:43, Jan Beulich wrote: On 30.10.2023 23:44, Stefano Stabellini wrote: On Mon, 30 Oct 2023, Jan Beulich wrote: On 27.10.2023 15:34, Nicola Vetrini wrote: --- a/xen/include/xen/macros.h +++ b/xen/include/xen/macros.h @@ -8,8 +8,14 @@

  1   2   >