Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4513891rdb; Tue, 12 Dec 2023 01:20:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGf+i8vd3K/O/48jpeVqoTB4+qORtcvCzWaXup5pxX3j9LvM9+nU0t4HPmh+2e+0HGBCAIy X-Received: by 2002:a05:6a21:3298:b0:18f:97c:926b with SMTP id yt24-20020a056a21329800b0018f097c926bmr3301611pzb.80.1702372830727; Tue, 12 Dec 2023 01:20:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702372830; cv=none; d=google.com; s=arc-20160816; b=ZVH3L0hEiO1W8A7qwQIwJZH73pI3TIUB04Z8sPt+eOPjVnohsNIS5s7Z1b9ObG/JUC JkaGdNrR1UtT4UDA92J+M7IhTYszXPWoc4gaRRk5MJwhFO/JBTU0CedR5x/z+u/vNqVb ZTZ4tXayFfjWsCML4VPZELduUk6mY8Jt14eoLpkyiFnU6GA2+G2nzXp+8riYfx+5OpZj mQHnrSXsfmpHQBtFE6MvTmI7/YYQMNS0iCQZlOLrmeriLrZrne0VNzhwuSjnNFzH3VwT q9KSrjL+jx4AB/D/7ts3EfxxRbk979uACRTGtmI4O+VHR0KsdIT3AENE76A5l4MuM40V +FtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=7IXGo2sEn0jpLwRysay1jfjOws431dtGPKOAlkAji7Y=; fh=EiCy83k7wjrfoBSKjJarbB5UHEoR0D/hzng5LiVRnVc=; b=hzYmFaVucRoX3kiOrhPPVNizNyIOAXFrH9/K1rFTNHg7KNvUN00czVAB+mlQVyPDV4 5tFDpr7lPOY9Bccfn53k+Jg3o1q8WujTMzZIYjDyTTKbfVm7FHonGcx2bMqtaP8fO0Vv EfD3z+P9inzCrwYGoxXJqGZsnxorZ6jixG7d6r9zuPBbqEmNNPwDWcU9bnc5I6WCCLGQ bkyy9DD61/FxS3rI+X5WgteZM2PADQX8nOSd9cYWooxTzfkx/CSR6kjcHldrN8nhSKww 9p6AJv0WHUonrU4zPsIbAsT7KMKvvF3163tW7CHzSFu8zQh5j0ZMgIHmFQnfn11P+n/F S7DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=j4MVVJgZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id pi9-20020a17090b1e4900b00286a07a20b0si7692685pjb.86.2023.12.12.01.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 01:20:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=j4MVVJgZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 04EC08056C59; Tue, 12 Dec 2023 01:20:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346283AbjLLJT5 (ORCPT + 99 others); Tue, 12 Dec 2023 04:19:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346268AbjLLJTu (ORCPT ); Tue, 12 Dec 2023 04:19:50 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EF8BC7; Tue, 12 Dec 2023 01:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702372796; x=1733908796; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KElv1O/IUdorWxDjj22wZ5Qh+UzhUxPzqiNhHcqI9y4=; b=j4MVVJgZOk/pnD5P5xW6U7ruBsD/u2uUnIF0bSc94wGFd1cEshcp08/n O3yO3qpJrdxQ9Ufs2pHOJs3uLu0uDWG0aBhbQnQtSMxm90mZLUYt9Gd4I LQs+ANkDMyTLT+hPNh2YalgKHUAMpPSTgVP9wfUXpAHE/nxWDlYgKOgaX DFUQO/0iV8mmjeuQ+rKRejL1GtOHVzQvYD/DqMz5oMXA45DHJnFAU/RfR pnU2KhXTDnie+GoOs/RZ2Znpi92lP4+wv6YbroEGNSHhLN5+EqkskTlpS yIhrr/rHdo7pY1JvAsLJKH2gXuxk7iRrENJyu6nV/WIlo84LCgOKiP/qm g==; X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="480974227" X-IronPort-AV: E=Sophos;i="6.04,269,1695711600"; d="scan'208";a="480974227" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 01:19:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="917212936" X-IronPort-AV: E=Sophos;i="6.04,269,1695711600"; d="scan'208";a="917212936" Received: from haibo-optiplex-7090.sh.intel.com ([10.239.159.132]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 01:19:48 -0800 From: Haibo Xu Cc: xiaobo55x@gmail.com, haibo1.xu@intel.com, ajones@ventanamicro.com, Paul Walmsley , Palmer Dabbelt , Albert Ou , Paolo Bonzini , Shuah Khan , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Anup Patel , Atish Patra , Guo Ren , Conor Dooley , Mayuresh Chitale , Greentime Hu , wchen , Jisheng Zhang , Samuel Holland , Minda Chen , Sean Christopherson , Like Xu , Peter Xu , Vipin Sharma , Thomas Huth , Aaron Lewis , Maciej Wieczor-Retman , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org Subject: [PATCH v4 03/11] KVM: selftests: Add CONFIG_64BIT definition for the build Date: Tue, 12 Dec 2023 17:31:12 +0800 Message-Id: <227b86955b24583b5cacedc8480e8f5d7e4fabf8.1702371136.git.haibo1.xu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Dec 2023 01:20:28 -0800 (PST) Since only 64bit KVM selftests were supported on all architectures, add the CONFIG_64BIT definition in kvm/Makefile to ensure only 64bit definitions were available in the corresponding included files. Suggested-by: Andrew Jones Signed-off-by: Haibo Xu --- tools/testing/selftests/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 4838ea899bbb..bb03e278a163 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -225,7 +225,7 @@ else LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include endif CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ - -Wno-gnu-variable-sized-type-not-at-end -MD\ + -Wno-gnu-variable-sized-type-not-at-end -MD -DCONFIG_64BIT \ -fno-builtin-memcmp -fno-builtin-memcpy -fno-builtin-memset \ -fno-builtin-strnlen \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ -- 2.34.1