From patchwork Fri Nov 29 01:49:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Babchuk X-Patchwork-Id: 13888394 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77245D70E05 for ; Fri, 29 Nov 2024 01:49:37 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.845651.1261042 (Exim 4.92) (envelope-from ) id 1tGq8O-0005Yv-5R; Fri, 29 Nov 2024 01:49:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 845651.1261042; Fri, 29 Nov 2024 01:49:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tGq8O-0005Ye-1T; Fri, 29 Nov 2024 01:49:28 +0000 Received: by outflank-mailman (input) for mailman id 845651; Fri, 29 Nov 2024 01:49:26 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tGq8M-0004ZT-3F for xen-devel@lists.xenproject.org; Fri, 29 Nov 2024 01:49:26 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2061e.outbound.protection.outlook.com [2a01:111:f403:2614::61e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 288545b5-adf4-11ef-a0cf-8be0dac302b0; Fri, 29 Nov 2024 02:49:23 +0100 (CET) Received: from GV1PR03MB10456.eurprd03.prod.outlook.com (2603:10a6:150:16a::21) by PAVPR03MB8923.eurprd03.prod.outlook.com (2603:10a6:102:32c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.14; Fri, 29 Nov 2024 01:49:13 +0000 Received: from GV1PR03MB10456.eurprd03.prod.outlook.com ([fe80::a41e:5aa8:e298:757e]) by GV1PR03MB10456.eurprd03.prod.outlook.com ([fe80::a41e:5aa8:e298:757e%7]) with mapi id 15.20.8182.018; Fri, 29 Nov 2024 01:49:13 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 288545b5-adf4-11ef-a0cf-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjJhMDE6MTExOmY0MDM6MjYxNDo6NjFlIiwiaGVsbyI6IkVVUjA1LURCOC1vYmUub3V0Ym91bmQucHJvdGVjdGlvbi5vdXRsb29rLmNvbSJ9 X-Custom-Transaction: eyJpZCI6IjI4ODU0NWI1LWFkZjQtMTFlZi1hMGNmLThiZTBkYWMzMDJiMCIsInRzIjoxNzMyODQ0OTYzLjYzOTA2OSwic2VuZGVyIjoidm9sb2R5bXlyX2JhYmNodWtAZXBhbS5jb20iLCJyZWNpcGllbnQiOiJ4ZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcifQ== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oh6dRaKR+VQMAflkQkxW2DNMvqXPAMFLySxJ5CEFq4wgJPtg3hS4mWWJyl5oYGgdpNzznmBbxN7lzG+1KKOPQqkMhemxb5q6BkvPjcHPvDyGeEwesTCSUw/BGItx5WO+uWhfl3Gdlh5yIKDgKFCelBQwrBWBrJ7Yy7Uf6lQuLHkErU7eWAGw4WxJZWXSprXnk2Xs+Cp8xwwEH1A40xU0EHuQLGV6AhG77tbOSzHz5708SgOlw9bUrPx6tPTLm/3UtXwjx5Aw4ewRA5+n+xbAIt0/WNHjfo5w1sxfvdXArIJQteE73q17JqGhClKrgyqTEkvVmiNahc4HiASz1lVk3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=zPCV0KRt10rVJH/0K9SWhiiyCsf6ZgnkvvhOIytXR7E=; b=PzWzCOu1lP3pwQPSWNOV8sAui4i8AkF7t6AqSvvDKErogzBq3p7PGXa39Pp93fUd30PjKM1jecEwnin0ncOWd4u6W9pwqV1i8g/T1tsaXda9pwd9AePeso/LDwbSqtTNkAgdVs1zAODYtzKe+Y1HxaXUDwQvzggepZ9MACBW73ULu7cXmC3Gyvljl0ys7cCIe9ZRMS9KalYGCM8t3mt4BtqTSImBNPqVldC8DxQm7cS8481E+siB8VezSKFpVZJFQ0hfiSQWLLt4rKdGocXZI08jc8f5pAxSWrIpsP9JuUMQ6C2BV/GzS82gbyuSrBwLakzY1sKEioIotnmv4+WgKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zPCV0KRt10rVJH/0K9SWhiiyCsf6ZgnkvvhOIytXR7E=; b=YMYb/U8Lywm4S0IKT4zxkwwIdatE016Q2JOV7K2mfu9AQfmx08EbhRfvPvF69YNsB0TbwBlWe52WzGXd4ZMOPXnQJ1tm1JpNTW1DFWgv5A74hbmLvR7sG6VvNlDr6eIJ9kR66eyjXHJk4P75OcnDqjAjARL+Ny44eRlXLOi9WnFqe8+cUfWPJPPyPIo92BxSGdMzLkq2cl3lPWri/G61Sn24I3WoPtnqu+6KsVmaMpwRUP8xqgJ+PgeckFuTt0deiGZ9j7S7phNmI2QTIg2qZS9GrQ8UHmPLOLNtjBpr+7wRbqKvDcqmJzcKNvovHjepQTPssB919s8I3fTezldFIg== From: Volodymyr Babchuk To: "xen-devel@lists.xenproject.org" CC: Volodymyr Babchuk , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk Subject: [PATCH 5/5] xen: arm64: remove -mgeneral-regs-only for vfp.c Thread-Topic: [PATCH 5/5] xen: arm64: remove -mgeneral-regs-only for vfp.c Thread-Index: AQHbQgDiyfh8gYRhRECvxQLXM9bgDQ== Date: Fri, 29 Nov 2024 01:49:10 +0000 Message-ID: <20241129014850.2852844-6-volodymyr_babchuk@epam.com> References: <20241129014850.2852844-1-volodymyr_babchuk@epam.com> In-Reply-To: <20241129014850.2852844-1-volodymyr_babchuk@epam.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.47.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GV1PR03MB10456:EE_|PAVPR03MB8923:EE_ x-ms-office365-filtering-correlation-id: 5dca9183-548e-41cd-3b79-08dd101806f0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?oSKJ4V0XfCqexXOFqRrCYyCNTJ?= =?iso-8859-1?q?U9YxCWuIZPzBefNSE2ir3DFuH/FsMtiZktV6eOg8pK75uJVFfqsKWfVP4nvw?= =?iso-8859-1?q?TQqC79XYzAB+VbUPQPi3PjTml/H/C7cgzD2+DxbmlX8osg3qQoG83UE/658w?= =?iso-8859-1?q?dvRmxf/Sq4Ep6OIBKO/rs1AO2WNLPqM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wKDE932VjM8?= =?iso-8859-1?q?woKUSaEReyhysQRvesNuwIfqzzgZNv9Bp1SW6beWRG8YmOcgZkOnEj807xUB?= =?iso-8859-1?q?BoxuKaraJ8V+S1rRjuVd/ZGSXlp7575VEk6JGIhSrKUNF7rkrW4E2TwxTGv/?= =?iso-8859-1?q?dTEgkvniFMRsdWZRUMUynfRUUMOC8IL90lrFaSKff0Riw6QdXZLA1CpG3YQo?= =?iso-8859-1?q?oPVxAvE345tGO6+ERcZ7uRV5FVBKQnGjwDltxkesd+5AMfPXoipQYhulEfh9?= =?iso-8859-1?q?G+eRZ1ekRnl3AWVZWcmTBH5wW4fEjF4KrsQW6oAs/CCZuIMARnCSWWnxA1WF?= =?iso-8859-1?q?qibfqic/r7DWOxyCA3/KTNuwMMIEU45hK+MHsRlWGPrJG8jIbrwOc7uuLHdX?= =?iso-8859-1?q?1XTRMwMl3Q5w+oPa6EoPoaPQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV1PR03MB10456.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?PXoL8CCVdolB76JtMkNI/R0?= =?iso-8859-1?q?wsNOPw7ta9AWl/CBZazr9y+ivnOvWD1IoGZSO8rPm8JF2jRKhBtfbE/DtJFp?= =?iso-8859-1?q?S4nW/b6TjKiH/kwuN2IqSnuUCqS/XNmfQVzgpn9T9eZFzZfWrc709dxMpuCv?= =?iso-8859-1?q?N3eImoLUKiUuFmxo8BQgSiYJc5oEfT8cSRCzK5YqUcZhG6ZEMS74963NQjZz?= =?iso-8859-1?q?zwUMiYza1oACL6u2+scNyTmYVC6NMxC+b3EZCazusYQJfYS9FzP4QJTs3RPa?= =?iso-8859-1?q?wm4HZNvD55pVZYc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JSZWeiAUI+f2VQWQ8m6wYYytRtlrRjj0p?= =?iso-8859-1?q?6f/eDz57PO0GIfwhln1zOAY4bH5nclFeLM+VlU6GWOF2hvwJczc3VN0Mg+XN?= =?iso-8859-1?q?zkmmg9d9OowUNdS43CIYaJ1I9RWpEJqggB/Om9i+mwndPPej5Dh280Oe0+xp?= =?iso-8859-1?q?XfwjsCMzM53zp+f0Yi9VVu6VWbDzpES2LLKqZHVfxLVjbSP8/zBBdCCVJ7l/?= =?iso-8859-1?q?iGMidY4gP+2n4X4o0l6CQdmeWcytZRtzjYJ8t8OehP8QevvBEWlszhG0Q1QT?= =?iso-8859-1?q?pCW3gysZLNqNsNjy3uRTyHj6+JxtwH7UZ/bU9U0t27usiuG600oiA3Z4ZgBB?= =?iso-8859-1?q?or+t65PuIFQM1S8EMLnHsx9C+4k5YGa2AgqZGVrIY2RPp6wigdYQOxClRlCE?= =?iso-8859-1?q?Z8PShnhjP/6lzzykuOVqbE8VQKwpOGzf2NlI/muuV7BhjNnp3hJg8lsKqjIz?= =?iso-8859-1?q?MfMxQ7G0UXeZFBIg24Qoy761wtkWzZNa8I5mIzg=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV1PR03MB10456.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5dca9183-548e-41cd-3b79-08dd101806f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 01:49:10.8252 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7D1XuYr1mQz4162UXjc0dXa7upQX9aqEOsXKqD6iPkxFPBkOPNzz2W1My0h89TdF/eAPaIW2fDLz+F+7PcBDSBMizvbacok8vqwK2iVPfpw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR03MB8923 vfp.c actually accesses VFP registers, so it can't be built with -mgeneral-regs-only flag when using clang, as clang will complain about this: arch/arm/arm64/vfp.c:9:18: error: instruction requires: fp-armv8 9 | asm volatile("stp q0, q1, [%1, #16 * 0]\n\t" | Signed-off-by: Volodymyr Babchuk --- xen/arch/arm/arm64/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/arm/arm64/Makefile b/xen/arch/arm/arm64/Makefile index 6491c5350b..af949b8ee6 100644 --- a/xen/arch/arm/arm64/Makefile +++ b/xen/arch/arm/arm64/Makefile @@ -18,3 +18,5 @@ obj-$(CONFIG_ARM64_SVE) += sve.o sve-asm.o obj-y += traps.o obj-y += vfp.o obj-y += vsysreg.o + +$(obj)/vfp.o: CFLAGS_REMOVE += -mgeneral-regs-only