Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752230AbdHCLxK (ORCPT ); Thu, 3 Aug 2017 07:53:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38980 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751973AbdHCLxI (ORCPT ); Thu, 3 Aug 2017 07:53:08 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 630F2C04B317 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=david@redhat.com Subject: Re: [PATCH RFC 0/2] KVM: x86: generalize guest cpuid helpers To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Paolo Bonzini References: <20170802204147.3586-1-rkrcmar@redhat.com> From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <2bc44983-64ef-38ff-2a29-fa6c61247ccc@redhat.com> Date: Thu, 3 Aug 2017 13:53:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170802204147.3586-1-rkrcmar@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 03 Aug 2017 11:53:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 29 On 02.08.2017 22:41, Radim Krčmář wrote: > This series does the generalization that we've spoken about recently > Might be a good time to change the function names as well. > > > Radim Krčmář (2): > KVM: x86: generalize guest_cpuid_has_ helpers > KVM: x86: use general helpers for some cpuid manipulation > > arch/x86/kvm/cpuid.h | 205 ++++++++++++++++++--------------------------------- > arch/x86/kvm/mmu.c | 7 +- > arch/x86/kvm/mtrr.c | 2 +- > arch/x86/kvm/svm.c | 7 +- > arch/x86/kvm/vmx.c | 33 ++++----- > arch/x86/kvm/x86.c | 52 ++++++------- > 6 files changed, 116 insertions(+), 190 deletions(-) > These numbers speak for themselves. I really like this cleanup! Had a quick look over the patches, nothing jumped at me. -- Thanks, David