From patchwork Fri Nov 18 21:15:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Upton X-Patchwork-Id: 13048788 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 62172C433FE for ; Fri, 18 Nov 2022 21:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=aVEaomDYNORseoMTfli6VKyriYoNzvUXr5CUqxJ1Vc8=; b=gEMvfG8Duznbva PCfw3GXmXGuouW+lKtrVlxLQcAhutsSXNLDt1GIeg6QkB06qF7tDhXOLxNaNIuhK5Xw+xqUpgaUIb lPzgbvRWcnqk7uZZnDot9cmYC4sYmAclY4d3BLuskRKPH/o9eJPf68uzN/ruZYVv09IjoKdtoPHfE 1Ur3PDsG/gQm6MoSOY+0f476FYoMNXqZtvFzVYFmD9qtsP8iY54ZivWXct0deFI7AgW2ALg4iOsK+ EkPHb4tquuTrNMV9FVfR0VZ6/L9YbSKmZZJevHVIpyZJ1qH3gpAVVmGvAG860r2eVtXM04noblDxr o81V2yQ+wqepMobA4w0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow8hu-0087kM-2n; Fri, 18 Nov 2022 21:15:30 +0000 Received: from out2.migadu.com ([2001:41d0:2:aacc::]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow8hp-0087iX-QR for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2022 21:15:28 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1668806120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IBgRCeErwQCUyfW70Ze08m0oR+9ioab9xsEyeSrJGBc=; b=CJghzJslYjDa3bJIZ+4nUqnhQoU1COpSvTrvrZ9QPdkAQXdgD6FGprBEqLng210wqHRQrU pHEelwRlJn5H8tm2S+pEYnwbonN0rzdRa3lGPTKZXVwE5HiK9U7rEh7zw3HOrm6sxG5LAY Wl0+VVZPUmT/5IgoYWiJHxSEF4XC5DQ= From: Oliver Upton To: Marc Zyngier , James Morse , Alexandru Elisei Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, kvmarm@lists.linux.dev, Sean Christopherson , Gavin Shan , Oliver Upton Subject: [PATCH v2 0/2] KVM: selftests: Enable access_tracking_perf_test for arm64 Date: Fri, 18 Nov 2022 21:15:01 +0000 Message-Id: <20221118211503.4049023-1-oliver.upton@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221118_131527_022641_ADED8BE4 X-CRM114-Status: UNSURE ( 7.81 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Small series to add support for arm64 to access_tracking_perf_test and correct a couple bugs along the way. Tested on Ampere Altra w/ all supported guest modes. v1 -> v2: - Have perf_test_util indicate when to stop vCPU threads (Sean) - Collect Gavin's R-b on the second patch. I left off Gavin's R-b on the first patch as it was retooled. v1: https://lore.kernel.org/kvmarm/20221111231946.944807-1-oliver.upton@linux.dev/ Oliver Upton (2): KVM: selftests: Have perf_test_util signal when to stop vCPUs KVM: selftests: Build access_tracking_perf_test for arm64 tools/testing/selftests/kvm/Makefile | 1 + tools/testing/selftests/kvm/access_tracking_perf_test.c | 8 +------- tools/testing/selftests/kvm/include/perf_test_util.h | 3 +++ tools/testing/selftests/kvm/lib/perf_test_util.c | 3 +++ .../selftests/kvm/memslot_modification_stress_test.c | 6 +----- 5 files changed, 9 insertions(+), 12 deletions(-) base-commit: 30a0b95b1335e12efef89dd78518ed3e4a71a763