Re: [PATCH v2] xvmalloc: extend to cover 2-dimensional arrays

2025-07-12 Thread Julien Grall
Hi Jan, On 10/07/2025 12:02, Jan Beulich wrote: Take care of the multiplication(s) involved in determining overall size in the macros themselves, saturating to ULONG_MAX. This way on 64-bit systems the subsequent check against UINT_MAX will fail, while on 32- bit systems allocations of this size

Re: [PATCH v2] xen/arm: fix arm_iommu_map_page after f9f6b22ab

2025-07-12 Thread Julien Grall
Hi Stefano, On 11/07/2025 01:25, Stefano Stabellini wrote: Up until f9f6b22ab "xen/arm: Map ITS doorbell register to IOMMU page Everywhere in this commit message, we are using 12 characters commit ID. tables" the only caller of iommu_map on ARM was grant_table.c which has a specific usage mo

Re: [PATCH] xen/arm: Enhance IPMMU-VMSA driver robustness and debug output

2025-07-12 Thread Julien Grall
Hi, On 23/06/2025 08:25, Orzel, Michal wrote: On 20/06/2025 12:31, Jahan Murudi wrote: - Fix typo in source comment ("you can found" -> "which can be found"). - Add dsb(sy) after IMCTR write to ensure flush is complete before polling. - Add dev_info() log in ipmmu_device_reset() to indicate t

Re: [PATCH] Arm: tidy page_get_owner_and_nr_reference()

2025-07-12 Thread Julien Grall
Hi Jan, Sorry for the late answer. On 03/07/2025 11:04, Jan Beulich wrote: On 03.07.2025 10:52, Julien Grall wrote: On 02/07/2025 14:37, Jan Beulich wrote: On 02.07.2025 15:18, Julien Grall wrote: On 02/07/2025 14:06, Jan Beulich wrote: When the bumping by (instead of just 1) was introduce

Re: [PATCH v12 3/7] xen/arm: smmuv2: Add PCI devices support for SMMUv2

2025-07-12 Thread Julien Grall
On 02/07/2025 08:10, Mykyta Poturai wrote: From: Oleksandr Andrushchenko Implement support for PCI devices in the SMMU driver. Make arm_smmu_master structure to hold a pointer to the device to allow it to hold PCI devices. Trigger iommu-map parsing when new PCI device is added. Add checks to

Re: [PATCH] MAINTAINERS: add me as an additional stubdom maintainer

2025-07-12 Thread Julien Grall
Hi, On 01/07/2025 20:38, Stefano Stabellini wrote: On Tue, 1 Jul 2025, Juergen Gross wrote: I've been the main contributor to the stubdom framework for several years now. Add me as a maintainer. Signed-off-by: Juergen Gross Acked-by: Stefano Stabellini I think for this one we also need

Re: [PATCH 2/2] xen/arm: Skip loops in init_pdx() when no PDX compression is used

2025-07-12 Thread Julien Grall
Hi Michal, On 04/07/2025 08:54, Michal Orzel wrote: When CONFIG_PDX_COMPRESSION=n, pdx_init_mask(), pdx_region_mask() and pfn_pdx_hole_setup() are just stubs doing nothing. It does not make sense to keep the two loops iterating over all the memory banks. I saw this was already committed. But I

Re: [PATCH] MAINTAINERS: add me as an additional stubdom maintainer

2025-07-12 Thread Samuel Thibault
Julien Grall, le sam. 12 juil. 2025 11:44:02 +0100, a ecrit: > On 01/07/2025 20:38, Stefano Stabellini wrote: > > On Tue, 1 Jul 2025, Juergen Gross wrote: > > > I've been the main contributor to the stubdom framework for several > > > years now. > > > > > > Add me as a maintainer. > > > > > > Sig

Re: [PATCH v12 3/7] xen/arm: smmuv2: Add PCI devices support for SMMUv2

2025-07-12 Thread Demi Marie Obenour
On 7/2/25 03:10, Mykyta Poturai wrote: > From: Oleksandr Andrushchenko > > Implement support for PCI devices in the SMMU driver. Make arm_smmu_master > structure to hold a pointer to the device to allow it to hold PCI devices. > Trigger iommu-map parsing when new PCI device is added. Add checks t

Re: [XEN PATCH v2 3/3] eclair: add deviations of MISRA C Rule 5.5

2025-07-12 Thread Nicola Vetrini
On 2025-07-12 03:13, Stefano Stabellini wrote: On Fri, 11 Jul 2025, Nicola Vetrini wrote: On 2025-07-09 23:38, Dmytro Prokopchuk1 wrote: > MISRA C Rule 5.5 states that: "Identifiers shall > be distinct from macro names". > > Update ECLAIR configuration to deviate: > - clashes in 'xen/include/xen

Re: [PATCH v2 3/5] xen/arm: Move make_resv_memory_node()

2025-07-12 Thread Koichiro Den
On Fri, Jul 11, 2025 at 03:36:56PM -0400, Stewart Hildebrand wrote: > On 7/9/25 03:58, Koichiro Den wrote: > > On Tue, Jul 08, 2025 at 04:12:50PM -0400, Stewart Hildebrand wrote: > >> On 7/5/25 10:27, Koichiro Den wrote: > >>> The /reserved-memory node is inherently not specific to static-shmem. >

Re: [PATCH v2 5/5] xen/arm: Support ARM standard PV time for domains created via toolstack

2025-07-12 Thread Koichiro Den
On Wed, Jul 09, 2025 at 11:16:02AM +0200, Jan Beulich wrote: > On 09.07.2025 10:04, Koichiro Den wrote: > > On Mon, Jul 07, 2025 at 10:01:47AM +0200, Jan Beulich wrote: > >> On 05.07.2025 16:27, Koichiro Den wrote: > >>> --- a/xen/arch/arm/mm.c > >>> +++ b/xen/arch/arm/mm.c > >>> @@ -180,7 +180,21