Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3384812rwe; Mon, 29 Aug 2022 10:35:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7j8ja4/2Z4UUJtCQCtzyR/r+8axTP18F5M7/C4+EheRsR4ciDL5wZVgBj6t7D+OCnM0Z7w X-Received: by 2002:a17:906:99c5:b0:73d:70c5:1a4f with SMTP id s5-20020a17090699c500b0073d70c51a4fmr13775453ejn.302.1661794547856; Mon, 29 Aug 2022 10:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661794547; cv=none; d=google.com; s=arc-20160816; b=ZTcsvbXAdxJ9Dc6zS8pX5VY7wkItTUB2H/+OYaALStV53a28kHtjb4J9gNAzoyqNdd dWHjdFta4Cmm6TPsdDnHy35053FVAzO6/b67HqQ++qCMT7WtLZBPDPLPgUOLRan1Jfgz zIoRlATZ4TNnEHDkP1c+eI3yx7I5MfAKcXn5g3DCovBmAUdDGbnjTv+YG5l5Rr2Bgssp UL23KJhSxfrs56i0nHnkfbE6v3nEE+CaqLqlBS+HcbviGKJTrku4y6IvYIczFN0rfTXd h3C9jlwx/s8p/9NDJbmd4wKbcx7B9f2i4hScjXT2NYzeYqT2bgCDLYADI/MhSfz9PWAn czsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=V84lDEZ16EblHvtM8fgyVev0owrVHxHzScy/ND3jaaQ=; b=Mw1jeY+wN4SCXVhULCBthzYjhpf8QCIX3SVP0B5KyUwGxmzmEbqlCT38/nqmeeiUnH pc7WHDFSQMTMtj5Ub2DWZWEMQQxCUfkHQu+C/yYxKJWP/iWjuazSv0CUEvcX8xAtPH7m bUTVS+0MIvdZbmM4VGn2JomTMStrHNl9gq5Za1zVkVDh+njRb3ZBtJD0sjlGBQuSBrHR RRnLk7kSgXcXrx6payjO+USXp1yoSInT7VGymJVQkCXUY4WV+gkQa4nLHVfq0V8mKC66 VXt6FGCs7pVkuLY9uNvbz1mA8FbvWdPiBcjHhwALAZoFNvECe21SYDDdjQEKRiZRn6TF 3srw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=CaPKCCVz; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a50e613000000b0044615ee1b6fsi330443edm.218.2022.08.29.10.35.22; Mon, 29 Aug 2022 10:35:47 -0700 (PDT) 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=@linux.dev header.s=key1 header.b=CaPKCCVz; 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=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbiH2QVp (ORCPT + 99 others); Mon, 29 Aug 2022 12:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230423AbiH2QVR (ORCPT ); Mon, 29 Aug 2022 12:21:17 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA2A169F46; Mon, 29 Aug 2022 09:21:14 -0700 (PDT) Date: Mon, 29 Aug 2022 18:21:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661790073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V84lDEZ16EblHvtM8fgyVev0owrVHxHzScy/ND3jaaQ=; b=CaPKCCVzoPf4bcbSMTSpQx2lOZ5yESWOlPHBTiOGHy4YQpHkCtql8IPuRRpSByvC5hO8de 6xl8kO3jvz+Vdxt6cwkLhNUnQ9HU+hkqAyGXbfk+QrVReKpiqR0UixIQTF6rHD9/2AuqXA G+ANmKWFLtjqyg/LGkmx1D+5lFNxgSE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Sean Christopherson Cc: Paolo Bonzini , Marc Zyngier , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Nathan Chancellor , Nick Desaulniers , James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Atish Patra , David Hildenbrand , Tom Rix , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Colton Lewis , Peter Gonda Subject: Re: [PATCH v5 6/7] KVM: selftest: Drop now-unnecessary ucall_uninit() Message-ID: <20220829162111.wl65dxexk5qtrssf@kamzik> References: <20220825232522.3997340-1-seanjc@google.com> <20220825232522.3997340-7-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825232522.3997340-7-seanjc@google.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2022 at 11:25:21PM +0000, Sean Christopherson wrote: > Drop ucall_uninit() and ucall_arch_uninit() now that ARM doesn't modify > the host's copy of ucall_exit_mmio_addr, i.e. now that there's no need to > reset the pointer before potentially creating a new VM. The few calls to > ucall_uninit() are all immediately followed by kvm_vm_free(), and that is > likely always going to hold true, i.e. it's extremely unlikely a test > will want to effectively disable ucall in the middle of a test. > > Signed-off-by: Sean Christopherson > --- > tools/testing/selftests/kvm/dirty_log_test.c | 1 - > tools/testing/selftests/kvm/include/ucall_common.h | 6 ------ > tools/testing/selftests/kvm/kvm_page_table_test.c | 1 - > tools/testing/selftests/kvm/lib/aarch64/ucall.c | 14 ++------------ > tools/testing/selftests/kvm/lib/perf_test_util.c | 1 - > tools/testing/selftests/kvm/lib/riscv/ucall.c | 4 ---- > tools/testing/selftests/kvm/lib/s390x/ucall.c | 4 ---- > tools/testing/selftests/kvm/lib/x86_64/ucall.c | 4 ---- > 8 files changed, 2 insertions(+), 33 deletions(-) > Reviewed-by: Andrew Jones