From patchwork Wed Feb 21 23:38:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Itaru Kitayama X-Patchwork-Id: 204494 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1359997dyc; Wed, 21 Feb 2024 15:39:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJQPkJU/QW9LlzssjIHT4JuRD3h5nj9jM/AlC7qWOKd9X4cVFOw70uK++QGYaJ8g1RxMTFPA5XOapuNbqjapILhvGsiw== X-Google-Smtp-Source: AGHT+IHQd2gc46Hie9P7B3AWjU+rCa/lLorOXv7boVvmRU4th+H03lU3m6mLq6UEbStNGkqTjfmk X-Received: by 2002:a17:906:6d0b:b0:a3f:51ed:2d4f with SMTP id m11-20020a1709066d0b00b00a3f51ed2d4fmr1630361ejr.49.1708558765703; Wed, 21 Feb 2024 15:39:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708558765; cv=pass; d=google.com; s=arc-20160816; b=iuOXyJYzsjAd8/d3RKWGsKZ5JAweE1SsAvpJYiT4O0hG9JD6z4GG5UkZouX26cyArJ SIc0se5hvir4rszglgeo173q2zfc+cPr80sR2KmGNzxIonFD/Ca9v9EVJ5woo+ntThW3 xlgCy2cchQkDgnfO5Vqd9gMpSG4inocJLigjZWcZ4q5myTKP1TWuRNATrOmadrlveL4P VsP5v1L1woGcBIfL3F3+aoD3WqJB6e3pNX7vZrDCc0Tm30g+NBEf5jXrwydV0wqIJaUV eI5M3V5wfWsBLz2sbB8BFngwtpVUVot68um28tMr7NsJCRDWRx4SoCxWN1jxws2JqPHT gCQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=Q4ts/fVxNhRAiKql7+8wymMZfdTLpYx5LddFAkx9Fo8=; fh=PE0K9dsOL2V/Mzyzrzs4VGnSkRY8O4PE+iBZJ1pLVLI=; b=RaUWCIPiOdXuGgDYWVzek0pCAW9VDZTuuTMA7Tvc7Di+vUnbf/tgskT+JjFToh+tPj PzaZazsY9WRFaOTrnzS4EMY/waqsp29814TpR+E7F3rO+zmPhzi5VG/QHEL1qOm9wnIJ JXx2VC84c4L07HpzOH70+cFr0Ia75NxQEhUhr6dEm34DmAjSQndwUkRojYNAZUx6V1MB 93LjPEFHDMCsaY+keHZQ9n0D114Dlxxbk5DE0d1T/Gmz9aOI+oSlP49OkYGPbPQHR0l+ C6FKqoTeciqhH9YpLHCU0cck1CguMbohJ4g1JWz1E2r+wZWI4vcK9bOThwFQi7C+7EQy rIHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=korg header.b=UisHyCZh; arc=pass (i=1 dkim=pass dkdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-75666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs18-20020a1709072d1200b00a3e819b857csi3763881ejc.82.2024.02.21.15.39.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 15:39:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=korg header.b=UisHyCZh; arc=pass (i=1 dkim=pass dkdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-75666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5234B1F236F6 for ; Wed, 21 Feb 2024 23:39:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6176212DD8B; Wed, 21 Feb 2024 23:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="UisHyCZh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8845B12AAE2; Wed, 21 Feb 2024 23:38:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708558725; cv=none; b=BqI+hXBFqXFa2wtn3ZvDZY3lXbA+3ccDepO7qu+nGrRRjd4P4Vdjo5XmsLaQeCC/7CRZuRDa7FKaSixVc9Y85rFZXK8LnGmqZ6csgqM+b2w2doncRh05sulnQlISzWbgMm1DHMrb+9waJ1Q/G1TBta38IeKVafxA67r+98HtXRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708558725; c=relaxed/simple; bh=mqzDBgvnARQZuU+Pb8bmtT89hBXtM0GOCDpsxtpoHm8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=XO50AnSLx1ei8qvUGnitkx/X7n+91KL06QzvgTd0MpbVwHTO46WWVuolDxIiDspF8L4TchUEs4P3UhQcUlxkmD1z5H1e3vfQF3gmupSw/bwnyCyWA0JRZC+QIjQzvI0Vo/Eo2x8mM20u2pUIiVS70P+o5qgW1XqoGXkLspXHoUY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=UisHyCZh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 19FF4C43394; Wed, 21 Feb 2024 23:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.dev; s=korg; t=1708558725; bh=mqzDBgvnARQZuU+Pb8bmtT89hBXtM0GOCDpsxtpoHm8=; h=From:Date:Subject:To:Cc:From; b=UisHyCZh/EXw2iELZKEcraUL7Tm+nULt5XUFc2XICjcsZo8FzvAbfHY0cK4mAbs8T YVDOJpWa4quk4gMspTX7CZIda7f1a8XY2c5QFlC8utBRU8Py5ZvbRssnd3KfU7z085 fUCMwKidEhzK62niy59XAKjmcbsfI3A891QD5Ac4= Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 077E1C48BF6; Wed, 21 Feb 2024 23:38:45 +0000 (UTC) From: Itaru Kitayama Date: Thu, 22 Feb 2024 08:38:37 +0900 Subject: [PATCH] Build guest_memfd_test also on arm64. Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240222-memfd-v1-1-7d39680286f1@linux.dev> X-B4-Tracking: v=1; b=H4sIAHyJ1mUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIyMj3dzU3LQUXXMjC9M0S1Mzk2TDVCWg2oKi1LTMCrA50bG1tQD+NlG VVwAAAA== To: Paolo Bonzini , Shuah Khan Cc: kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Itaru Kitayama X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708558724; l=1061; i=itaru.kitayama@linux.dev; s=20231030; h=from:subject:message-id; bh=lA7PzCZQ2lseoAA2i+RxO+8QEPr2soICHGzThVxFsV4=; b=5n1duozIxzxnBCXUW296kFTXX6lgv5V+XSAWRZRDLr6XvGcTjdyoHjOFdcVTWctswvlhZ8LNu L084E6chHO/Dr2DVGeC4UFBmQ/xSZcvmsNde3tZ3UnwmBdJOh/g0p/q X-Developer-Key: i=itaru.kitayama@linux.dev; a=ed25519; pk=4yYhz2CbKL7F2qR5IzP7QvqM9B6c+dfWJRHWez+rMDw= X-Endpoint-Received: by B4 Relay for itaru.kitayama@linux.dev/20231030 with auth_id=92 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791553716209556088 X-GMAIL-MSGID: 1791553716209556088 --- on arm64 KVM_CAP_GUEST_MEMDF capability is not enabled, but guest_memfd_test can build on arm64, let's build it on arm64 as well. Signed-off-by: Itaru Kitayama --- tools/testing/selftests/kvm/Makefile | 1 + 1 file changed, 1 insertion(+) --- base-commit: 39133352cbed6626956d38ed72012f49b0421e7b change-id: 20240222-memfd-7285f9564c1e Best regards, diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 492e937fab00..8a4f8afb81ca 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -158,6 +158,7 @@ TEST_GEN_PROGS_aarch64 += access_tracking_perf_test TEST_GEN_PROGS_aarch64 += demand_paging_test TEST_GEN_PROGS_aarch64 += dirty_log_test TEST_GEN_PROGS_aarch64 += dirty_log_perf_test +TEST_GEN_PROGS_aarch64 += guest_memfd_test TEST_GEN_PROGS_aarch64 += guest_print_test TEST_GEN_PROGS_aarch64 += get-reg-list TEST_GEN_PROGS_aarch64 += kvm_create_max_vcpus