Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3237044imu; Sat, 24 Nov 2018 00:47:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/V0vAQggoGkOO/GyYZzVSM3g6ryTjnPq+XrAOIonmO0I1w/0x+IKyuJTMPtd949lH9Hq4ug X-Received: by 2002:a17:902:2dc3:: with SMTP id p61mr18739955plb.166.1543049233162; Sat, 24 Nov 2018 00:47:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049233; cv=none; d=google.com; s=arc-20160816; b=C3UE3WKf+eg1tzkH1VFxmzFGvr0ygWL4jq2i/lAdQZC9bMrYzwZwn4dV7eoC6g5Mbw p/RRBaPcXv2Cv94Od9upuGzwTPhHB7PAkPOaTro3TrOvq3BxUPuR97bX78VJ/AWuimV6 AJ63Ff7tLOPdR3ZtO+EUvm2OO7DVlXhUQzg/FbMXEitLfF3RFNypuT1w1yQw+O1sQwlM 260L/rV8s93EprrnKqXjC33S8omJFEHS6FHGTyQgW4IDOCj1iG6dJuRpNB6oVeqwyYzy ucmotqLrIe8DLFq2Em881u0fEAuCDwTL/sxww1zSp6XOni6RX67NBAnnrzfmPAWZSWBE KIbg== 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=/Auv+YNZOKME5EpqO+ayZO7lUUWGTUrxEiGVUjdyFGc=; b=ybzFPYJVn1liZnkmRTE96nRJWgedB/G2cIVYhD8Uwrwvf2LjsbIvtalDG+h0Li8T3v bXgmKLJIf22ocK7K8gRDr5bbOgzNmW88Xe44wEclxUWSIXPHLLUzcf0Bfb2dvT4eH0Fp zq6IHbJ0zfUmM6ChNgY/MBFbkuD33fcvDRGi1YxGwRMu+8vIdnzwpw4SEPw9f6/M1iOu +yRJ6MB0xOFt1lFEnc36j2aA1pfXA0ndzzBXUjtU0z7J0P46Su9jYoi8o2hH6opruy9I /ukXbJbfe9bbEbwNUQ3VR7k3nmi8Z19NrU/CMnOt7mn520oUzjPiI7jz4ud8rJZSRJ34 Libw== 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 e37si17498770plb.172.2018.11.24.00.46.59; Sat, 24 Nov 2018 00:47:13 -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 S1729512AbeKXFMG convert rfc822-to-8bit (ORCPT + 99 others); Sat, 24 Nov 2018 00:12:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52602 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbeKXFMG (ORCPT ); Sat, 24 Nov 2018 00:12:06 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 91E64308624A; Fri, 23 Nov 2018 18:26:43 +0000 (UTC) Received: from doriath (ovpn-116-114.phx2.redhat.com [10.3.116.114]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9C9471850B; Fri, 23 Nov 2018 18:26:42 +0000 (UTC) Date: Fri, 23 Nov 2018 13:26:41 -0500 From: Luiz Capitulino To: Liran Alon Cc: Paolo Bonzini , babu.moger@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: VMX: re-add ple_gap module parameter Message-ID: <20181123132641.712e2695@doriath> In-Reply-To: <8049C3CD-E816-4270-A64F-0BB92BD56338@oracle.com> References: <20181123120214.174457a4@doriath> <8049C3CD-E816-4270-A64F-0BB92BD56338@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 23 Nov 2018 18:26:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 > > >