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: 190025 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2474071dyb; Mon, 22 Jan 2024 02:09:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFm1GOrp4OcEB1KTsDkdD8JMgvKSsv4L+A1dqwzGSFSeP6f6J6nR8MvpZR4il+jbgIzzyou X-Received: by 2002:a92:c890:0:b0:361:a21d:d492 with SMTP id w16-20020a92c890000000b00361a21dd492mr5622694ilo.24.1705918147111; Mon, 22 Jan 2024 02:09:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705918147; cv=pass; d=google.com; s=arc-20160816; b=e+PehAc8rurdLvDiuHrhphnPKly96/fK/GZc3ZNwFN80/ZeAwE3ma16mBjHMWIgp5T 6HaoAehXVDRBHnIqt7z9lFVuzQggtXW6OVaVC0PoV6iJiS5jKPGI7RAIzfbEdOgj6KmP i4QRNj9di4vMKBpkyOhKQg2g1Jnl7WPeU3Uu4mI/5CgqhjyY2ER5NZDUOLmRslJzHX+h EqAQqcYXNND1mtFtua1sXsIKK10c9J7hvS6sSrOyt3M/BjyCLfWBiXQG+Ih0bwTmEYt5 M+Cl3mMWYZYu07eY69TcFHX1F5sY9kaL4J7BY1b6fqR0p5gXk9hhLpD50I6JIexWSnon MpaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=D/4a3a7P6zT5BWohwrFC9jXudwiyKC9IPfQbee2rG1Y=; fh=4HcPtU75Bp2j+Y9PkzQ1xLWwxMtjZbtEhtL3hGycRGI=; b=Lf9vOJJ0aQ9vYgEs4mGs6GP4393O+ZPu6qoT3bvFf5y94LdzHA0a8xhvYzCUI/P36B BBhEs97qlmDSLJxJljkO3Uobw1vcWdD7s2MK4tKHeHzDO1MGGFsnxwiyMb8BHBWU7PrA XqO+0vQ6bMNEhuvFHUE8NEGPtphda64uPtywjOfQRYjQK9DIs3t9p658QfLkGwhUAbyR wsKWNvzSPUMQQ9bhac2+iz/4NrEyWvVx4RbD74chyo0f7eUUyP40aLB8yhDUP1AhTyYH Hfa9chj60bheeX5stM2ZKYAovPHy3dJIJsZ04M2oktwlfwRkokFfIe5gUZFwhVMlNzhH 84dg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="N/YgmYXt"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-32654-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32654-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i5-20020a6561a5000000b005cec855e691si7993107pgv.761.2024.01.22.02.09.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 02:09:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32654-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="N/YgmYXt"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-32654-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32654-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E284FB26BEC for ; Mon, 22 Jan 2024 09:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BD0A3A1D3; Mon, 22 Jan 2024 09:46:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="N/YgmYXt" 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 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788784827481924132 X-GMAIL-MSGID: 1788784827481924132 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) \