Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5161227ybl; Tue, 10 Dec 2019 01:21:05 -0800 (PST) X-Google-Smtp-Source: APXvYqylWJ4JfDcBFDHojpriF1FX/avn604xE/UHvo8gOIEgozKE+9mADfVk4wy0qHIAiDK764zU X-Received: by 2002:aca:4f86:: with SMTP id d128mr3181034oib.25.1575969665593; Tue, 10 Dec 2019 01:21:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575969665; cv=none; d=google.com; s=arc-20160816; b=cybVwW6p3sZ8tYiQWJzAJN5uBFjaGRQcwwajUtH+btFdP4wOETltAy2rfTJnrWeB4t vYAG5nSzXliv9dEY1jZWxKq264fO9nJHO1oy5MehrPNmBsRCMtLD+GIylSut60zQbnJd ZdHU5q6GeO4lZ8r1XNXns7FuiKHkuS7hocgtoSo7zK4qZWtyJiV5h7IL1hcc3/gN5HGO dvGDHoUsQ0AZ1N5GRuaYGm72NMk9HRHFLS5gEjpMcka1/ba/u/pg2oYWyScY/B6aKGRl V1OMGlb1Rfb3ZTsXEqpV/HYEiVZCkiJiiRWkWD3a0su1xQtTtcOEXSEy7zeGW1JgQuYB LIkA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=/bYiIJtudCWkuxmJ3U7uh+uE9YOFh6uPtLmRweTcPTI=; b=u5MZ7pBFyF8ul56s7exacqeplOfRRlWmeDRMRWUYyZAhKtmUTSM9Bc9eiEvGcT8mHu jehkJHt9/2F3NVWarFf2c8vbcArkphoVVm+a2BXZEf3VlWpbnngaQ9x2iozIlIbEVVVj o2Xl8LK3sG56/avlKI3syFbrX+JWaEZLAjkgUpcoIcuwmewYPJ4VZsGk25X8QfGFfzng xVLwd8TYkh+hfXk3b15nR+3Xd3bWOevRIgFD0hIBTvSStcTxxDp7bz1QRo41itkLifE6 K7xAhVD3mahzMm8iyWocCE+krZCnpEIG4BQdlgHTEIyFKKDFBjeJe5aPU/DT5iuzkTxL lvZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="REh/G6RJ"; 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=pass (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 v21si1617686otj.282.2019.12.10.01.20.53; Tue, 10 Dec 2019 01:21:05 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="REh/G6RJ"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbfLJJUG (ORCPT + 99 others); Tue, 10 Dec 2019 04:20:06 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:39893 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727003AbfLJJUF (ORCPT ); Tue, 10 Dec 2019 04:20:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575969605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/bYiIJtudCWkuxmJ3U7uh+uE9YOFh6uPtLmRweTcPTI=; b=REh/G6RJzAVlizUUO6oZ/eOPkUafjZ57OFEvoE772l1zcGElS4DWFtwzEnvpjEdBWeDTHs skpVHx3vw07BKUnNNKIRFtAfMlPJN/ntcK+F9NX7lQ1iieAAn+Hh/VATAW2Q8LJKWOSkJM xBGzJdV8nnlScJtlRyUq5bPMY23Adf4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-217-3jpxheGdMx-PT6DNDgbP6w-1; Tue, 10 Dec 2019 04:19:59 -0500 Received: by mail-wm1-f69.google.com with SMTP id o205so764796wmo.5 for ; Tue, 10 Dec 2019 01:19:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/bYiIJtudCWkuxmJ3U7uh+uE9YOFh6uPtLmRweTcPTI=; b=SsllXlDkAF3uclbm09gbv0RFQOvzCQEWVldAfz5Yie1Um4RNGmHZSdqjf+5thstzF2 +ZMPgFiztiVt2sbxxq6Jmdo7fntzsOFApBqOhJj7r1JdT0UL6F49zWAFWyYS7MBohMX4 DJOcEra7k2MPivsor0lb6H17X88I6vgSZDzWd064Bl96Ij5kJPVAjITOpcEPhXIfFXpn IvkeU/EquFOL82+dVIc7jjZg6j+szCBzL3vFmKTBNNe1hAZDh1SUOycXLXwrVW0iq8vt Pz5XQN+nKGknQWhTr3Un7b/YcfwUUvOFSuRXz5JOYM5FRRpbJc1Q+mOaDQDbxKaPSBCm K/nQ== X-Gm-Message-State: APjAAAVPZVhPRZlGnuUN/vstFF2kMlBLavXEqUZc3syJsTs82Vg+jJMG XrZTzlYRmwySI8lI1EK4sHTlu1L4eDBOpMqWDyBA7PkupzkYR3yrLrGA6cOL5gj8BWqF/FHUKKY KdVao/+ZKgXk3SxJzUxdjuHoU X-Received: by 2002:adf:f803:: with SMTP id s3mr1955414wrp.7.1575969597795; Tue, 10 Dec 2019 01:19:57 -0800 (PST) X-Received: by 2002:adf:f803:: with SMTP id s3mr1955389wrp.7.1575969597600; Tue, 10 Dec 2019 01:19:57 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:e9bb:92e9:fcc3:7ba9? ([2001:b07:6468:f312:e9bb:92e9:fcc3:7ba9]) by smtp.gmail.com with ESMTPSA id m3sm2549644wrs.53.2019.12.10.01.19.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Dec 2019 01:19:57 -0800 (PST) Subject: Re: [PATCH v2] KVM: x86: use CPUID to locate host page table reserved bits To: Sean Christopherson Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, thomas.lendacky@amd.com, stable@vger.kernel.org References: <1575474037-7903-1-git-send-email-pbonzini@redhat.com> <20191204154806.GC6323@linux.intel.com> From: Paolo Bonzini Message-ID: <9951afb8-8f91-2fe1-3893-04307fafa570@redhat.com> Date: Tue, 10 Dec 2019 10:19:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191204154806.GC6323@linux.intel.com> Content-Language: en-US X-MC-Unique: 3jpxheGdMx-PT6DNDgbP6w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/19 16:48, Sean Christopherson wrote: >> + /* >> + * Quite weird to have VMX or SVM but not MAXPHYADDR; probably a VM with >> + * custom CPUID. Proceed with whatever the kernel found since these features >> + * aren't virtualizable (SME/SEV also require CPUIDs higher than 0x80000008). > No love for MKTME? :-D I admit I didn't check, but does MKTME really require CPUID leaves in the "AMD range"? (My machines have 0x80000008 as the highest supported leaf in that range). Paolo