Re: [PATCH 4/5] x86/boot: Convert mod[] to bi->mods[] in __start_xen()

2024-10-24 Thread Daniel P. Smith
On 10/24/24 10:26, Andrew Cooper wrote: From: "Daniel P. Smith" The former is about to disappear. In some cases, introduce a local struct boot_module pointer. Judgement on where to do this, and on constness, is based on what creates least churn overall. No functional change. Signed-off-by:

Re: [PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on next-20241024] [cannot apply to drm-exynos/exynos-drm-next shawnguo/for-next drm-xe/drm-xe-next linus/master v6.12-rc4] [If your patch is applied to

Re: [PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on next-20241024] [cannot apply to drm-exynos/exynos-drm-next shawnguo/for-next drm-xe/drm-xe-next linus/master v6.12-rc4] [If your patch is applied to the

Re: [XEN PATCH v1 6/6] CI: Run the builds and tests that use the Debian 12 containers as a normal user

2024-10-24 Thread Stefano Stabellini
On Thu, 24 Oct 2024, Javi Merino wrote: > Use FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR so that GitLab CI clones xen > using the user in the image, instead of as root[0]. > > In qemu-smoke-dom0*.sh and qemu-alpine-x86_64.sh, use fakeroot to > create the rootfs images that untar a tarball that create ch

Re: [PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on next-20241024] [cannot apply to drm-exynos/exynos-drm-next shawnguo/for-next drm-xe/drm-xe-next linus/master v6.12-rc4] [If your patch is applied to the

Re: [XEN PATCH v1 1/6] CI: Refresh the Debian 12 x86_64 container

2024-10-24 Thread Andrew Cooper
On 24/10/2024 11:04 am, Javi Merino wrote: > Rework the container to use heredocs for readability, and use > apt-get --no-install-recommends to keep the size down. > > This reduces the size of the (uncompressed) container from 3.44GB to 1.67GB. !! > > Signed-off-by: Javi Merino > --- > automati

Re: [PATCH v3 5/6] xen/arm: mpu: Enable MPU

2024-10-24 Thread Luca Fancellu
Hi Ayan, > On 24 Oct 2024, at 09:02, Ayan Kumar Halder wrote: > > Hi Julien, > > On 23/10/2024 17:30, Julien Grall wrote: >> >> >> On 23/10/2024 17:18, Julien Grall wrote: >>> >>> >>> On 23/10/2024 17:13, Julien Grall wrote: On 23/10/2024 17:06, Ayan Kumar Halder wrote: >>>

Re: [RFC PATCH v1 36/57] xen: Remove PAGE_SIZE compile-time constant assumption

2024-10-24 Thread Ryan Roberts
On 23/10/2024 02:23, Stefano Stabellini wrote: > +Julien > > On Wed, 16 Oct 2024, Ryan Roberts wrote: >> + Juergen Gross, Stefano Stabellini >> >> This was a rather tricky series to get the recipients correct for and my >> script >> did not realize that "supporter" was a pseudonym for "maintainer

Re: [PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread Alex Deucher
On Thu, Oct 24, 2024 at 12:33 PM Jani Nikula wrote: > > We stopped using the driver initialized date in commit 7fb8af6798e8 > ("drm: deprecate driver date") and (eventually) started returning "0" > for drm_version ioctl instead. > > Finish the job, and remove the unused date member from struct > d

[PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread Jani Nikula
We stopped using the driver initialized date in commit 7fb8af6798e8 ("drm: deprecate driver date") and (eventually) started returning "0" for drm_version ioctl instead. Finish the job, and remove the unused date member from struct drm_driver, its initialization from drivers, along with the common

[PATCH 1/2] drm/xen: remove redundant initialization info print

2024-10-24 Thread Jani Nikula
drm_dev_register() already prints the same information on successful init. Remove the redundant prints. Signed-off-by: Jani Nikula --- Note: I prefer to merge this together with the next patch via drm-misc-next. Cc: Oleksandr Andrushchenko Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas

Re: [PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers

2024-10-24 Thread Javier Martinez Canillas
Jani Nikula writes: Hello Jani, > We stopped using the driver initialized date in commit 7fb8af6798e8 > ("drm: deprecate driver date") and (eventually) started returning "0" > for drm_version ioctl instead. > > Finish the job, and remove the unused date member from struct > drm_driver, its initi

[PATCH 5/5] x86/boot: Drop the mbi and mod pointers in __start_xen()

2024-10-24 Thread Andrew Cooper
We can't drop them fully yet, but we can limit their scope to almost nothing, which serves the same purpose. This removes the ability to accidentally reintroduce buggy uses of __va(mbi->mods_addr). No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC:

[PATCH 1/5] x86/boot: Drop initial_images pointer

2024-10-24 Thread Andrew Cooper
From: "Daniel P. Smith" Now that the module list is encapsulated inside boot_info, we can do away with the initial_images pointer. No functional change. Signed-off-by: Daniel P. Smith Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Daniel P. Smith v7.5: * Rearran

[PATCH 2/5] x86/boot: Introduce bootstrap_unmap()

2024-10-24 Thread Andrew Cooper
We're about to introduce alternative mapping functions, and passing NULL was always a slightly weird way to express unmap. Make an explicit unmap function, to avoid having two different valid ways of unmapping. No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pa

[PATCH 3/5] x86/boot: Introduce bootstrap_map_bm() to map boot_module's

2024-10-24 Thread Andrew Cooper
From: "Daniel P. Smith" Convert converting the call to bzimage_headroom(), as well as using bi->mod[0]. It will be used externally by later changes. No functional change. Signed-off-by: Daniel P. Smith Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné CC: Daniel P. Smith

[PATCH 4/5] x86/boot: Convert mod[] to bi->mods[] in __start_xen()

2024-10-24 Thread Andrew Cooper
From: "Daniel P. Smith" The former is about to disappear. In some cases, introduce a local struct boot_module pointer. Judgement on where to do this, and on constness, is based on what creates least churn overall. No functional change. Signed-off-by: Daniel P. Smith Signed-off-by: Andrew Coo

[PATCH v2] x86/boot: Explain how discard_initial_images() works

2024-10-24 Thread Andrew Cooper
discard_initial_images() only works because init_domheap_pages() with ps==pe is a no-op. In dom0_construct(), explaining the significance of setting the initrd length to 0, and put an explicit check in discard_initial_images(). No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beul

Re: [XEN PATCH v1 4/6] CI: Refresh the Debian 12 arm32 cross compile container

2024-10-24 Thread Javi Merino
On Thu, Oct 24, 2024 at 11:51:16AM +, Anthony PERARD wrote: > On Thu, Oct 24, 2024 at 11:04:19AM +0100, Javi Merino wrote: > > diff --git a/automation/build/debian/12-arm64v8-arm32-gcc.dockerfile > > b/automation/build/debian/12-arm64v8-arm32-gcc.dockerfile > > new file mode 100644 > > index 0

Re: [XEN PATCH v1 4/6] CI: Refresh the Debian 12 arm32 cross compile container

2024-10-24 Thread Anthony PERARD
On Thu, Oct 24, 2024 at 11:04:19AM +0100, Javi Merino wrote: > diff --git a/automation/build/debian/12-arm64v8-arm32-gcc.dockerfile > b/automation/build/debian/12-arm64v8-arm32-gcc.dockerfile > new file mode 100644 > index ..bdc935706bfa > --- /dev/null > +++ b/automation/build/debian/

Re: [PATCH v2 07/10] xen/arm: ffa: Transmit RXTX buffers to the SPMC

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Oct 24, 2024 at 11:46 AM Bertrand Marquis wrote: > > Hi Jens, > > > On 23 Oct 2024, at 16:51, Jens Wiklander wrote: > > > > Hi Bertrand, > > > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > > wrote: > >> > >> When an RXTX buffer is mapped by a VM transmit it to the S

Re: [PATCH v2 09/10] xen/arm: ffa: Remove per VM notif_enabled

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Oct 24, 2024 at 11:50 AM Bertrand Marquis wrote: > > Hi Jens, > > > On 24 Oct 2024, at 09:41, Jens Wiklander wrote: > > > > Hi Bertrand, > > > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > > wrote: > >> > >> Remove the per VM flag to store if notifications are enabl

Re: [PATCH 3/6] xen: add new domctl get_changed_domain

2024-10-24 Thread Daniel P. Smith
On 10/24/24 05:13, Jürgen Groß wrote: On 23.10.24 17:55, Daniel P. Smith wrote: On 10/23/24 09:10, Juergen Gross wrote: Add a new domctl sub-function to get data of a domain having changed state (this is needed by Xenstore). The returned state just contains the domid, the domain unique id, and

Re: [PATCH v2 10/10] xen/arm: ffa: Add indirect message support

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 24 Oct 2024, at 10:50, Jens Wiklander wrote: > > Hi Bertrand, > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > wrote: >> >> Add support for FFA_MSG_SEND2 to send indirect messages from a VM to a >> secure partition. >> >> Signed-off-by: Bertrand Marquis >> --- >> Change

[XEN PATCH v1 0/6] automation: Refresh the remaining Debian containers

2024-10-24 Thread Javi Merino
Hi, These series continues the refresh of the CI containers after[0], focusing on the remaining Debian 12 containers. The containers now build and run as a non-root user, use heredocs for readability, and use apt-get --no-install-recommends to minimize the installation of unnecessary packages.

Re: [PATCH 02/13] ALSA: hda_intel: Use always-managed version of pcim_intx()

2024-10-24 Thread Philipp Stanner
On Wed, 2024-10-23 at 17:03 +0200, Takashi Iwai wrote: > On Wed, 23 Oct 2024 15:50:09 +0200, > Philipp Stanner wrote: > > > > On Tue, 2024-10-22 at 16:08 +0200, Takashi Iwai wrote: > > > On Tue, 15 Oct 2024 20:51:12 +0200, > > > Philipp Stanner wrote: > > > > > > > > pci_intx() is a hybrid functi

[XEN PATCH v1 3/6] CI: Refresh the Debian 12 arm64 container

2024-10-24 Thread Javi Merino
Rework the container to use heredocs for readability and use apt-get --no-install-recommends to keep the size down. Rename the job to debian-12-arm64-* to follow the naming scheme of all the other CI jobs. This reduces the size of the debian:12-arm64v8 from 2.25GB down to 1.62GB. Signed-off-by:

[XEN PATCH v1 4/6] CI: Refresh the Debian 12 arm32 cross compile container

2024-10-24 Thread Javi Merino
Rework the container to run as non-root, use heredocs for readability and use apt-get --no-install-recommends to keep the size down. Rename the CI jobs to debian-12-arm32- to follow the naming scheme of all the other CI jobs. Signed-off-by: Javi Merino --- .../debian/12-arm64v8-arm32-gcc.docke

Re: [XEN PATCH v1 2/6] CI: Refresh the Debian 12 x86_32 container

2024-10-24 Thread Javi Merino
On Thu, Oct 24, 2024 at 11:04:17AM +0100, Javi Merino wrote: > Rework the container to be non-root, use heredocs for readability, and > use apt-get --no-install-recommends to keep the size down. Rename the > job to x86_32, to be consistent with XEN_TARGET_ARCH and the > naming scheme of all the ot

Re: [PATCH v2 10/10] xen/arm: ffa: Add indirect message support

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Oct 24, 2024 at 12:05 PM Bertrand Marquis wrote: > > Hi Jens, > > > On 24 Oct 2024, at 10:50, Jens Wiklander wrote: > > > > Hi Bertrand, > > > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > > wrote: > >> > >> Add support for FFA_MSG_SEND2 to send indirect messages fr

[PATCH 4/5] x86/ucode: Rename the apply_microcode() hook to load()

2024-10-24 Thread Andrew Cooper
The microcode suffix is redundant, and "microcode loading" is the more common term --- xen/arch/x86/cpu/microcode/amd.c | 6 +++--- xen/arch/x86/cpu/microcode/core.c| 27 --- xen/arch/x86/cpu/microcode/intel.c | 8 xen/arch/x86/cpu/microcode/private.h |

[PATCH 2/5] x86/ucode: Drop the parse_blob() wrapper

2024-10-24 Thread Andrew Cooper
This separates the collect_cpu_info() and cpu_request_microcode() calls for later cleanup, and frees up the name to be reused a little differently. No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monné --- xen/arch/x86/cpu/microcode/core.c | 21 ++-

[PATCH 0/5] x86/ucode: Minor cleanup

2024-10-24 Thread Andrew Cooper
Misc cleanup without functional change. Mostly to improve clarity. Andrew Cooper (5): x86/ucode: Rename hypercall-context functions x86/ucode: Drop the parse_blob() wrapper x86/ucode: Rename the cpu_request_microcode() hook to parse() x86/ucode: Rename the apply_microcode() hook to load()

Re: [PATCH v2 04/10] xen/arm: ffa: Fine granular call support

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Thu, Oct 24, 2024 at 12:01 PM Bertrand Marquis wrote: > > Hi Jens, > > > On 24 Oct 2024, at 10:15, Jens Wiklander wrote: > > > > On Wed, Oct 23, 2024 at 11:58 AM Jens Wiklander > > wrote: > >> > >> Hi Bertrand, > >> > >> On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > >> wr

Re: [XEN PATCH v1 1/6] CI: Refresh the Debian 12 x86_64 container

2024-10-24 Thread Javi Merino
On Thu, Oct 24, 2024 at 03:04:10PM +0100, Andrew Cooper wrote: > On 24/10/2024 11:04 am, Javi Merino wrote: > > Rework the container to use heredocs for readability, and use > > apt-get --no-install-recommends to keep the size down. > > > > This reduces the size of the (uncompressed) container from

Re: [PATCH 1/5] x86/boot: Drop initial_images pointer

2024-10-24 Thread Daniel P. Smith
On 10/24/24 10:26, Andrew Cooper wrote: From: "Daniel P. Smith" Now that the module list is encapsulated inside boot_info, we can do away with the initial_images pointer. No functional change. Signed-off-by: Daniel P. Smith Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Mon

Re: [PATCH 3/5] x86/boot: Introduce bootstrap_map_bm() to map boot_module's

2024-10-24 Thread Daniel P. Smith
On 10/24/24 10:26, Andrew Cooper wrote: From: "Daniel P. Smith" Convert converting the call to bzimage_headroom(), as well as using bi->mod[0]. It will be used externally by later changes. No functional change. Signed-off-by: Daniel P. Smith Signed-off-by: Andrew Cooper --- CC: Jan Beulich

Re: [PATCH v2 10/10] xen/arm: ffa: Add indirect message support

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 24 Oct 2024, at 15:43, Jens Wiklander wrote: > > Hi Bertrand, > > On Thu, Oct 24, 2024 at 12:05 PM Bertrand Marquis > wrote: >> >> Hi Jens, >> >>> On 24 Oct 2024, at 10:50, Jens Wiklander wrote: >>> >>> Hi Bertrand, >>> >>> On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis >

Re: [PATCH v2] x86/boot: Explain how discard_initial_images() works

2024-10-24 Thread Daniel P. Smith
On 10/24/24 12:03, Andrew Cooper wrote: discard_initial_images() only works because init_domheap_pages() with ps==pe is a no-op. In dom0_construct(), explaining the significance of setting the initrd length to 0, and put an explicit check in discard_initial_images(). No functional change. Sign

Re: [PATCH v2] x86/io-apic: fix directed EOI when using AMD-Vi interrupt remapping

2024-10-24 Thread Andrew Cooper
On 24/10/2024 4:48 pm, Roger Pau Monne wrote: > When using AMD-VI interrupt remapping the vector field in the IO-APIC RTE is > repurposed to contain part of the offset into the remapping table. Previous > to > 2ca9fbd739b8 Xen had logic so that the offset into the interrupt remapping > table woul

Re: [TEST_ARTIFACTS PATCH v1 1/1] build: add x86_64 xen artifacts (argo)

2024-10-24 Thread Stefano Stabellini
On Thu, 24 Oct 2024, victorm.l...@amd.com wrote: > From: Victor Lira > > Add container image build files: > - alpine/x86_64-build > - alpine/x86_64-rootfs > - Makefile > > Add CI configuration and jobs to produce binaries for xen tests: > - xen-argo Linux Xen Argo kernel module > - bzIm

[TEST_ARTIFACTS PATCH v1 1/1] build: add x86_64 xen artifacts (argo)

2024-10-24 Thread victorm.lira
From: Victor Lira Add container image build files: - alpine/x86_64-build - alpine/x86_64-rootfs - Makefile Add CI configuration and jobs to produce binaries for xen tests: - xen-argo Linux Xen Argo kernel module - bzImage Linux kernel - libargo Linux Argo shared libr

[TEST_ARTIFACTS PATCH v1 0/1] build: add x86_64 xen artifacts (argo)

2024-10-24 Thread victorm.lira
From: Victor Lira The current configuration of Xen CI generates test binaries using "export" jobs in every pipeline. This unecessarily uses a large amount of storage and network traffic because artifacts are duplicated over each project and branch that uses this configuration. Instead, use a sep

Re: [PATCH 2/5] x86/boot: Introduce bootstrap_unmap()

2024-10-24 Thread Daniel P. Smith
On 10/24/24 10:26, Andrew Cooper wrote: We're about to introduce alternative mapping functions, and passing NULL was always a slightly weird way to express unmap. Make an explicit unmap function, to avoid having two different valid ways of unmapping. No functional change. Signed-off-by: Andrew

Re: [XEN PATCH v1 5/6] CI: Refresh the Debian 12 cppcheck container

2024-10-24 Thread Stefano Stabellini
> heredocs for readability and use apt-get --no-install-recommends to > keep the size down. > > Changed the libpcre3-dev dependency to libpcre3, as the -dev package > is only needed for building, not for running. > > With the cleanups, the size of the container is reduced from 882MB to > 782MB.

Re: [XEN PATCH v1 3/6] CI: Refresh the Debian 12 arm64 container

2024-10-24 Thread Stefano Stabellini
On Thu, 24 Oct 2024, Javi Merino wrote: > Rework the container to use heredocs for readability and use apt-get > --no-install-recommends to keep the size down. Rename the job to > debian-12-arm64-* to follow the naming scheme of all the other CI jobs. > > This reduces the size of the debian:12-ar

Re: [PATCH 5/5] x86/boot: Drop the mbi and mod pointers in __start_xen()

2024-10-24 Thread Daniel P. Smith
On 10/24/24 10:26, Andrew Cooper wrote: We can't drop them fully yet, but we can limit their scope to almost nothing, which serves the same purpose. This removes the ability to accidentally reintroduce buggy uses of __va(mbi->mods_addr). No functional change. Signed-off-by: Andrew Cooper ---

Re: [PATCH v3 5/6] xen/arm: mpu: Enable MPU

2024-10-24 Thread Ayan Kumar Halder
Hi Julien, On 23/10/2024 17:30, Julien Grall wrote: On 23/10/2024 17:18, Julien Grall wrote: On 23/10/2024 17:13, Julien Grall wrote: On 23/10/2024 17:06, Ayan Kumar Halder wrote: Hi Luca/Julien, On 22/10/2024 17:31, Luca Fancellu wrote: Hi Julien, On 22 Oct 2024, at 14:13, Julien G

Re: [PATCH 3/6] xen: add new domctl get_changed_domain

2024-10-24 Thread Jürgen Groß
On 23.10.24 17:55, Daniel P. Smith wrote: On 10/23/24 09:10, Juergen Gross wrote: Add a new domctl sub-function to get data of a domain having changed state (this is needed by Xenstore). The returned state just contains the domid, the domain unique id, and some flags (existing, shutdown, dying)

Re: [PATCH v2 04/10] xen/arm: ffa: Fine granular call support

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 24 Oct 2024, at 10:15, Jens Wiklander wrote: > > On Wed, Oct 23, 2024 at 11:58 AM Jens Wiklander > wrote: >> >> Hi Bertrand, >> >> On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis >> wrote: >>> >>> Create a bitmap to store which feature is supported or not by the >>> firmware

[XEN PATCH v1 6/6] CI: Run the builds and tests that use the Debian 12 containers as a normal user

2024-10-24 Thread Javi Merino
Use FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR so that GitLab CI clones xen using the user in the image, instead of as root[0]. In qemu-smoke-dom0*.sh and qemu-alpine-x86_64.sh, use fakeroot to create the rootfs images that untar a tarball that create character devices. cpio replicates the block and ch

[XEN PATCH v1 2/6] CI: Refresh the Debian 12 x86_32 container

2024-10-24 Thread Javi Merino
Rework the container to be non-root, use heredocs for readability, and use apt-get --no-install-recommends to keep the size down. Rename the job to x86_32, to be consistent with XEN_TARGET_ARCH and the naming scheme of all the other CI jobs: ${VERSION}-${ARCH}-${BUILD_NAME} Remove build dependenc

[XEN PATCH v1 5/6] CI: Refresh the Debian 12 cppcheck container

2024-10-24 Thread Javi Merino
Rework the container to build and run cppcheck as a normal user. Use heredocs for readability and use apt-get --no-install-recommends to keep the size down. Changed the libpcre3-dev dependency to libpcre3, as the -dev package is only needed for building, not for running. With the cleanups, the s

Re: [PATCH v2 06/10] xen/arm: ffa: Use bit 15 convention for SPs

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 23 Oct 2024, at 15:15, Jens Wiklander wrote: > > Hi Bertrand, > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > wrote: >> >> Make use and required to have bit 15 convention respected by secure >> world (having bit 15 of IDs set for secure endpoints and non-set for >> non-s

Re: [PATCH v2 10/10] xen/arm: ffa: Add indirect message support

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis wrote: > > Add support for FFA_MSG_SEND2 to send indirect messages from a VM to a > secure partition. > > Signed-off-by: Bertrand Marquis > --- > Changes in v2: > - rebase > --- > xen/arch/arm/tee/ffa.c | 5 > xen/arch

Re: [PATCH v2 04/10] xen/arm: ffa: Fine granular call support

2024-10-24 Thread Jens Wiklander
On Wed, Oct 23, 2024 at 11:58 AM Jens Wiklander wrote: > > Hi Bertrand, > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > wrote: > > > > Create a bitmap to store which feature is supported or not by the > > firmware and use it to filter which calls are done to the firmware. > > > > While th

Re: [PATCH v2 07/10] xen/arm: ffa: Transmit RXTX buffers to the SPMC

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 23 Oct 2024, at 16:51, Jens Wiklander wrote: > > Hi Bertrand, > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > wrote: >> >> When an RXTX buffer is mapped by a VM transmit it to the SPMC when it >> supports RX_ACQUIRE. >> As a consequence of that, we must acquire the RX bu

Re: [PATCH v2 09/10] xen/arm: ffa: Remove per VM notif_enabled

2024-10-24 Thread Bertrand Marquis
Hi Jens, > On 24 Oct 2024, at 09:41, Jens Wiklander wrote: > > Hi Bertrand, > > On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis > wrote: >> >> Remove the per VM flag to store if notifications are enabled or not as >> the only case where they are not, if notifications are enabled globally, >

Re: [PATCH] tools/pvhsim: Inherit the tools debug= setting

2024-10-24 Thread Anthony PERARD
On Tue, Oct 22, 2024 at 05:25:00PM +0100, Andrew Cooper wrote: > diff --git a/tools/firmware/xen-dir/Makefile b/tools/firmware/xen-dir/Makefile > index 6f5e208ab413..e19916f76722 100644 > --- a/tools/firmware/xen-dir/Makefile > +++ b/tools/firmware/xen-dir/Makefile > @@ -1,4 +1,5 @@ > XEN_ROOT = $

[XEN PATCH v1 1/6] CI: Refresh the Debian 12 x86_64 container

2024-10-24 Thread Javi Merino
Rework the container to use heredocs for readability, and use apt-get --no-install-recommends to keep the size down. This reduces the size of the (uncompressed) container from 3.44GB to 1.67GB. Signed-off-by: Javi Merino --- automation/build/debian/12-x86_64.dockerfile | 68

Re: [PATCH v2 08/10] xen/arm: ffa: move message function into ffa_msg.c

2024-10-24 Thread Jens Wiklander
Hi Bertrand, On Wed, Oct 16, 2024 at 10:32 AM Bertrand Marquis wrote: > > Move the direct message handling function in its own source file and > rename it to have a ffa_ prefix. > This is a preparation to add support for indirect messages which will > go into this newly created source file. > > S