Message ID | 20230127114108.10025-22-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4474EC54EAA for <linux-arm-kernel@archiver.kernel.org>; Fri, 27 Jan 2023 12:37:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0K37TbC85iR9L7pEyQo96HWXRHH8elC6wCYs6WoX6TE=; b=RgbU/FsR+lJzuA 0a4BbDh9flvFgBGIojhmv2J/Uwq352dfxswPzkdPtc62izSgHFsAvuQGPHsNmiO+ZlEflIOzy0XZD mBL/AqiYU8xxVaGlyKjHXwCtwYeDcL2HwqBpTB9U3ABvUJ23TmJYemgVwzW665BVWiV9ic65nwpBw WkepelMT8+1BKxXIlSuB6wj+GRhgaoiZt+k89jrxKNHEiXO/k0FpG3VDINZleAVsJTf/CqqI9aSdt 0OqMfPv0KUKZHvdeEFAnH7AJKvltCnQvqJxlwmgU0IEQKlHxggwIWQoG60xHgcxrRfH6wIGv24Vsl WRk0BA4rt8zjgV1vO+Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLNxT-00EbFv-8Y; Fri, 27 Jan 2023 12:35:56 +0000 Received: from mail-am0eur02on2047.outbound.protection.outlook.com ([40.107.247.47] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLN8v-00EEaQ-VF for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 11:43:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IUevxZg1UcpjeMjHy2JelqYsn9dKIor7hu3sqpFhgSU=; b=F64np7L4+bDEloIPHFej39lAO0BGHOjRFa7kho6aZaq8WgygQ3x+UwmYR8wAilzbuKHS6GZbkAAZjS5ivlDvul2yhCIUN/pOstmbgVijrZPrRvGnzuHOlcl/KH8QXGqx3pQN2h5BCSfV2nJiS62zgpL9aklmfwnQD0qIhuwdpS4= Received: from DB6PR07CA0002.eurprd07.prod.outlook.com (2603:10a6:6:2d::12) by AS8PR08MB8183.eurprd08.prod.outlook.com (2603:10a6:20b:560::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.23; Fri, 27 Jan 2023 11:43:26 +0000 Received: from DBAEUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::7) by DB6PR07CA0002.outlook.office365.com (2603:10a6:6:2d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22 via Frontend Transport; Fri, 27 Jan 2023 11:43:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT022.mail.protection.outlook.com (100.127.142.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.21 via Frontend Transport; Fri, 27 Jan 2023 11:43:26 +0000 Received: ("Tessian outbound 43b0faad5a68:v132"); Fri, 27 Jan 2023 11:43:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 328f40782be5ee90 X-CR-MTA-TID: 64aa7808 Received: from a446c2399be5.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2356810A-096C-4C8B-9DC8-612C047184FD.1; Fri, 27 Jan 2023 11:43:19 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a446c2399be5.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 27 Jan 2023 11:43:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOPePCEXhhynwWV/BAlesTuY2yvHTH57WvYqiQh8DaUfc0UHcObtA+1M/uPshV+ConiYe46kRqgfIQdz8UlUoUtDCuFenuwliSImXQYM3t4v/0IIzGhoArxwycFc+PUzxEWeppL5VApCK9rWn4Ae66GkhqABUyE+tGrypNidoruWBw7YcNO0FVE6Uvuiv8GYF0Q7WvZatDfwZSl024ATlshJkPccyWWot1Cf06kM6C82nFkpePbAGQe7rua50vd0XxGZLe1F3Jeh8bLPhX1YXRjpwnpALIFLgBuAuzlVxgwgypaHDKdYAKy8QUEJNhtXPtNrGvkYurvwzpwCfsyOmg== 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=IUevxZg1UcpjeMjHy2JelqYsn9dKIor7hu3sqpFhgSU=; b=jQU1ahQlo4Ke6Pb2xZEZdR+BCyictohj9pUSJ/a4AF3eH1Qpv5S3d1RMNeWGu5IMMRwUmHsN5rkbRDBi73zmmY6ltXVb+lw3l/hTSCARDOlPjQ/FVNTqFis1sHz/DrUGctajxfwhQ7UvAipEFZa30oCt9ZubfrBLI3f3Mb17amCJKxbzo2BEzHiFFd8QZEx6wNIoL5lHNtcp/Ps29bSbs++H4cQqWWMwpi/GN+CcFDkzTT7mNgQdMswrjU3xaB7BUPRHYcODt2qi4ephmtPHZh5oWp19osj4pl4LbbJoYObRubhT5rx4Bn9PNllgZUrHahyN4StYhhJUaWY92TnasA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=linux.dev smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IUevxZg1UcpjeMjHy2JelqYsn9dKIor7hu3sqpFhgSU=; b=F64np7L4+bDEloIPHFej39lAO0BGHOjRFa7kho6aZaq8WgygQ3x+UwmYR8wAilzbuKHS6GZbkAAZjS5ivlDvul2yhCIUN/pOstmbgVijrZPrRvGnzuHOlcl/KH8QXGqx3pQN2h5BCSfV2nJiS62zgpL9aklmfwnQD0qIhuwdpS4= Received: from AM6PR10CA0103.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::44) by AS2PR08MB9295.eurprd08.prod.outlook.com (2603:10a6:20b:599::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.23; Fri, 27 Jan 2023 11:43:16 +0000 Received: from AM7EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8c:cafe::4d) by AM6PR10CA0103.outlook.office365.com (2603:10a6:209:8c::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.23 via Frontend Transport; Fri, 27 Jan 2023 11:43:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT059.mail.protection.outlook.com (100.127.140.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6043.22 via Frontend Transport; Fri, 27 Jan 2023 11:43:15 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 27 Jan 2023 11:43:14 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Fri, 27 Jan 2023 11:43:09 +0000 From: Joey Gouly <joey.gouly@arm.com> To: Andrew Jones <andrew.jones@linux.dev>, <kvmarm@lists.linux.dev>, <kvm@vger.kernel.org> CC: <joey.gouly@arm.com>, Alexandru Elisei <alexandru.elisei@arm.com>, Christoffer Dall <christoffer.dall@arm.com>, Fuad Tabba <tabba@google.com>, Jean-Philippe Brucker <jean-philippe@linaro.org>, Joey Gouly <Joey.Gouly@arm.com>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Oliver Upton <oliver.upton@linux.dev>, Paolo Bonzini <pbonzini@redhat.com>, Quentin Perret <qperret@google.com>, Steven Price <steven.price@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, "Thomas Huth" <thuth@redhat.com>, Will Deacon <will@kernel.org>, Zenghui Yu <yuzenghui@huawei.com>, <linux-coco@lists.linux.dev>, <kvmarm@lists.cs.columbia.edu>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [RFC kvm-unit-tests 21/27] arm: Add build steps for QCBOR library Date: Fri, 27 Jan 2023 11:41:02 +0000 Message-ID: <20230127114108.10025-22-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230127114108.10025-1-joey.gouly@arm.com> References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20230127114108.10025-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT059:EE_|AS2PR08MB9295:EE_|DBAEUR03FT022:EE_|AS8PR08MB8183:EE_ X-MS-Office365-Filtering-Correlation-Id: ecf6ed8d-9917-493c-bc2d-08db005bb403 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6Pb/yAI+dMoySgWPV1ESXU1C2voGE4GuzhZPXTv6ithvZsU/Gtm10HiNA08QRjRA6wUyqBAFXOCL1LB4L+faNiVe/vtaW6OEkJQ2JAKBgZ2GhqisIHcHYXzQ+mrCZ7aK+VpQj0CU4mvEBO6y91YiCcDq4DbBHyGYX7/RQmOED4lnudve+LTBViSkrDmP1QioCSvmw8ZVHGwXUZ+/HvbzPUr++y6k+2cCXiP/GAvoGqPxaNwOtJ59NQE+fwoqbTuGEMHYF1BOoI8fJyJAFpVP8zmczAccPfJy9/dr7ZnTZFP3iCIDRwgsLtOstauOMy+G2HVmTllEDiKwgRHAnO8uFyVaUwYk8WkoggSqGkdip20c7CTkiLeT+mN7zyqgMNE3cEbqwQetVdwct3cbSF9+dFcIYxfGSL6AM1CBv3Jr5JHNM8j7BIwdIY/Q7pLWrooDAqpE1Nx/qYC4lFMuK/EaThGS4oPske/9kClCF7pcK7EUPPhQdiWOAJeUBPvVlRXeJHc3pwkpg3DALzf2yMo4twx4elkJ+qyToa2zGaPbky/o0i07JPT1u1GyxqHlHNg+mTq2yAy9IHsKPVZ3YaJwq/CYkjPd8TUlxveyD13aWXoU6ngN5H1EE1Xp4eH6k52J2YSP8V8U4H2DWQjT+5xePZzao2hE5wEiXhAQQ3UHwUwkre2/AVUlymtdbAYwfOgxhmEQG41v/7QjudMwMqjuQtk+kc4awzIdwJEw9H3EM6Dfygyvx7QDoUemqqYntlH3 X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(346002)(136003)(396003)(39860400002)(376002)(451199018)(46966006)(40470700004)(36840700001)(2906002)(44832011)(336012)(36860700001)(426003)(5660300002)(8936002)(41300700001)(7416002)(478600001)(2616005)(8676002)(26005)(4326008)(186003)(1076003)(6666004)(356005)(86362001)(40480700001)(81166007)(82740400003)(47076005)(83380400001)(40460700003)(70206006)(70586007)(7696005)(54906003)(316002)(110136005)(36756003)(82310400005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9295 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ffcf11f7-c067-4ec1-9755-08db005bad9e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j188q54yKSBaU7RLjRjqzpF+9sWRs9dvw5s+3yd7K9TtXUBi3mZmOJUp9EnI6Re/VEqtEiNkwIgX0U3yiQ2IRsZBrTcq1dA5GJRAWMVMjsiLuyqguMHlHYETg+d3VyH3G1WgexCbeKCEdNcZQtatLGIr1S0SgjM/43PAmzfDWLsG4oOJ0FPD4mXEBkigqHxWW9WdHJnR3knnekEn1xacXqTtpAgE7hML/lTAl+rX2EbRBvtjxUis9Hr8salX9SMxDBegqtMvcMXv0UdMZ/F7KicZwlht9XvjdlYlZQ/uFUhP84kf0CK6SPKdJu4B/feLUq79XXOG9/t0ij1Bec5FLe17mfYCl5dFau5wBZlzvYyVVfXJzaQy/V9gHLiMB30uwrqjrw2hW21PG8umI6E6dF2rP2RcSrcz1rBJWyVliT3+gaf3f7oVtTfJYNsDWrsGbtYw46+Jpp4T1bg0/Gh2o2e8lmjYrTGHUiJIa/UtufPNAB8c5lSUnI7XDhsQVmY6NXf+4dp9IGF/N1S7rIt4fXDdr/RaXo5uFD90Ay4hTEO+AYroDm15UBL3f08y8256NJfuGU6jwFZDlVQQiXV//b9VwsIQP2pVoUyryF55ntQQAZsSSgeYva+P6TFqbV/wlifx9hn7Z0QgCbx66KiQTCMz3JfuwXU/NEMxpSjosn+YmHDxGon/XLSTBUN3WkZzwi4Owt2QaHeKrhH2GeUgGvpGzxP6WsPAie/XdUG+frU= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(376002)(136003)(451199018)(46966006)(40470700004)(36840700001)(2906002)(44832011)(36756003)(40480700001)(426003)(47076005)(54906003)(6666004)(83380400001)(110136005)(82310400005)(107886003)(7696005)(26005)(70586007)(1076003)(336012)(478600001)(2616005)(186003)(86362001)(70206006)(8676002)(316002)(81166007)(8936002)(4326008)(41300700001)(5660300002)(36860700001)(82740400003)(40460700003)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2023 11:43:26.5224 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ecf6ed8d-9917-493c-bc2d-08db005bb403 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_034342_071953_08B57625 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[RFC,kvm-unit-tests,01/27] lib/string: include stddef.h for size_t
|
expand
|
diff --git a/arm/Makefile.arm64 b/arm/Makefile.arm64 index 8448af36..8d450de9 100644 --- a/arm/Makefile.arm64 +++ b/arm/Makefile.arm64 @@ -9,6 +9,8 @@ ldarch = elf64-littleaarch64 arch_LDFLAGS = -pie -n arch_LDFLAGS += -z notext CFLAGS += -mstrict-align +CFLAGS += -I $(SRCDIR)/lib/qcbor/inc +CFLAGS += -DQCBOR_DISABLE_FLOAT_HW_USE -DQCBOR_DISABLE_PREFERRED_FLOAT -DUSEFULBUF_DISABLE_ALL_FLOAT mno_outline_atomics := $(call cc-option, -mno-outline-atomics, "") CFLAGS += $(mno_outline_atomics) @@ -25,6 +27,7 @@ cflatobjs += lib/arm64/processor.o cflatobjs += lib/arm64/spinlock.o cflatobjs += lib/arm64/gic-v3-its.o lib/arm64/gic-v3-its-cmd.o cflatobjs += lib/arm64/rsi.o +cflatobjs += lib/qcbor/src/qcbor_decode.o lib/qcbor/src/UsefulBuf.o OBJDIRS += lib/arm64 @@ -40,4 +43,5 @@ tests += $(TEST_DIR)/realm-sea.flat include $(SRCDIR)/$(TEST_DIR)/Makefile.common arch_clean: arm_clean - $(RM) lib/arm64/.*.d + $(RM) lib/arm64/.*.d \ + lib/qcbor/src/.*.d