Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1336812imu; Wed, 28 Nov 2018 08:07:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2PcejW17Fste6SmnnjZhtB1A5aCWXhdsRjgP2CxjXJxT9TI9Izu6nXfdxPB9bfL6c58Z4 X-Received: by 2002:a17:902:7581:: with SMTP id j1mr37791833pll.308.1543421249808; Wed, 28 Nov 2018 08:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543421249; cv=none; d=google.com; s=arc-20160816; b=c78ePX+Cp3Kuum8D0th0qGLEGxvKbU4tt24ZZ4zZaYkBl5aQAIfVTIAzjnPvd0jk9N faJvORp5qUMMx5WDmscHiFOJsdJNMk/jAeRRhL29aKcTOxrH5Alg9p+aWYdA4Ey2iXoQ NrjQvZT7SCLs0p5enoxI6u3KUxmi/kxkHTpnnSHd7RkRDxuNoLlFmgvmCPN1tHHqy0j0 m7SKu4Bgk9Q5Dmtew9v/NrxJ2CEbNedkCmNDetoAwX2Dxt8ulFXAIcxGXHZpAFGwlYy8 83LPMJJJuY0w1b1WDo1PAbGMc/YTy/FDxaDXb9m2O1q5Ar5/zK+JQ8C6SroyjiG9RRSU VW3Q== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=xLiz/aXH6RQ3z98RZQuQ+BMlwIl7TGoOpP+7chxLMAk=; b=hPdMiP0OmOA+jdErHqlqWI1UZacqlHr8m77U0Z7yqk++O5pE/NzCRwsTT2gltvlgf7 AWsNLO/reulhQbMSWHdEtc1J38iso5lniTjVP1e1irr8fn+zAT8tQOwEfkD3RGjhszS/ RLR3ZE6obr3xHbfyNLCBC8CLr7/F8pKLAFR3DVWvC2FUjKna2i1DKHMv7eKRWTxHzdiu KBgOttVYdr17fGZX2eGUlQlRDAqcLRBMHQEzRDhw/NOSHJwN2OK7aGyLo3bG35/RBhJO f61aqrSZ+zT3zQ1e7w6g9szFQhezHZhKGz8Z9viEiTU9CKUy4U3kuD3ezukbJGtTw8iG JNTg== 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 w187si7463380pgb.552.2018.11.28.08.06.53; Wed, 28 Nov 2018 08:07:29 -0800 (PST) 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 S1728868AbeK2DFM convert rfc822-to-8bit (ORCPT + 99 others); Wed, 28 Nov 2018 22:05:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37822 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727979AbeK2DFM (ORCPT ); Wed, 28 Nov 2018 22:05:12 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0244385362; Wed, 28 Nov 2018 16:03:04 +0000 (UTC) Received: from doriath (ovpn-116-147.phx2.redhat.com [10.3.116.147]) by smtp.corp.redhat.com (Postfix) with ESMTP id 693937C29C; Wed, 28 Nov 2018 16:03:02 +0000 (UTC) Date: Wed, 28 Nov 2018 11:03:00 -0500 From: Luiz Capitulino To: "Moger, Babu" Cc: Liran Alon , Paolo Bonzini , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [PATCH] KVM: VMX: re-add ple_gap module parameter Message-ID: <20181128110300.49b3110d@doriath> In-Reply-To: <0a2d9427-18e7-408a-d0ae-b8277cad542a@amd.com> References: <20181123120214.174457a4@doriath> <8049C3CD-E816-4270-A64F-0BB92BD56338@oracle.com> <20181123132641.712e2695@doriath> <0a2d9427-18e7-408a-d0ae-b8277cad542a@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 28 Nov 2018 16:03:04 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Nov 2018 15:57:53 +0000 "Moger, Babu" wrote: > My bad.. Sorry about this. I think this should also go to > stable@vger.kernel.org No problem man, this happens. Thanks for the review! > > > -----Original Message----- > > From: Luiz Capitulino > > Sent: Friday, November 23, 2018 12:27 PM > > To: Liran Alon > > Cc: Paolo Bonzini ; Moger, Babu > > ; kvm@vger.kernel.org; linux- > > kernel@vger.kernel.org > > Subject: Re: [PATCH] KVM: VMX: re-add ple_gap module parameter > > > > On Fri, 23 Nov 2018 19:42:53 +0200 > > Liran Alon wrote: > > > > > > On 23 Nov 2018, at 19:02, Luiz Capitulino > > wrote: > > > > > > > > > > > > Apparently, the ple_gap parameter was accidentally removed > > > > by commit c8e88717cfc6b36bedea22368d97667446318291. Add it > > > > back. > > > > > > > > Signed-off-by: Luiz Capitulino > > > > > > Weird that nobody noticed this when patch was applied… Thanks. > > > Reviewed-by: Liran Alon > Reviewed-by: Babu Moger > > > > > I forgot to mention that I noticed this because I have systems > > disabling ple with ple_gap=0 in modprobe.conf. In those systems > > kvm_intel won't load anymore. > > > > > > > > > --- > > > > arch/x86/kvm/vmx.c | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > > > > index 4555077d69ce..be6f13f1c25f 100644 > > > > --- a/arch/x86/kvm/vmx.c > > > > +++ b/arch/x86/kvm/vmx.c > > > > @@ -174,6 +174,7 @@ module_param_named(preemption_timer, > > enable_preemption_timer, bool, S_IRUGO); > > > > * refer SDM volume 3b section 21.6.13 & 22.1.3. > > > > */ > > > > static unsigned int ple_gap = KVM_DEFAULT_PLE_GAP; > > > > +module_param(ple_gap, uint, 0444); > > > > > > > > static unsigned int ple_window = KVM_VMX_DEFAULT_PLE_WINDOW; > > > > module_param(ple_window, uint, 0444); > > > > -- > > > > 2.17.2 > > > > > > > >