Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp541289ybh; Wed, 11 Mar 2020 06:09:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vucUEqEJ1IoOgxXOOEgROPQ9H/ve1Iszz4YDXneCuDz/Ec022/MGGiRSkMpVlGXXSynbFXj X-Received: by 2002:aca:3f09:: with SMTP id m9mr1768387oia.55.1583932167636; Wed, 11 Mar 2020 06:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583932167; cv=none; d=google.com; s=arc-20160816; b=eFq02ulLtNkSnNFHQ5kW/x51tDDn5Oqmciuz4XGDbj4D/WjBiI+mlTTjnTuj+iIva9 GQB/tpuKihJfFGLJlwFLEICdSvx67HxQgoICBO0OqvpnS6Q/tL75oP3YBQ4eCn8ufyDc rHxreVJH6u4BHmJ8GSKnAoWoCkyXSB0e5N4tmIpSstnJ7X5/iOjcONgxLbrCL10GEbcK iF5qiunGvENl19xM1iaQxaop3vw1SEmzD4pwxYuippk9mqSrpTFl1emkW79C9mYqUmIW IGlhcccm+QfVGpE+vuiePxhsEkJ4p6D3sY4NxkAn93+V8MsK+KfMGB672+mB/A3LLhsy QAVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=P4fjPw1q1W1v1p42rtscwZQNJ03bCnP028RxCWb407w=; b=LVmJXLP+7xjuwe0CKA/C/q4uEkIWH3eA3UuZLqGNdYHkW8Z9zHvVnFITmaKKwXqscO 3ycl/U5NDIa/NnBdMVjFhl7t5XsUzdoGTe8GaQqbB+kkM9TLG73stOwoQsa3xvJhvj8x 4IVqBpAw8sb8Kyb/Jdg7sqSm+xo6UTU4L/EGKzir6vG4ecEXwn1YZXBp7Cn+orLqcl5H shu0vcNVvaz6+07CfZ53zv2sOEWb8x+xiDKUU709EVMNlye6vXlOYq2b7yfZunwpJaaL rqBRDjf9909SIRSU2slYPaEdrrBmqjljZOiVXt3C7mKimUK2mI/kE7qoWDT2/oVUoAxl VJvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TeWdulkJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si1092911oig.197.2020.03.11.06.09.14; Wed, 11 Mar 2020 06:09:27 -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; dkim=pass header.i=@kernel.org header.s=default header.b=TeWdulkJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729514AbgCKNGg (ORCPT + 99 others); Wed, 11 Mar 2020 09:06:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:42368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729345AbgCKNGg (ORCPT ); Wed, 11 Mar 2020 09:06:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7570220873; Wed, 11 Mar 2020 13:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583931995; bh=PlaS74TA52+HyUfV2WJZ2U19MoadXqctbqu4D164gSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TeWdulkJWMeVeaaEZGETJ9tKpfFNWxoEk6v0ywm9ujxOMwzAYeGDhTcA3XLySgwfL akd7JVKlT7J59GDxrR5A/Xch7VLjquPNM57glysIry3yTkq+Cna3IsKyqc4IjdMpb3 xnNuXNI0w1ToAtKSsuA6q14naYS6uMTTkD1MTxcg= Date: Wed, 11 Mar 2020 14:06:28 +0100 From: Greg Kroah-Hartman To: Tom Lendacky Cc: Sean Christopherson , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Paolo Bonzini Subject: Re: [PATCH 4.14 057/126] KVM: SVM: Override default MMIO mask if memory encryption is enabled Message-ID: <20200311130628.GA3833342@kroah.com> References: <20200310124203.704193207@linuxfoundation.org> <20200310124207.819562318@linuxfoundation.org> <20200310181952.GF9305@linux.intel.com> <220a78d4-0e46-a321-49cd-5d1c5827aef0@amd.com> <0bab862b-0780-38c3-0c60-b078d61613de@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0bab862b-0780-38c3-0c60-b078d61613de@amd.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 03:59:25PM -0500, Tom Lendacky wrote: > On 3/10/20 1:42 PM, Tom Lendacky wrote: > > On 3/10/20 1:19 PM, Sean Christopherson wrote: > >> Has this been tested on the stable kernels? There's a recent bug report[*] > >> that suggests the 4.19 backport of this patch may be causing issues. > > > > I missed this went the stable patches went by... when backported to the > > older version of kvm_mmu_set_mmio_spte_mask() in the stable kernels (4.14 > > and 4.19), the call should have been: > > > > kvm_mmu_set_mmio_spte_mask(mask, mask) and not: > > > > kvm_mmu_set_mmio_spte_mask(mask, PT_WRITABLE_MASK | PT_USER_MASK); > > > > The call in the original upstream patch was: > > > > kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); > > Greg, > > I should have asked in the earlier email... how do you want to address this? I will fix this up now, thanks for pointing out what I got wrong... greg k-h