From patchwork Wed Oct 9 15:49:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 13828731 Return-Path: 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 CBFE7CEE326 for ; Wed, 9 Oct 2024 16:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To: From:Subject:Message-ID:References:Mime-Version:In-Reply-To:Date: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jc3MwSNX0+J+oR+H6AzLHubLG9mcnf8agevCb1Rjaqg=; b=eh3rTh2JcXfLnWkxKS4fFQUhHC PcCCqR9C/iLMdyy1oHKXA1gqAemv7IbkBXXSkRP3YEGT8s3GtmO4sOTBlOw79pdPRiGRythOH1lSa GT5H+PQ2PE/6YYckLntG+ITX8oVkEpBZNoI3nb0mSFJ5WGRw5qyKMJV41sU+OMEcCzDKq9fFAZKmm 1Jxm2nQkBRxDodRok/WPjIT/Idhn56atcm7UjGNi4l2/1pV2dn8LOYLQYpWGWq84bj7nlLM+FUEKs KYpwOWxkZYiUn4ZNnvl421wjtZ+09DnZ3SwKQ19vmHSiWKdlnZ66nvlgn6fwGg3D1cCO2BsejEfhk WZLZw4xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syZDj-00000009sFz-1M5r; Wed, 09 Oct 2024 16:07:27 +0000 Received: from mail-pf1-x449.google.com ([2607:f8b0:4864:20::449]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syYx7-00000009oCG-3GwA for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 15:50:18 +0000 Received: by mail-pf1-x449.google.com with SMTP id d2e1a72fcca58-71e019ab268so4380402b3a.2 for ; Wed, 09 Oct 2024 08:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728489017; x=1729093817; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=jc3MwSNX0+J+oR+H6AzLHubLG9mcnf8agevCb1Rjaqg=; b=YjaWhM0PdbW+HQlqZUwTc9H573yohm1JXRDWkH/fOBl0uNm3cVLppWtrBfLHjnZ/yz CVykkkcfQigVIf7bqKclD/QB8cdN2UItVWqM4dzD1xQz1y+KLJoKw041eugvJIXIELaO 9BEC7pcoSfSKQ8lz34YOgfL94OzacoGeveuVmNeTpnAIwsqXw6cGWdwvkUpQiheIkMdQ XLB87NWM6adZDJ2HxO+dOu+fyUZp2+/rIWrHspu6FCBPe6qoc/DfIcxM45z5ENZO/9fN QrJNSit5XPlQgiB2O9yrKDkNZRCItq2ddiXsgbBDVwdeGk8jaIIuRcFNanLx77XVPZ5R mWzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728489017; x=1729093817; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jc3MwSNX0+J+oR+H6AzLHubLG9mcnf8agevCb1Rjaqg=; b=OtwzpAaSROCLboOazZRmhEymCn2C/J/ZQeT2p/zyjMjzD5iqHModZ7K8KKYUwm5KNJ kumj/++3li/HXWttyGxJXGKPEJAH2nOS5bVzHjkr4fLynLyBN+7ZiaJO8LUn8bZd0dak cyd0F+9LFgnfif4MaRg2bVuGvKK/fRpELGRfub1TFIT967bCZJkqTp0a/pm6mkCm8ZZZ tbRdIl47nvtTZEspEG7I5aXoUKvexEuCKVCTo3f9i/f8iLW2bwPLSsmcG1bh/f3yuROv WWCgBUFEUf5qe3sDm6LlftJf+Jj3mV3YI3RUL4i3gRppv6LF104TqsBhgU1resNl7297 ggeA== X-Gm-Message-State: AOJu0Yy8z4vKoyM+ZWl5Sms9M+6CwbLlsKLJP5oLN+nwyG08drJ1DyRS +uFRnNF6s0VREzgb5Vfkdg0BEV/0rBjNIliQtdZXNi136+SPXKbTTPvsU2Yi/xhuR4KwngKJ7/T WeA== X-Google-Smtp-Source: AGHT+IHtPJEK4UvnUH2lB7bwyfqs7oKhFlAZAFDdmrNEVSIuNr6gJJns/OGC4yt52V7y0o2FJEVYvG06l9M= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:9d:3983:ac13:c240]) (user=seanjc job=sendgmr) by 2002:aa7:8f88:0:b0:71d:ec11:1214 with SMTP id d2e1a72fcca58-71e1daad342mr3780b3a.0.1728489015563; Wed, 09 Oct 2024 08:50:15 -0700 (PDT) Date: Wed, 9 Oct 2024 08:49:49 -0700 In-Reply-To: <20241009154953.1073471-1-seanjc@google.com> Mime-Version: 1.0 References: <20241009154953.1073471-1-seanjc@google.com> X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog Message-ID: <20241009154953.1073471-11-seanjc@google.com> Subject: [PATCH v3 10/14] KVM: selftests: Enable mmu_stress_test on arm64 From: Sean Christopherson To: Marc Zyngier , Oliver Upton , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Paolo Bonzini , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Christopherson , Andrew Jones , James Houghton X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_085017_857441_A1E6FBC0 X-CRM114-Status: UNSURE ( 9.80 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Sean Christopherson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the mmu_stress_test on arm64. The intent was to enable the test across all architectures when it was first added, but a few goofs made it unrunnable on !x86. Now that those goofs are fixed, at least for arm64, enable the test. Cc: Oliver Upton Cc: Marc Zyngier Reviewed-by: James Houghton Signed-off-by: Sean Christopherson --- tools/testing/selftests/kvm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 8c69a14dc93d..4db74792d689 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -178,6 +178,7 @@ TEST_GEN_PROGS_aarch64 += kvm_create_max_vcpus TEST_GEN_PROGS_aarch64 += kvm_page_table_test TEST_GEN_PROGS_aarch64 += memslot_modification_stress_test TEST_GEN_PROGS_aarch64 += memslot_perf_test +TEST_GEN_PROGS_aarch64 += mmu_stress_test TEST_GEN_PROGS_aarch64 += rseq_test TEST_GEN_PROGS_aarch64 += set_memory_region_test TEST_GEN_PROGS_aarch64 += steal_time