Re: [PATCH v6 8/8] xen: allow up to 16383 cpus

2024-05-05 Thread Juergen Gross
On 06.05.24 08:42, Jan Beulich wrote: On 03.05.2024 21:07, Stefano Stabellini wrote: On Fri, 3 May 2024, Julien Grall wrote: Hi Stefano, On 02/05/2024 19:13, Stefano Stabellini wrote: On Mon, 29 Apr 2024, Julien Grall wrote: Hi Juergen, On 29/04/2024 12:28, Jürgen Groß wrote: On 29.04.24 1

Re: [REGRESSION] Re: [XEN PATCH 0/3] automation/eclair: do not allow failure for triggered analyses

2024-05-05 Thread Nicola Vetrini
On 2024-05-03 22:06, Andrew Cooper wrote: On 03/05/2024 9:01 pm, Federico Serafini wrote: On 03/05/24 21:46, Andrew Cooper wrote: On 03/05/2024 8:44 pm, Federico Serafini wrote: On 03/05/24 21:14, Andrew Cooper wrote: On 29/04/2024 4:21 pm, Federico Serafini wrote: Patch 1/3 does some prepar

Re: [PATCH v6 8/8] xen: allow up to 16383 cpus

2024-05-05 Thread Jan Beulich
On 03.05.2024 21:07, Stefano Stabellini wrote: > On Fri, 3 May 2024, Julien Grall wrote: >> Hi Stefano, >> >> On 02/05/2024 19:13, Stefano Stabellini wrote: >>> On Mon, 29 Apr 2024, Julien Grall wrote: Hi Juergen, On 29/04/2024 12:28, Jürgen Groß wrote: > On 29.04.24 13:04, Julie

Re: [PATCH v8 02/17] xen: introduce generic non-atomic test_*bit()

2024-05-05 Thread Jan Beulich
On 03.05.2024 19:15, Oleksii wrote: > On Thu, 2024-04-25 at 17:35 +0200, Jan Beulich wrote: >>>   #include >>>   >>> +#ifndef arch_check_bitop_size >>> +#define arch_check_bitop_size(addr) >> >> Can this really do nothing? Passing the address of an object smaller >> than >> bitop_uint_t will read

Re: [PATCH 08/15] tools: Add domain_id and expert mode for overlay operations

2024-05-05 Thread Henry Wang
Hi Anthony, On 5/1/2024 10:46 PM, Anthony PERARD wrote: On Wed, Apr 24, 2024 at 11:34:42AM +0800, Henry Wang wrote: From: Vikram Garhwal Add domain_id and expert mode for overlay assignment. This enables dynamic programming of nodes during runtime. Take the opportunity to fix the name mismat

Re: [PATCH 09/15] tools/libs/light: Modify dtbo to domU linux dtbo format

2024-05-05 Thread Henry Wang
Hi Anthony, On 5/1/2024 11:09 PM, Anthony PERARD wrote: On Wed, Apr 24, 2024 at 11:34:43AM +0800, Henry Wang wrote: diff --git a/tools/libs/light/libxl_dt_overlay.c b/tools/libs/light/libxl_dt_overlay.c index cdb62b28cf..eaf11a0f9c 100644 --- a/tools/libs/light/libxl_dt_overlay.c +++ b/tools/l

Re: [PATCH 07/15] xen/overlay: Enable device tree overlay assignment to running domains

2024-05-05 Thread Henry Wang
Hi Julien, On 4/30/2024 5:47 PM, Julien Grall wrote: On 30/04/2024 05:00, Henry Wang wrote: Hi Julien, Hi Henry, On 4/30/2024 1:34 AM, Julien Grall wrote: On 29/04/2024 04:36, Henry Wang wrote: Hi Jan, Julien, Stefano, Hi Henry, On 4/24/2024 2:05 PM, Jan Beulich wrote: On 24.04.2024

Re: [PATCH 05/15] tools/libs/light: Increase nr_spi to 160

2024-05-05 Thread Henry Wang
Hi Anthony, (+Arm maintainers) On 5/1/2024 9:58 PM, Anthony PERARD wrote: On Wed, Apr 24, 2024 at 11:34:39AM +0800, Henry Wang wrote: Increase number of spi to 160 i.e. gic_number_lines() for Xilinx ZynqMP - 32. This was done to allocate and assign IRQs to a running domain. Signed-off-by: Vik

Re: [PATCH 04/15] tools/libs/light: Always enable IOMMU

2024-05-05 Thread Henry Wang
Hi Anthony, On 5/1/2024 9:47 PM, Anthony PERARD wrote: On Wed, Apr 24, 2024 at 11:34:38AM +0800, Henry Wang wrote: For overlay with iommu functionality to work with running VMs, we need to enable IOMMU when iomem presents for the domains. Signed-off-by: Vikram Garhwal Signed-off-by: Henry Wan

Re: [PATCH 07/15] xen/overlay: Enable device tree overlay assignment to running domains

2024-05-05 Thread Henry Wang
Hi Stefano, Julien, On 5/3/2024 2:02 AM, Stefano Stabellini wrote: On Tue, 30 Apr 2024, Henry Wang wrote: Hi Julien, On 4/30/2024 1:34 AM, Julien Grall wrote: On 29/04/2024 04:36, Henry Wang wrote: Hi Jan, Julien, Stefano, Hi Henry, On 4/24/2024 2:05 PM, Jan Beulich wrote: On 24.04.2024

Re: [PATCH 1/3] xen/arm/dom0less-build: Alloc magic pages for Dom0less DomUs from hypervisor

2024-05-05 Thread Henry Wang
Hi Daniel, On 4/30/2024 6:22 PM, Daniel P. Smith wrote: On 4/29/24 22:55, Henry Wang wrote: Hi Daniel, On 4/30/2024 8:27 AM, Daniel P. Smith wrote: On 4/25/24 23:14, Henry Wang wrote: There are use cases (for example using the PV driver) in Dom0less setup that require Dom0less DomUs start im

Re: [PATCH v1.1] xen/commom/dt-overlay: Fix missing lock when remove the device

2024-05-05 Thread Henry Wang
Hi Julien, On 5/3/2024 9:04 PM, Julien Grall wrote: Hi Henry, On 26/04/2024 02:55, Henry Wang wrote: If CONFIG_DEBUG=y, below assertion will be triggered: (XEN) Assertion 'rw_is_locked(&dt_host_lock)' failed at drivers/passthrough/device_tree.c:146 (XEN) [ Xen-4.19-unstable  arm64  debug

Re: [PATCH 2/3] xen/arm, tools: Add a new HVM_PARAM_MAGIC_BASE_PFN key in HVMOP

2024-05-05 Thread Henry Wang
Hi Stefano, On 5/3/2024 2:08 AM, Stefano Stabellini wrote: On Fri, 26 Apr 2024, Henry Wang wrote: For use cases such as Dom0less PV drivers, a mechanism to communicate Dom0less DomU's static data with the runtime control plane (Dom0) is needed. Since on Arm HVMOP is already the existing approac

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

2024-05-05 Thread osstest service owner
flight 185920 linux-linus real [real] flight 185921 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/185920/ http://logs.test-lab.xenproject.org/osstest/logs/185921/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-

[PATCH v3 2/3] Update Xen's features.h header

2024-05-05 Thread Marek Marczykowski-Górecki
Update it to get XENFEAT_dm_msix_all_writes for the next patch. Signed-off-by: Marek Marczykowski-Górecki --- include/hw/xen/interface/features.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/hw/xen/interface/features.h b/include/hw/xen/interface/features.h inde

[PATCH v3 1/3] hw/xen/xen_pt: Save back data only for declared registers

2024-05-05 Thread Marek Marczykowski-Górecki
Call pci_default_write_config() only after resolving any handlers from XenPTRegInfo structures, and only with a value updated with those handlers. This is important for two reasons: 1. XenPTRegInfo has ro_mask which needs to be enforced - Xen-specific hooks do that on their own (especially xen_p

[PATCH v3 3/3] Do not access /dev/mem in MSI-X PCI passthrough on Xen

2024-05-05 Thread Marek Marczykowski-Górecki
The /dev/mem is used for two purposes: - reading PCI_MSIX_ENTRY_CTRL_MASKBIT - reading Pending Bit Array (PBA) The first one was originally done because when Xen did not send all vector ctrl writes to the device model, so QEMU might have outdated old register value. If Xen is new enough, this ha

Re: [PATCH for-4.19] ppc/riscv: fix arch_acquire_resource_check()

2024-05-05 Thread Shawn Anastasio
Hi Roger, On 4/30/24 10:34 AM, Roger Pau Monne wrote: > None of the implementations support set_foreign_p2m_entry() yet, neither they > have a p2m walk in domain_relinquish_resources() in order to remove the > foreign > mappings from the p2m and thus drop the extra refcounts. > > Adjust the arch

[xen-unstable test] 185919: tolerable FAIL

2024-05-05 Thread osstest service owner
flight 185919 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/185919/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-armhf-armhf-xl-arndale 8 xen-boot fail pass in 185917 test-amd64-amd64-xl-qemut-debian