Message ID | 20221119013450.2643007-3-seanjc@google.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp511055wrr; Fri, 18 Nov 2022 17:55:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf4i03kuNurz2dPHv/jNBMqFLY3sGSPuSWGkoSyz+m1Q+bQDX8eHx17T/QzGlgMtBPv4VidX X-Received: by 2002:a17:903:1314:b0:17f:def6:a483 with SMTP id iy20-20020a170903131400b0017fdef6a483mr2109066plb.66.1668822940419; Fri, 18 Nov 2022 17:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668822940; cv=none; d=google.com; s=arc-20160816; b=w3quFB7czoFKtHZc4qMCt1oLyUuwHyWk0sG/SU1FHmnxth1wB/YqKiHuiIfKFcpWWI DBj0oFt8IBTgm+t60vHLoHLDp43ORTz+p30ARQ1+OsiKY0yeMpYnX0ytrdPAzERec+fs eNgM961mSnuR3KQdxeNMLrlGJhrhzcevkfk9UF16iuis7TGQTeIc3HJnMEw2alxFDkjG yffpjLytx+jSRo4hmAd423Fqa8+4dsosYSi0q9OflgUfaFE+NcidgsEU6hIKsNxzWne3 PddZimk79ehxS0hPEMI5G9fHQUjfm5CCDxeJC04tppcdYWwrHfHirOV9j2P2JXR72DiM fBIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=3L4OGgzlwO72UOhCz/yhgDnemDx1svOqEC1kNqY2LlY=; b=D2ykB07MWGrBbRMwOHVrH3dT5RXQ5hsMrL7jEz94nDi28MMsQjOj/P8/HnZOlWQZS3 JgNLoH3+b/lT9M1ugX4nXII96MfR1fzpJdCDifgQS0RNwviK+6ekmT0QxEjeHbiSPXVM vLL6gbrYrteOfvBd/xym6N/XJtd1n6/enRKcPiC9b6DDO+Ketv7qcQUWjnn1ytzKBJ1t 138aGEiKdZh7GsiZt0An46dKhNXnqPZOUyitRzm4IPC1T3QWcgJS8kqmoUL4GJ794bmE OWG+JDU0vt4Qw3j1rJ3ZZ7QLiwwUfKbI93MNPXEW9ttBSKgAlmOh3qeCPR/XIbp1bYpp TKaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=TVbNKYXy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a170902e80500b001727963f929si5768586plg.130.2022.11.18.17.55.23; Fri, 18 Nov 2022 17:55:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=TVbNKYXy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233895AbiKSBxB (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Fri, 18 Nov 2022 20:53:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233718AbiKSBwo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 20:52:44 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80901C4C0B for <linux-kernel@vger.kernel.org>; Fri, 18 Nov 2022 17:34:57 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id v10-20020a17090a7c0a00b00215deac75b4so3831938pjf.3 for <linux-kernel@vger.kernel.org>; Fri, 18 Nov 2022 17:34:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; 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=3L4OGgzlwO72UOhCz/yhgDnemDx1svOqEC1kNqY2LlY=; b=TVbNKYXyk9Av6G9IU5hbcSdtY604tXdeCj/mxuYUgo562vyrKEnoOwdFmmSYRnZrhU LBAmImeVeqCcB52XaO11Dmz+EQI28t/X/Gs+d5+qZTdOdJf7GMrh0NFsTqYcRXm4daLY 1hASafr2iIbEc1hm+AW2G4MQ9J2SaNiShD66DGhZuBIFahYe4A7PKc4KgX+70SodAs71 LXrpBgaC8CNiujzkmhmqZsdDxNiUEsMLzhgiL5qXrHvOT5DFgOO6Q4QTpk/DiS8A560t FkLFabDChtATnitORRutffp7/vTBioX1ecxNmZ4lOUjomxAKyCBVCCd95HwPrc++VJ5O 5zWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3L4OGgzlwO72UOhCz/yhgDnemDx1svOqEC1kNqY2LlY=; b=623RlXGHwCMcrI+mWIXQRiAbNEJAkf1IAKl6NuclpadlFT7dJWhLeyjGjwxpFld29U mOgdxbmizYADilDe6AAQrVhZ1xIuVMsPEJqfiC6iR0nWKmo5zwGjv++vXBbOSLqjO/YF I7IQAFhkrKAUy7RXfZM89HwkrkkUo3yLwk2v2PspzSPayqoQzn1Cmf8MmsDc9Lr1d5e5 ZHldSagVp17AxoKvcbAN9wRqhjpcx71zwbT0THElRMe2txDbLKzvBJ2o28pSk6c4WiJW fagmmfBuBFLnho93FscUKNIm05Vj1ShaAbIhMUwywC/3fHbjZYmS5Vyg2Ek34rsjUjis tExQ== X-Gm-Message-State: ANoB5pmo1hO+5wM0XFwqljjdazE7UG//kWpiWfpAQBon7jPwFa3v+uxo Za8+cU34LYIAy5BUAMU/Mfwr7UbnGks= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:90a:4615:b0:218:8f4:bad5 with SMTP id w21-20020a17090a461500b0021808f4bad5mr16521916pjg.55.1668821696975; Fri, 18 Nov 2022 17:34:56 -0800 (PST) Reply-To: Sean Christopherson <seanjc@google.com> Date: Sat, 19 Nov 2022 01:34:43 +0000 In-Reply-To: <20221119013450.2643007-1-seanjc@google.com> Mime-Version: 1.0 References: <20221119013450.2643007-1-seanjc@google.com> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog Message-ID: <20221119013450.2643007-3-seanjc@google.com> Subject: [PATCH 2/9] KVM: selftests: Remove unused "vcpu" param to fix build error From: Sean Christopherson <seanjc@google.com> To: Yury Norov <yury.norov@gmail.com>, Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org>, Marc Zyngier <maz@kernel.org>, Paolo Bonzini <pbonzini@redhat.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, James Morse <james.morse@arm.com>, Alexandru Elisei <alexandru.elisei@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Oliver Upton <oliver.upton@linux.dev>, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Sean Christopherson <seanjc@google.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749887683580649978?= X-GMAIL-MSGID: =?utf-8?q?1749887683580649978?= |
Series |
tools: Make {clear,set}_bit() atomic for reals
|
|
Commit Message
Sean Christopherson
Nov. 19, 2022, 1:34 a.m. UTC
Drop the vcpu param in the Hyper-V TLB flush test's call to
vm_get_page_table_entry(). Commit 751f280017b6 ("KVM: selftests: Drop
reserved bit checks from PTE accessor") eliminated the param, but the
in-flight patch to add the Hyper-V test didn't get the memo.
Fixes: a105ac64bef6 ("KVM: selftests: Hyper-V PV TLB flush selftest")
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
tools/testing/selftests/kvm/x86_64/hyperv_tlb_flush.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/x86_64/hyperv_tlb_flush.c b/tools/testing/selftests/kvm/x86_64/hyperv_tlb_flush.c index 44525255f5c8..68f97ff720a7 100644 --- a/tools/testing/selftests/kvm/x86_64/hyperv_tlb_flush.c +++ b/tools/testing/selftests/kvm/x86_64/hyperv_tlb_flush.c @@ -625,7 +625,7 @@ int main(int argc, char *argv[]) */ gva = vm_vaddr_unused_gap(vm, NTEST_PAGES * PAGE_SIZE, KVM_UTIL_MIN_VADDR); for (i = 0; i < NTEST_PAGES; i++) { - pte = vm_get_page_table_entry(vm, vcpu[0], data->test_pages + i * PAGE_SIZE); + pte = vm_get_page_table_entry(vm, data->test_pages + i * PAGE_SIZE); gpa = addr_hva2gpa(vm, pte); __virt_pg_map(vm, gva + PAGE_SIZE * i, gpa & PAGE_MASK, PG_LEVEL_4K); data->test_pages_pte[i] = gva + (gpa & ~PAGE_MASK);