[PATCH] xen/arm: vpsci: Fix typo in comment (SCCC changed to SSSC)

2025-05-29 Thread Mykola Kvach
From: Mykola Kvach Corrected a typo in a comment within vpsci.c: replaced "SCCC_SMCCC_*_REVISION" with the correct "SSSC_SMCCC_*_REVISION". This change improves clarity but does not affect functionality. Signed-off-by: Mykola Kvach --- xen/arch/arm/vpsci.c | 2 +- 1 file changed, 1 insertio

Re: [PATCH v2 2/3] xen/arm: dom0less: Add trap-unmapped-accesses

2025-05-29 Thread Edgar E. Iglesias
On Thu, May 29, 2025 at 05:03:12PM +0100, Julien Grall wrote: > Hi Edgar, > > On 29/05/2025 16:50, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Add the trap-unmapped-accesses per-domain fdt property. > > > > Signed-off-by: Edgar E. Iglesias > > --- > > docs/misc/arm/device-

Re: [PATCH v3 3/3] MAINTAINERS: add a reviewer for Argo

2025-05-29 Thread Daniel P. Smith
On 5/28/25 17:10, Christopher Clark wrote: Adding Daniel P. Smith as reviewer for the Argo subsystem. Signed-off-by: Christopher Clark Acked-by: Stefano Stabellini --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 697f383505..6b129704fc 1006

Re: [PATCH v2 1/3] xen/arm: Add way to disable traps on accesses to unmapped addresses

2025-05-29 Thread Edgar E. Iglesias
On Thu, May 29, 2025 at 04:59:21PM +0100, Julien Grall wrote: > Hi Edgar, Hi Julien, > > On 29/05/2025 16:50, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Add a per-domain way to optionally disable traps for accesses > > to unmapped addresses. > > > > The domain flag is gen

[PATCH v2 0/3] xen/arm: Add option to optionally disable trapping on unmapped acceses

2025-05-29 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" This follows up on the virtio-pci discussion and adds a per-domain option to select the behaviour of accesses to unmapped address ranges. The new option is trap_unmapped_accesses, it's general but for now only implemented for ARM. I'm happy with any name, so if you have

[PATCH v2 3/3] tools/arm: Add the trap_unmapped_accesses xl config option

2025-05-29 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- docs/man/xl.cfg.5.pod.in | 8 tools/libs/light/libxl_arm.c | 6 +++--- tools/libs/light/libxl_create.c | 3 +++ tools/libs/light/libxl_types.idl | 1 + tools/libs/light/libxl_x86.c | 6 ++ tools/xl/xl_p

[PATCH v2 1/3] xen/arm: Add way to disable traps on accesses to unmapped addresses

2025-05-29 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add a per-domain way to optionally disable traps for accesses to unmapped addresses. The domain flag is general but it's only implemented for ARM for now. Signed-off-by: Edgar E. Iglesias --- tools/libs/light/libxl_arm.c | 3 +++ xen/arch/arm/dom0less-build.c | 3

[PATCH v2 2/3] xen/arm: dom0less: Add trap-unmapped-accesses

2025-05-29 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add the trap-unmapped-accesses per-domain fdt property. Signed-off-by: Edgar E. Iglesias --- docs/misc/arm/device-tree/booting.txt | 9 + xen/arch/arm/dom0less-build.c | 9 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/m

Re: [PATCH v4][PART 1 2/4] xen/arm: Implement PSCI SYSTEM_SUSPEND call for guests

2025-05-29 Thread Mykola Kvach
On Tue, May 27, 2025 at 12:19 PM Mykola Kvach wrote: > > From: Mykola Kvach > > This patch adds support for the PSCI SYSTEM_SUSPEND function in the vPSCI > (virtual PSCI) interface, allowing guests to request suspend via the PSCI > v1.0 SYSTEM_SUSPEND call (both 32-bit and 64-bit variants). > > T

Re: [PATCH v1 2/3] xen/arm: dom0less: Add trap-unmapped-mmio-disabled

2025-05-29 Thread Edgar E. Iglesias
On Wed, May 28, 2025 at 05:41:34PM -0700, Stefano Stabellini wrote: > On Tue, 27 May 2025, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Add the trap-unmapped-mmio-disabled per-domain fdt property. > > > > Signed-off-by: Edgar E. Iglesias > > --- > > docs/misc/arm/device-tree/

Re: [PATCH v2 1/3] xen/arm: Add way to disable traps on accesses to unmapped addresses

2025-05-29 Thread Julien Grall
Hi Edgar, On 29/05/2025 16:50, Edgar E. Iglesias wrote: From: "Edgar E. Iglesias" Add a per-domain way to optionally disable traps for accesses to unmapped addresses. The domain flag is general but it's only implemented for ARM for now. Signed-off-by: Edgar E. Iglesias --- tools/libs/ligh

Re: [PATCH v2 2/3] xen/arm: dom0less: Add trap-unmapped-accesses

2025-05-29 Thread Julien Grall
Hi Edgar, On 29/05/2025 16:50, Edgar E. Iglesias wrote: From: "Edgar E. Iglesias" Add the trap-unmapped-accesses per-domain fdt property. Signed-off-by: Edgar E. Iglesias --- docs/misc/arm/device-tree/booting.txt | 9 + xen/arch/arm/dom0less-build.c | 9 - 2 files

Re: [PATCH v11 4/7] xen/arm: smmuv3: Add PCI devices support for SMMUv3

2025-05-29 Thread Julien Grall
Hi Mykyta, I have only skimmed through the patch. But there is something that caught my eye in both this patch and the one for the SMMUv2. On 28/05/2025 10:12, Mykyta Poturai wrote: + /* dom_io is used as a sentinel for quarantined devices */ + if ( d == dom_io ) +

Re: [PATCH v5 4/4] xen/arm: add support for R-Car Gen4 PCI host controller

2025-05-29 Thread Julien Grall
Hi, On 21/05/2025 13:21, Mykyta Poturai wrote: From: Oleksandr Andrushchenko Add support for Renesas R-Car Gen4 PCI host controller, specifically targeting the S4 and V4H SoCs. The implementation includes configuration read/write operations for both root and child buses. For accessing the chil

Re: [PATCH v6 3/6] arm/mpu: Provide and populate MPU C data structures

2025-05-29 Thread Julien Grall
Hi Luca, On 23/05/2025 07:54, Luca Fancellu wrote: /* * Macro to prepare and set a EL2 MPU memory region. * We will also create an according MPU memory region entry, which @@ -59,6 +79,24 @@ dsb sy isb +/* Load pair into xen_mpumap and invalidate cache */ AFAICT, y

Re: [PATCH v6 3/6] arm/mpu: Provide and populate MPU C data structures

2025-05-29 Thread Luca Fancellu
Hi Julien, > On 29 May 2025, at 10:45, Julien Grall wrote: > > Hi Luca, > > On 23/05/2025 07:54, Luca Fancellu wrote: >> /* >> * Macro to prepare and set a EL2 MPU memory region. >> * We will also create an according MPU memory region entry, which >> @@ -59,6 +79,24 @@ >> dsb sy >>

Re: [PATCH v6 3/6] arm/mpu: Provide and populate MPU C data structures

2025-05-29 Thread Julien Grall
On 29/05/2025 10:52, Luca Fancellu wrote: On 29 May 2025, at 10:45, Julien Grall wrote: On 23/05/2025 07:54, Luca Fancellu wrote: /* * Macro to prepare and set a EL2 MPU memory region. * We will also create an according MPU memory region entry, which @@ -59,6 +79,24 @@ dsb sy

Re: [PATCH v3 1/3] docs: add documentation for Argo as a feature

2025-05-29 Thread Teddy Astie
Hello Christopher, Le 28/05/2025 à 23:13, Christopher Clark a écrit : > Adds approachable documentation describing system components and > introduces the support statement for feature status. > > Signed-off-by: Christopher Clark > --- > docs/features/argo-feature.pandoc | 99 +++

Re: [PATCH v3 1/2] xen/domain: introduce common hardware emulation flags

2025-05-29 Thread Stefano Stabellini
On Wed, 28 May 2025, dm...@proton.me wrote: > From: Denis Mukhin > > Add common emulation_flags for configuring domain emulation features. > > Print d->emulation_flags from 'q' keyhandler for better traceability while > debugging. > > Signed-off-by: Denis Mukhin > --- > Changes since v2: > - m

Re: [XTF PATCH v2 1/2] tests/argo: Add argo test suite

2025-05-29 Thread Christopher Clark
On Wed, May 21, 2025 at 10:18 PM wrote: > From: Christopher Clark > > From: Christopher Clark > > Simple test cases for the four Argo operations, register, unregister, > sendv and notify exercised with a single test domain. > Add infrastructure to access Argo: a 5-argument hypercall, number 39.

Re: [PATCH] xen/argo: Command line handling improvements

2025-05-29 Thread Christopher Clark
On Wed, May 21, 2025 at 9:43 PM Andrew Cooper wrote: > On 21/05/2025 2:01 am, Christopher Clark wrote: > > On Tue, May 20, 2025 at 3:10 PM Andrew Cooper > > wrote: > > > > Treat "argo" on the command line as a positive boolean, rather > > than requiring > > the user to pass "argo=1/o

Re: [PATCH v4 3/4] xen/console: remove max_init_domid dependency

2025-05-29 Thread dmkhn
On Thu, May 29, 2025 at 05:58:20PM -0700, Stefano Stabellini wrote: > On Thu, 29 May 2025, dm...@proton.me wrote: > > From: Denis Mukhin > > > > From: Denis Mukhin > > > > The physical console input rotation depends on max_init_domid symbol, which > > is > > managed differently across architectu

Re: [PATCH v4 03/20] xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"

2025-05-29 Thread Stefano Stabellini
On Wed, 27 May 2025, Penny Zheng wrote: > Remove all "depends on !PV_SHIM_EXCLUSIVE" (also the functionally > equivalent "if !...") in Kconfig file, since negative dependancy will badly > affect allyesconfig. To make sure unchanging produced config file based > on "pvshim_defconfig", we shall expli

Re: [PATCH v2 6/6] tools/arm: exclude iomem from domU extended regions

2025-05-29 Thread Stefano Stabellini
On Thu, 8 May 2025, Stewart Hildebrand wrote: > When a device is passed through to a xl domU, the iomem ranges may > overlap with the extended regions. Remove iomem from extended regions. > > Signed-off-by: Stewart Hildebrand Reviewed-by: Stefano Stabellini > --- > Not sure if we need a Fixes

Re: [PATCH v4 3/4] xen/console: remove max_init_domid dependency

2025-05-29 Thread Stefano Stabellini
On Thu, 29 May 2025, dm...@proton.me wrote: > From: Denis Mukhin > > From: Denis Mukhin > > The physical console input rotation depends on max_init_domid symbol, which is > managed differently across architectures. > > Instead of trying to manage max_init_domid in the arch-common code the cons

Re: [PATCH] xen/arm: vpsci: Fix typo in comment (SCCC changed to SSSC)

2025-05-29 Thread Orzel, Michal
On 29/05/2025 21:40, Mykola Kvach wrote: > From: Mykola Kvach > > Corrected a typo in a comment within vpsci.c: NIT: use imperative mood in commit msg > replaced "SCCC_SMCCC_*_REVISION" with the correct "SSSC_SMCCC_*_REVISION". > > This change improves clarity but does not affect functiona

Re: [PATCH v9 2/3] xen/domain: adjust domain ID allocation for Arm

2025-05-29 Thread Stefano Stabellini
On Wed, 28 May 2025, dm...@proton.me wrote: > From: Denis Mukhin > > From: Denis Mukhin > > Remove the hardcoded domain ID 0 allocation for hardware domain and replace it > with a call to get_initial_domain_id() (returns the value of hardware_domid on > Arm). > > Update domid_alloc(DOMID_INVAL

Re: [PATCH v3 2/2] xen/domain: rewrite emulation_flags_ok()

2025-05-29 Thread Stefano Stabellini
On Wed, 28 May 2025, dm...@proton.me wrote: > From: Denis Mukhin > > From: Denis Mukhin > > Rewrite emulation_flags_ok() to simplify future modifications. > > No functional change intended. > > Signed-off-by: Denis Mukhin > --- > Changes since v2: > - addressed review feedback > - added some

Re: [PATCH v9 3/3] xen/domain: introduce CONFIG_MAX_DOMID

2025-05-29 Thread Stefano Stabellini
On Wed, 28 May 2025, dm...@proton.me wrote: > From: Denis Mukhin > > From: Denis Mukhin > > Embedded deployments of Xen do not need to have support for more than dozen of > domains. > > Introduce build-time configuration option to limit the number of domains > during > run-time. > > Suggeste

Re: [PATCH v4 2/4] xen/console: introduce console input permission

2025-05-29 Thread Stefano Stabellini
On Thu, 29 May 2025, dm...@proton.me wrote: > Add new flag to domain structure for marking permission to intercept > the physical console input by the domain. > > Update console input switch logic accordingly. > > No functional change intended. > > Signed-off-by: Denis Mukhin > --- > Changes si

Re: [PATCH v4 2/4] xen/console: introduce console input permission

2025-05-29 Thread dmkhn
On Thu, May 29, 2025 at 05:58:00PM -0700, Stefano Stabellini wrote: > On Thu, 29 May 2025, dm...@proton.me wrote: > > Add new flag to domain structure for marking permission to intercept > > the physical console input by the domain. > > > > Update console input switch logic accordingly. > > > > No