From patchwork Mon Jan 22 09:58:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Xu X-Patchwork-Id: 764966 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83E3E39AED; Mon, 22 Jan 2024 09:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705916789; cv=none; b=s8cGnAlsQA1Z50bYDe0vJGGb0gDxHP+6LzzKcSCoiqvtlODXrA1HALVai6l0VSfjeljwkYzFXVl2UYFkmhQ3arP8q/KP2PWaZf/+ubJN5pvvOikpc7JpA9nKMCocd74coN14Phb+ebxfzAHbrgRBo1B9ww1zCFDFKV67r8dbtKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705916789; c=relaxed/simple; bh=kFoL+9zp/dTTX50pqYzX7T84zq2k78C/Ufd09UECOX0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JmWOPMAYkdyeC8ZYjsMvwff+1u9QqMX+rjdYjKmxM/TNL7Sj2R4XViFxYEorxGb70ktkdhbDcFQrEcAv/kG06meeOkosK8R1hJ59ZSwDUb2ISWXetjB4tmRRoh7aHZT8BSescwF19/gVNyt3UeNTRW5V9L4725tcHIRvFfVxR4M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=N/YgmYXt; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="N/YgmYXt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705916788; x=1737452788; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kFoL+9zp/dTTX50pqYzX7T84zq2k78C/Ufd09UECOX0=; b=N/YgmYXtROas0PQ6ZRik6skDNwgXl8yPnyzSgnDWZICwwD8oAjBDxgC1 NeatkxFmVGBMk1qfs01sQ3+JGnSCglo051coZS94sfIQ6alOpp57Ug4zk UB5OAj2i9aph6Er2t8v/CDmd7Rai6m2ntjrKTyRHGAC8cSSKyC6k7tuG5 qiu3hkCSr8SB5wqhV5iB8xXurp/1EG8J5WPefJvPocFgT+4+2qu1kZTCY RnO1hRYGw5dEq/8xT5sbQxsdyTuSOlld3FKYsp76048xVbU6/j0048Dqe /FfuD5uUZ85u+aE2kOM52ptGFVLkPlCn/YYYOcmQVD3onBA23k0rz/QD+ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="22641757" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="22641757" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 01:46:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="778535411" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="778535411" Received: from haibo-optiplex-7090.sh.intel.com ([10.239.159.132]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2024 01:46:17 -0800 From: Haibo Xu To: Cc: xiaobo55x@gmail.com, ajones@ventanamicro.com, Haibo Xu , 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 , Mayuresh Chitale , Conor Dooley , Minda Chen , Samuel Holland , Jisheng Zhang , Sean Christopherson , Like Xu , Peter Xu , Vipin Sharma , Aaron Lewis , Maciej Wieczor-Retman , Thomas Huth , 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 v5 05/12] KVM: selftests: Add CONFIG_64BIT definition for the build Date: Mon, 22 Jan 2024 17:58:35 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Reviewed-by: Andrew Jones --- 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 87f0f76ea639..a18d18994fe8 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -215,7 +215,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 -MP \ + -Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \ -fno-builtin-memcmp -fno-builtin-memcpy -fno-builtin-memset \ -fno-builtin-strnlen \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \