Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp503521ybn; Wed, 25 Sep 2019 03:20:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjXoAqsXhyivFQ0B+ePPmpEd/2CT5cCmk+nXAHoZSuf3NrEBq+9xQLyKzEnrQqMaLik0q8 X-Received: by 2002:a1c:c5cb:: with SMTP id v194mr6766100wmf.108.1569406858547; Wed, 25 Sep 2019 03:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569406858; cv=none; d=google.com; s=arc-20160816; b=jq0ThjGp90UMWmBJvrrNJy9ejLNDm+8QcSeatjV9rojdla1xu4lk5O8k8v3c6KqYF4 fpOg/GtRDz6RCcYsdNlkg4/IANrumFrtpAoNVBMAsVnJMWfCd4UEseZAqT3FYb8WIQjQ aTcKwkTcBeLQZdna3WRVCWgkl6BNFmPJlfcmWTgSqnCvdakZbNMQySe+MUNy1RJsuGu1 0EGfgN5Z8opFgOqDWQRSXK5/615PPVh5SstpEqdKSEfWEhhNg3+jCAbVF+LuGyCOgtUT 8MU08DeC4W29wEgjZyPiycA+q+xjHvLuKJWsDP4vQKfyEHmFpmqUIyswoaZun8Ip3rn3 4+wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject; bh=OmMWAPk3NRNh1ylKLS9ZJCZTMkn6Nstafcul+5/qUp8=; b=V9xWNvnNTuetj2rAz6Y9Az7v2UFCKkuYKwN7pU0bQd0FBWtLzXpDW2IhNVyha74QtJ 9uVr+vWo0f7ScGTZyQ01c2Zn0u/VI0bbQwsUGZmOyXkzx1F+Okk6cSory8Q3dNxDRnG0 7uvmzUMx5yPy/wLpZwMrw8t1bqyiG0X+VjBncBqFPoXS88jHkjmprOWfZUMGG9ypG3RA WkkNMYs6qUUVo0BXQj5gkfQAtM4ywBMIIO8bBetKn6/NHCfeROb1tMdzD7WcfbJi5A15 2W8Kj1H8N/ZtK7QMglxrkKBV4Z6NxBiAHrFXHrj46RSqG8Dhwt/M8675gGt8meuMNq8C 2Itw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si2349590eje.50.2019.09.25.03.20.34; Wed, 25 Sep 2019 03:20:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439497AbfIWKVr (ORCPT + 99 others); Mon, 23 Sep 2019 06:21:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39932 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439486AbfIWKVr (ORCPT ); Mon, 23 Sep 2019 06:21:47 -0400 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9E5F6C00E906 for ; Mon, 23 Sep 2019 10:21:46 +0000 (UTC) Received: by mail-wr1-f69.google.com with SMTP id j2so4651798wre.1 for ; Mon, 23 Sep 2019 03:21:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OmMWAPk3NRNh1ylKLS9ZJCZTMkn6Nstafcul+5/qUp8=; b=nHUY79nRlVsdEV9UboElUiv2b1o+Dzl+5UWm9EU34R4UHXUIGiGRWPM7Wb+wZxm3Ps zx5jI8qOMOuJQH/FA8gxuet38xb8uuvtsbKGUsLq+Me6vJRLp49lijN7l4uqGIFCscVp Pb0TC1WWcWOUEHFsHb8rsJH3PCcq75fmjRaa036vBGoVYD8CaTMr/P+VT7V1xdJE8bOo Dn1D6bnP9xhAlA4FTuUqM9n2SrXiqn2MFM0ARHNbZvgo2GC6xmIT4Mh8W88NwvMN0XLa xcER3CZFGLBsZwVJb8r3OKHMONSF9FsND2SSgWlHASEOa/RF3NsJgZkt0aAnn4KH9wMI EjzA== X-Gm-Message-State: APjAAAUAbZtjSaBH9l399m2WYDO+BcmV3eXCs26nlsVYDdgsZas2hnAk Vp0EdvNsNQ4mzX8M3O4IamtrzpU5jqsvv7wjIUAiunS/+8y8n7NToStnLzbHyPnvRXh/ZUzVahX ZhovhfBvw8wpDOTmwxxpd2PSL X-Received: by 2002:a5d:43d0:: with SMTP id v16mr8375580wrr.390.1569234105215; Mon, 23 Sep 2019 03:21:45 -0700 (PDT) X-Received: by 2002:a5d:43d0:: with SMTP id v16mr8375567wrr.390.1569234104944; Mon, 23 Sep 2019 03:21:44 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:9520:22e6:6416:5c36? ([2001:b07:6468:f312:9520:22e6:6416:5c36]) by smtp.gmail.com with ESMTPSA id h17sm24346572wme.6.2019.09.23.03.21.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Sep 2019 03:21:44 -0700 (PDT) Subject: Re: [PATCH 13/17] KVM: monolithic: x86: drop the kvm_pmu_ops structure To: Andrea Arcangeli Cc: Vitaly Kuznetsov , "Dr. David Alan Gilbert" , Marcelo Tosatti , Peter Xu , kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190920212509.2578-1-aarcange@redhat.com> <20190920212509.2578-14-aarcange@redhat.com> From: Paolo Bonzini Openpgp: preference=signencrypt Message-ID: <057fc5f2-7343-943f-ed86-59f1ad5122e5@redhat.com> Date: Mon, 23 Sep 2019 12:21:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190920212509.2578-14-aarcange@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/09/19 23:25, Andrea Arcangeli wrote: > Cleanup after this was finally left fully unused. > > Signed-off-by: Andrea Arcangeli > --- > arch/x86/include/asm/kvm_host.h | 3 --- > arch/x86/kvm/pmu.h | 19 ------------------- > arch/x86/kvm/pmu_amd.c | 15 --------------- > arch/x86/kvm/svm.c | 1 - > arch/x86/kvm/vmx/pmu_intel.c | 15 --------------- > arch/x86/kvm/vmx/vmx.c | 2 -- > 6 files changed, 55 deletions(-) Is there any reason not to do the same for kvm_x86_ops? (As an aside, patch 2 is not copying over the comments in the struct kvm_x86_ops declarations. Granted there aren't many, but we should not lose the few that exist). Paolo