[linux-linus test] 186292: regressions - FAIL

2024-06-09 Thread osstest service owner
flight 186292 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/186292/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-armhf-armhf-examine 8 reboot fail REGR. vs. 186282 test-amd64-amd64-xl

[xen-unstable test] 186293: tolerable FAIL

2024-06-09 Thread osstest service owner
flight 186293 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/186293/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-libvirt-vhd 8 xen-boot fail like 186225 test-amd64-amd64-xl-qemut-debianhvm-

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

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

[linux-linus test] 186296: regressions - FAIL

2024-06-09 Thread osstest service owner
flight 186296 linux-linus real [real] flight 186297 linux-linus real-retest [real] http://logs.test-lab.xenproject.org/osstest/logs/186296/ http://logs.test-lab.xenproject.org/osstest/logs/186297/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run

Re: [PATCH v1 1/3] mm: pass meminit_context to __free_pages_core()

2024-06-09 Thread Oscar Salvador
On Fri, Jun 07, 2024 at 11:09:36AM +0200, David Hildenbrand wrote: > In preparation for further changes, let's teach __free_pages_core() > about the differences of memory hotplug handling. > > Move the memory hotplug specific handling from generic_online_page() to > __free_pages_core(), use adjust

Re: [PATCH v1 2/3] mm/memory_hotplug: initialize memmap of !ZONE_DEVICE with PageOffline() instead of PageReserved()

2024-06-09 Thread Oscar Salvador
On Fri, Jun 07, 2024 at 11:09:37AM +0200, David Hildenbrand wrote: > We currently initialize the memmap such that PG_reserved is set and the > refcount of the page is 1. In virtio-mem code, we have to manually clear > that PG_reserved flag to make memory offlining with partially hotplugged > memory

Re: [PATCH v1 3/3] mm/memory_hotplug: skip adjust_managed_page_count() for PageOffline() pages when offlining

2024-06-09 Thread Oscar Salvador
On Fri, Jun 07, 2024 at 11:09:38AM +0200, David Hildenbrand wrote: > We currently have a hack for virtio-mem in place to handle memory > offlining with PageOffline pages for which we already adjusted the > managed page count. > > Let's enlighten memory offlining code so we can get rid of that hack

[PATCH] xen: xen-pciback: Export a bridge and all its children as per TODO

2024-06-09 Thread Abhinav Jain
Check if the device is a bridge. If it is a bridge, iterate over all its child devices and export them. Log error if the export fails for any particular device logging details. Export error string is split across lines as I could see several other such occurrences in the file. Please let me know if

[PATCH] MAINTAINERS: alter EFI section

2024-06-09 Thread Jan Beulich
To get past the recurring friction on the approach to take wrt workarounds needed for various firmware flaws, I'm stepping down as the maintainer of our code interfacing with EFI firmware. Two new maintainers are being introduced in my place. Signed-off-by: Jan Beulich --- For the new maintainers

[XEN PATCH v6 2/7] xen/arm: ffa: use ACCESS_ONCE()

2024-06-09 Thread Jens Wiklander
Replace read_atomic() with ACCESS_ONCE() to match the intended use, that is, to prevent the compiler from (via optimization) reading shared memory more than once. Signed-off-by: Jens Wiklander Reviewed-by: Bertrand Marquis --- xen/arch/arm/tee/ffa_shm.c | 15 --- 1 file changed, 8 i

[XEN PATCH v6 0/7] FF-A notifications

2024-06-09 Thread Jens Wiklander
Hi, This patch set adds support for FF-A notifications. We only support global notifications, per vCPU notifications remain unsupported. The first three patches are further cleanup and can be merged before the rest if desired. A physical SGI is used to make Xen aware of pending FF-A notification

[XEN PATCH v6 4/7] xen/arm: allow dynamically assigned SGI handlers

2024-06-09 Thread Jens Wiklander
Updates so request_irq() can be used with a dynamically assigned SGI irq as input. This prepares for a later patch where an FF-A schedule receiver interrupt handler is installed for an SGI generated by the secure world. >From the Arm Base System Architecture v1.0C [1]: "The system shall implement

[XEN PATCH v6 6/7] xen/arm: add and call tee_free_domain_ctx()

2024-06-09 Thread Jens Wiklander
Add tee_free_domain_ctx() to the TEE mediator framework. tee_free_domain_ctx() is called from arch_domain_destroy() to allow late freeing of the d->arch.tee context. This will simplify access to d->arch.tee for domains retrieved with rcu_lock_domain_by_id(). Signed-off-by: Jens Wiklander Reviewed

[XEN PATCH v6 5/7] xen/arm: add and call init_tee_secondary()

2024-06-09 Thread Jens Wiklander
Add init_tee_secondary() to the TEE mediator framework and call it from start_secondary() late enough that per-cpu interrupts can be configured on CPUs as they are initialized. This is needed in later patches. Signed-off-by: Jens Wiklander Reviewed-by: Bertrand Marquis --- v5->v6: - Rename init_

[XEN PATCH v6 1/7] xen/arm: ffa: refactor ffa_handle_call()

2024-06-09 Thread Jens Wiklander
Refactors the large switch block in ffa_handle_call() to use common code for the simple case where it's either an error code or success with no further parameters. Signed-off-by: Jens Wiklander Reviewed-by: Bertrand Marquis --- xen/arch/arm/tee/ffa.c | 30 ++ 1 file

[XEN PATCH v6 3/7] xen/arm: ffa: simplify ffa_handle_mem_share()

2024-06-09 Thread Jens Wiklander
Simplify ffa_handle_mem_share() by removing the start_page_idx and last_page_idx parameters from get_shm_pages() and check that the number of pages matches expectations at the end of get_shm_pages(). Signed-off-by: Jens Wiklander Reviewed-by: Bertrand Marquis --- xen/arch/arm/tee/ffa_shm.c | 18

[XEN PATCH v6 7/7] xen/arm: ffa: support notification

2024-06-09 Thread Jens Wiklander
Add support for FF-A notifications, currently limited to an SP (Secure Partition) sending an asynchronous notification to a guest. Guests and Xen itself are made aware of pending notifications with an interrupt. The interrupt handler triggers a tasklet to retrieve the notifications using the FF-A