From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FF53C48BD6 for ; Tue, 25 Jun 2019 19:30:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75D48208CA for ; Tue, 25 Jun 2019 19:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561491023; bh=1B1lXkMUpm+QSfDLbuQelPWey4SBFgw4l2TH/2xtg/Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=1/uqGCKtGA0c17jbYr8YMhOv9emRbT0z5HDc06oXu3Jn1LpHrifwTYX9Bs7V7uysm ju1loHMWbEw0NrqfCBnwHRiXhN/XvLBlyhJ8D6YfbLq2IVL8enJGIf38uDMNmdXL7A JAYJ+8D8U68RVXLkov5fBFRV0dMfD/qz5FqVyP3U= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727733AbfFYTaX (ORCPT ); Tue, 25 Jun 2019 15:30:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:42716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727709AbfFYTaX (ORCPT ); Tue, 25 Jun 2019 15:30:23 -0400 Received: from localhost (unknown [167.220.24.221]) (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 B6C6220883; Tue, 25 Jun 2019 19:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561491022; bh=1B1lXkMUpm+QSfDLbuQelPWey4SBFgw4l2TH/2xtg/Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HPYkDvlGax0DeaALBAsSiY/k7au/Bh69swvfXkylveZH9Xgh+hsfdPO2flwHNNZ51 dE28i2D1Iau9pDaVvh6nZsK/Sou8liAQf3bRR066z1ZdVPqgt83PKkw4vzDCV+0IQz Jksj5xwhu1myLlshbcKRIno8XFXzPAJP737zo7a0= Date: Tue, 25 Jun 2019 15:30:20 -0400 From: Sasha Levin To: Jiri Palecek Cc: stable@vger.kernel.org, Sean Christopherson , Paolo Bonzini Subject: Re: [PATCH] KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT Message-ID: <20190625193020.GA7898@sasha-vm> References: <1561321670157164@kroah.com> <87mui6djuj.fsf@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <87mui6djuj.fsf@debian> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Jun 25, 2019 at 12:45:24PM +0200, Jiri Palecek wrote: >Original commit id b6b80c78 ported to stable/linux-4.19.y. > >SVM's Nested Page Tables (NPT) reuses x86 paging for the host-controlled >page walk. For 32-bit KVM, this means PAE paging is used even when TDP >is enabled, i.e. the PAE root array needs to be allocated. > >Fixes: ee6268ba3a68 ("KVM: x86: Skip pae_root shadow allocation if tdp enabled") >Cc: stable@vger.kernel.org >Reported-by: Jiri Palecek >Signed-off-by: Sean Christopherson >Signed-off-by: Paolo Bonzini Could you add your signed-off-by please? -- Thanks, Sasha