From patchwork Wed Oct 9 15:49:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 13828716 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 2A9EBCEE329 for ; Wed, 9 Oct 2024 16:02:12 +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=9+y7oelTnk6r5KXO5BIzd9TWGjZrwMN3AFTrylQnTmc=; b=zoXKjOCy6fBLjZeeqrZdg8ryeL FXmirc/RmGx0Xvw6GJU+kRpmqcoOWZh/BKyxzzOULca25JAo2kWqhuhoMAzhZPyYBuMouHns93mxU HFdXPNmdGTuRcOys5n2DJi4G9PAY7lYNlKuYxcpdUxeZtg8FTM4EkuN6L6fog+GkSnT8jMmQEDQaB CChSZPF/IQzZNXMij84H+mPomeoyJU3wj30UplOq9FIJOCHO1BUujMjMw4EY4zSSmmx4tdDWcffJT 8qvuUEx5o9ksoV6VQlLhgNO2oCQq8iLKfTDOXqhEc9ncw3YgCryCzXQV/o1gGnxB0HTIVUrlTtxZb ku5xjdPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syZ8P-00000009qpI-1QXi; Wed, 09 Oct 2024 16:01:57 +0000 Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syYwz-00000009o6r-0fgf for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 15:50:10 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-6e278b2a5c4so124139567b3.2 for ; Wed, 09 Oct 2024 08:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728489007; x=1729093807; 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=9+y7oelTnk6r5KXO5BIzd9TWGjZrwMN3AFTrylQnTmc=; b=cDysKysd8XJwAyWE8fwFA/dF09kLgb7ClrtNas+gZ+sVKaClBu2ZM3K00+kcTJvbU4 uYBKrb2GQKVQiUmOWacreiGAMziydsinw+0ZkI2FHaJWEm6xuencl/+3Uq7b4+Th5gpH OXFxZblO3zuE4Itpbyeo6E2l0TzSO2TpwFw4a7IzhVz9zf/bosXFbsyZq4Vb0cUoDJSc ruFKYYFXNE/AJ0ftBhnFSzGR8AwXVKo12AezzatQDv2JfvEArUYOJZQwn2/XngxWf6La IG9B4i9QKosivpL3vNmVVaMcqzZ7PxbOp80kHpsJZ/KTk5ArcVBcvSmhF9TQT7JhMI1o r5vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728489007; x=1729093807; 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=9+y7oelTnk6r5KXO5BIzd9TWGjZrwMN3AFTrylQnTmc=; b=iRJoeT16iHLveihzvw4J8GGnUW9pv/EDHOiDmkiR82IYmWql9fugnDCl7c/9k2EsfW Yg2Bxm6q+8kD9mtuVORZkoC4yAKzy2ZQRLD0yBFSadykBO3WU/A9lNNsYmw8nBIhTvhq NCkfjOBfIzh70IB/YVINSR/Ix/ljb88Nfof9KsY7xbCFkJ7z5ECVXdz+ubnsJeIO6pbq lldV67L/Fvq9hWdgbUkiZHQVYHfQ/m/QNYeyQFcyDEUFS3jkotU8VUrL5dpUraxCRMat VCNuPcqbnp+8aBr8WNxdRFZ6z4znf+geqzAmF3XwkH5HxqPjPwwomxT7oydrFg3chzx7 9alQ== X-Gm-Message-State: AOJu0YxCrDJ8sxq/W57qjnhLeoxcystJZAgub6u0989zDIRVPeLmzJLL lgy/h3PAkBMNUS/sa3QGiITG4BzYE1enYPDXviuh+8mGMyEy0snZCegUzNfstJrZbG17TPJah0k x+Q== X-Google-Smtp-Source: AGHT+IEnOiEr/7ufmCoIIHo0RYjnE1E6sJgU5IKNyLPqmQLuHnTee5V8zvUGQ36LhzFM/1nmzHnRUzKqVBw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:9d:3983:ac13:c240]) (user=seanjc job=sendgmr) by 2002:a05:690c:4b08:b0:6e3:b93:3ae2 with SMTP id 00721157ae682-6e3220deef6mr671277b3.1.1728489007658; Wed, 09 Oct 2024 08:50:07 -0700 (PDT) Date: Wed, 9 Oct 2024 08:49:45 -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-7-seanjc@google.com> Subject: [PATCH v3 06/14] KVM: selftests: Rename max_guest_memory_test to mmu_stress_test 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_085009_244719_A604C027 X-CRM114-Status: GOOD ( 11.00 ) 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 Rename max_guest_memory_test to mmu_stress_test so that the name isn't horribly misleading when future changes extend the test to verify things like mprotect() interactions, and because the test is useful even when its configured to populate far less than the maximum amount of guest memory. Reviewed-by: James Houghton Signed-off-by: Sean Christopherson --- tools/testing/selftests/kvm/Makefile | 2 +- .../kvm/{max_guest_memory_test.c => mmu_stress_test.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/testing/selftests/kvm/{max_guest_memory_test.c => mmu_stress_test.c} (100%) diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 6246d69d82d7..8c69a14dc93d 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -139,7 +139,7 @@ TEST_GEN_PROGS_x86_64 += guest_print_test TEST_GEN_PROGS_x86_64 += hardware_disable_test TEST_GEN_PROGS_x86_64 += kvm_create_max_vcpus TEST_GEN_PROGS_x86_64 += kvm_page_table_test -TEST_GEN_PROGS_x86_64 += max_guest_memory_test +TEST_GEN_PROGS_x86_64 += mmu_stress_test TEST_GEN_PROGS_x86_64 += memslot_modification_stress_test TEST_GEN_PROGS_x86_64 += memslot_perf_test TEST_GEN_PROGS_x86_64 += rseq_test diff --git a/tools/testing/selftests/kvm/max_guest_memory_test.c b/tools/testing/selftests/kvm/mmu_stress_test.c similarity index 100% rename from tools/testing/selftests/kvm/max_guest_memory_test.c rename to tools/testing/selftests/kvm/mmu_stress_test.c