[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Fri, 14 Apr 2023 14:57:11 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9aUhBbT3JP8LmVuEIaDIRl2xT4DCvnOTPAPCN1AMiXg=; b=NfXLuFZlxzDgTjaMQPeu7y1iSi3ARY9jKvZgKwW/p6JzGKpYg9Al0oSGOsvqOtX9GNqgLCY2X+/rNalBTTyh+/bvd3APEHVbtlXzcoSWc10QrW3cZgwfgthExHMsjc2LFdsTcCD3p176tVqUUKr0g2yxWgZQ/qOiuWf2J2tB52d+MM6FZ6PwR7smgec8brM0R/WG2z616euTuCSW8y+aGA8Gz8GJK966RbUk7dsP4sofS/kOqepyw6uq+HZTzqI/WGYg35a5Wt1y3Sp6f/C5yrLOOiEPTeFTCNqvgngFFey3niUoulb4gRNXrYd7TEWHO6xzCgEmgZTOsRpZ30k/Fw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jo4FIzpxPgNZ1XanipsY1GEBnOSLUWDAEhh97vvlXlmbf1j5WK7XmyMtqzEmueEid1dPUG00no7Pa7uOt9ABqrxZqvwVsoIUYdAxuH1oURdX8DlVDgVlBCZzUHm857cBef7Rx3ePy2b/QbhidfdcPFJvJ1VeFEimmoM9QAhYugMN0X7Gx//UlP0cFYIWgqAkDTSX570UpDvNBx+5zqPThsVMG+ZsoKX/mjq5otMkG2UUCkDVny0TMvDFlqLtGyHeOwo4AyJK0Nwp5WdSSQ7W72WoyP7i7Oqs7poznMhcy7lC49ThUsXH6NXEbiD/aomVDhKjN30UEjMQO7v5CuvdHQ==
  • Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Fri, 14 Apr 2023 18:58:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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(-)

-- 
2.40.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.