[qemu-mainline test] 168474: regressions - trouble: broken/fail/pass

2022-03-08 Thread osstest service owner
flight 168474 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/168474/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-libvirt-qcow2 broken test-armhf-armhf-libvirt-qcow2 5 host

Re: [PATCH 1/3] xen/arm: Add i.MX lpuart driver

2022-03-08 Thread Julien Grall
Hi Peng, On 28/02/2022 01:07, Peng Fan (OSS) wrote: From: Peng Fan Signed-off-by: Peng Fan --- xen/drivers/char/Kconfig | 8 + xen/drivers/char/Makefile | 1 + xen/drivers/char/imx-lpuart.c | 303 ++ xen/include/xen/imx-lpuart.h | 64 +++

[ovmf test] 168479: regressions - FAIL

2022-03-08 Thread osstest service owner
flight 168479 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/168479/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-xsm 6 xen-buildfail REGR. vs. 168254 build-amd64

[XEN][RFC PATCH v3 00/14] dynamic node programming using overlay dtbo

2022-03-08 Thread Vikram Garhwal
Hi, This RFC patch series is for introducing dynamic programming i.e. add/remove the devices during run time. Using "xl overlay" a device can be added/removed with dtbo. For adding a node using dynamic programming: 1. flatten device tree overlay node will be added to a fdt 2. Updated fdt

[XEN][RFC PATCH v3 04/14] libfdt: overlay: change overlay_get_target()

2022-03-08 Thread Vikram Garhwal
Rename overlay_get_target() to fdt_overlay_target_offset() and remove static function type. This is done to get the target path for the overlay nodes which is very useful in many cases. For example, Xen hypervisor needs it when applying overlays because Xen needs to do further processing of the ov

[XEN][RFC PATCH v3 08/14] xen/iommu: protect iommu_add_dt_device() with dtdevs_lock

2022-03-08 Thread Vikram Garhwal
Protect iommu_add_dt_device() with dtdevs_lock to prevent concurrent access add. Signed-off-by: Vikram Garhwal --- xen/drivers/passthrough/device_tree.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/device_tree.c b/xen/drivers/passthrough/de

[XEN][RFC PATCH v3 12/14] tools/libs/ctrl: Implement new xc interfaces for dt overlay

2022-03-08 Thread Vikram Garhwal
xc_dt_overlay() sends the device tree binary overlay, size of .dtbo and overlay operation type i.e. add or remove to xen. Signed-off-by: Vikram Garhwal --- tools/include/xenctrl.h | 3 +++ tools/libs/ctrl/Makefile | 1 + tools/libs/ctrl/xc_overlay.c | 51 ++

[XEN][RFC PATCH v3 03/14] libfdt: Keep fdt functions after init for CONFIG_OVERLAY_DTB.

2022-03-08 Thread Vikram Garhwal
This is done to access fdt library function which are required for adding device tree overlay nodes for dynamic programming of nodes. Acked-by: Julien Grall Signed-off-by: Vikram Garhwal --- xen/common/libfdt/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/xen/common/libfdt/Mak

[XEN][RFC PATCH v3 01/14] xen/arm/device: Remove __init from function type

2022-03-08 Thread Vikram Garhwal
Change function type of following function to access during runtime: 1. map_irq_to_domain() 2. handle_device_interrupt() 3. map_range_to_domain() 4. unflatten_dt_node() 5. unflatten_device_tree() Move map_irq_to_domain(), handle_device_interrupt() and map_range_to_domain() to d

[XEN][RFC PATCH v3 07/14] xen/iommu: Move spin_lock from iommu_dt_device_is_assigned to caller

2022-03-08 Thread Vikram Garhwal
Rename iommu_dt_device_is_assigned() to iommu_dt_device_is_assigned_lock(). Moving spin_lock to caller was done to prevent the concurrent access to iommu_dt_device_is_assigned while doing add/remove/assign/deassign. Signed-off-by: Vikram Garhwal --- xen/drivers/passthrough/device_tree.c | 11 ++

[XEN][RFC PATCH v3 11/14] xen/arm: Implement device tree node addition functionalities

2022-03-08 Thread Vikram Garhwal
Update sysctl XEN_SYSCTL_dt_overlay to enable support for dtbo nodes addition using device tree overlay. xl overlay add file.dtbo: Each time overlay nodes are added using .dtbo, a new fdt(memcpy of device_tree_flattened) is created and updated with overlay nodes. This updated fdt is fu

[XEN][RFC PATCH v3 13/14] tools/libs/light: Implement new libxl functions for device tree overlay ops

2022-03-08 Thread Vikram Garhwal
Signed-off-by: Vikram Garhwal --- tools/include/libxl.h| 3 ++ tools/libs/light/Makefile| 1 + tools/libs/light/libxl_overlay.c | 67 3 files changed, 71 insertions(+) create mode 100644 tools/libs/light/libxl_overlay.c diff --git a/tools/i

[XEN][RFC PATCH v3 14/14] tools/xl: Add new xl command overlay for device tree overlay support

2022-03-08 Thread Vikram Garhwal
Signed-off-by: Vikram Garhwal --- tools/xl/xl.h | 4 tools/xl/xl_cmdtable.c | 6 ++ tools/xl/xl_vmcontrol.c | 45 + 3 files changed, 55 insertions(+) diff --git a/tools/xl/xl.h b/tools/xl/xl.h index c5c4bedbdd..604fd5bb94 100644 --- a

[XEN][RFC PATCH v3 09/14] xen/iommu: Introduce iommu_remove_dt_device()

2022-03-08 Thread Vikram Garhwal
Remove master device from the IOMMU. Signed-off-by: Vikram Garhwal --- xen/drivers/passthrough/device_tree.c | 38 +++ xen/include/xen/iommu.h | 2 ++ 2 files changed, 40 insertions(+) diff --git a/xen/drivers/passthrough/device_tree.c b/xen/drivers/passt

[XEN][RFC PATCH v3 02/14] xen/arm: Add CONFIG_OVERLAY_DTB

2022-03-08 Thread Vikram Garhwal
Introduce a config option where the user can enable support for adding/removing device tree nodes using a device tree binary overlay. Signed-off-by: Vikram Garhwal --- xen/arch/arm/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index

[XEN][RFC PATCH v3 06/14] xen/smmu: Add remove_device callback for smmu_iommu ops

2022-03-08 Thread Vikram Garhwal
Add remove_device callback for removing the device entry from smmu-master using following steps: 1. Find if SMMU master exists for the device node. 2. Remove the SMMU master Signed-off-by: Vikram Garhwal --- xen/drivers/passthrough/arm/smmu.c | 56 ++ 1 file changed,

[XEN][RFC PATCH v3 10/14] xen/arm: Implement device tree node removal functionalities

2022-03-08 Thread Vikram Garhwal
Introduce sysctl XEN_SYSCTL_dt_overlay to remove device-tree nodes added using device tree overlay. xl overlay remove file.dtbo: Removes all the nodes in a given dtbo. First, removes IRQ permissions and MMIO accesses. Next, it finds the nodes in dt_host and delete the device node entri

[XEN][RFC PATCH v3 05/14] xen/device-tree: Add _dt_find_node_by_path() to find nodes in device tree

2022-03-08 Thread Vikram Garhwal
Add _dt_find_by_path() to find a matching node with path for a dt_device_node. Signed-off-by: Vikram Garhwal --- xen/common/device_tree.c | 10 -- xen/include/xen/device_tree.h | 9 + 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/xen/common/device_tree.c b

RE: Proposal for Porting Xen to Armv8-R64 - DraftA

2022-03-08 Thread Stefano Stabellini
On Tue, 8 Mar 2022, Wei Chen wrote: > > On Mon, 7 Mar 2022, Wei Chen wrote: > > > > > On 01/03/2022 07:51, Wei Chen wrote: > > > > > >>> ### 1.2. Xen Challenges with PMSA Virtualization > > > > > >>> Xen is PMSA unaware Type-1 Hypervisor, it will need > > modifications to > > > > > run > > > > > >>

[xen-unstable test] 168476: tolerable FAIL

2022-03-08 Thread osstest service owner
flight 168476 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/168476/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-i386-xl-qemuu-ovmf-amd64 18 guest-localmigrate/x10 fail pass in 168470 test-armhf-armhf-libvirt-raw

[ovmf test] 168489: regressions - FAIL

2022-03-08 Thread osstest service owner
flight 168489 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/168489/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64 6 xen-buildfail REGR. vs. 168254 build-amd64-xsm

Re: [PATCH 11/12] swiotlb: merge swiotlb-xen initialization into swiotlb

2022-03-08 Thread Boris Ostrovsky
On 3/1/22 5:53 AM, Christoph Hellwig wrote: Allow to pass a remap argument to the swiotlb initialization functions to handle the Xen/x86 remap case. ARM/ARM64 never did any remapping from xen_swiotlb_fixup, so we don't even need that quirk. Any chance this patch could be split? Lots of thin

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

2022-03-08 Thread osstest service owner
flight 168487 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/168487/ 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 1

Re: [PATCH 11/12] swiotlb: merge swiotlb-xen initialization into swiotlb

2022-03-08 Thread Christoph Hellwig
On Tue, Mar 08, 2022 at 04:38:21PM -0500, Boris Ostrovsky wrote: > > On 3/1/22 5:53 AM, Christoph Hellwig wrote: >> Allow to pass a remap argument to the swiotlb initialization functions >> to handle the Xen/x86 remap case. ARM/ARM64 never did any remapping >> from xen_swiotlb_fixup, so we don't e

<    1   2