mbox series

[0/3] xen/arm: fix build errors with -Og

Message ID 20230414185714.292881-1-stewart.hildebrand@amd.com (mailing list archive)
Headers show
Series xen/arm: fix build errors with -Og | expand

Message

Stewart Hildebrand April 14, 2023, 6:57 p.m. UTC
This is a collection of fixes needed to build the hypervisor with -Og for arm64.

I build-tested this with the following command:

make -j $(nproc) \
    EXTRA_CFLAGS_XEN_CORE="-Og" \
    XEN_TARGET_ARCH=arm64 \
    CROSS_COMPILE=aarch64-none-linux-gnu- \
    dist-xen


Stewart Hildebrand (3):
  xen/arm: mark __guest_cmpxchg always_inline
  xen/efi: fix unitialized use warning
  xen/arm: fix unitialized use warning

 xen/arch/arm/domain_build.c              |  2 +-
 xen/arch/arm/include/asm/guest_atomics.h | 10 +++++-----
 xen/common/efi/boot.c                    |  9 +++++++++
 3 files changed, 15 insertions(+), 6 deletions(-)

Comments

Julien Grall April 19, 2023, 6:29 p.m. UTC | #1
Hi Stewart,

On 14/04/2023 19:57, Stewart Hildebrand wrote:
> This is a collection of fixes needed to build the hypervisor with -Og for arm64.
> 
> I build-tested this with the following command:
> 
> make -j $(nproc) \
>      EXTRA_CFLAGS_XEN_CORE="-Og" \
>      XEN_TARGET_ARCH=arm64 \
>      CROSS_COMPILE=aarch64-none-linux-gnu- \
>      dist-xen
> 
> 
> Stewart Hildebrand (3):
>    xen/arm: mark __guest_cmpxchg always_inline
>    xen/efi: fix unitialized use warning
>    xen/arm: fix unitialized use warning

I have committed patch #1 and #3. Jan already committed patch #2.

Thanks,