Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp196028ybh; Tue, 14 Jul 2020 22:51:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkKJd25qyH37VDDKg2kv3nPlWhinneT0gTwVGhSj7GlN1r4eGVcE/hEnqQ0fQyaxKFJstS X-Received: by 2002:a50:fa07:: with SMTP id b7mr7826816edq.298.1594792281753; Tue, 14 Jul 2020 22:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594792281; cv=none; d=google.com; s=arc-20160816; b=e9lqrxtSfo9Dfub/YOvH41MUD9BObC5MD4wrxGyPlkhVwKOh+2ybxCUzchaFSP909R 9CouVbGLUjTuQv90d1QNYvTXIY8mk6cVVqDmFWFwFKRBiu1KlLahc1bF6qL1H1LPSMT/ iQXwq4Tv7I5taZAnRhcaDKg4fHiUWPvHCZqseY1QEAOeN215NrBTkS0xYvV/UfxaOPXN Y4F1tK+pYus5Rmj5O4+zJ6jPyszMZNdsWRw7yBEEF9SeiayK2iNIG6fSVmoNGMGvNFle isjNj7txQfsxAKmlCzALEqOlSK0jYFF6zxSrA9YcEV8t+4d5ou6wEE76ShDTjcMMDl/c Ugfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=3bbR7unW+VsjGrPCJzNRezk3qt1P8tWL1BzUYHue/ns=; b=BlSh7OHWU5yiP5WYjBCFkvQZkpvqzWH267XLbm1dEv7CeJseyyRXrB62KN3gTLOQQO 6Prm9A8VrUsZhUGiJuVFnGUq1UUuxmUiKTXV+t28J2Pub6tB3YNyxmAhW9zZh9BaX1aj knfoq5Z3txh8eVpr6Zh549OYcQ/f1cQFSgZ11+SdH3lqECejMewgHRN+zq6h2cbDvhB1 zuRAdPiqHP0L4hoQAVdpIw+gLNXcsmRDODkVxpIxey2PRZ1Sq7uUYRafdF0WeHWSUox1 OB2p0FMB13nQn8J9rC6fiIbyJNXjjH8YBNgphonNC+GgDzKX26jhpYQZOwqBvtPJi2Ej t6NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si609518edy.438.2020.07.14.22.50.24; Tue, 14 Jul 2020 22:51:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726933AbgGOEla (ORCPT + 99 others); Wed, 15 Jul 2020 00:41:30 -0400 Received: from mga02.intel.com ([134.134.136.20]:62528 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbgGOEla (ORCPT ); Wed, 15 Jul 2020 00:41:30 -0400 IronPort-SDR: 12fOklgYhmPLyeChR9kPLnlROqNds6tjyEVEu3JgxyKgt2a6P4TLBibmDNAuMwj1E4bHNA2dbS TiZdQs3/MgKg== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="137210660" X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="137210660" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2020 21:41:30 -0700 IronPort-SDR: tPAxt0Zb++8MhxgPdx85urOug4eGehmIUtSsXwHJnIU25SvJTEXBjkPDzwgnNFwqot1XcoyHDU qgn6I8SLpFow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="326050554" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.152]) by orsmga007.jf.intel.com with ESMTP; 14 Jul 2020 21:41:29 -0700 Date: Tue, 14 Jul 2020 21:41:29 -0700 From: Sean Christopherson To: "Andersen, John" Cc: Andy Lutomirski , Arvind Sankar , Dave Hansen , Paolo Bonzini , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , X86 ML , "H. Peter Anvin" , Shuah Khan , Liran Alon , Andrew Jones , Rick Edgecombe , Kristen Carlson Accardi , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Mauro Carvalho Chehab , Greg KH , "Paul E. McKenney" , Pawan Gupta , Juergen Gross , Mike Kravetz , Oliver Neukum , Peter Zijlstra , Fenghua Yu , reinette.chatre@intel.com, vineela.tummalapalli@intel.com, Dave Hansen , Arjan van de Ven , caoj.fnst@cn.fujitsu.com, Baoquan He , Kees Cook , Dan Williams , eric.auger@redhat.com, aaronlewis@google.com, Peter Xu , makarandsonare@google.com, "open list:DOCUMENTATION" , LKML , kvm list , "open list:KERNEL SELFTEST FRAMEWORK" , Kernel Hardening Subject: Re: [PATCH 2/4] KVM: x86: Introduce paravirt feature CR0/CR4 pinning Message-ID: <20200715044129.GA11248@linux.intel.com> References: <124a59a3-a603-701b-e3bb-61e83d70b20d@intel.com> <20200707211244.GN20096@linux.intel.com> <19b97891-bbb0-1061-5971-549a386f7cfb@intel.com> <31eb5b00-9e2a-aa10-0f20-4abc3cd35112@redhat.com> <20200709154412.GA25@64c96d3be97b> <6040c3b3-cac9-cc0e-f0de-baaa274920a2@intel.com> <20200714053930.GC25@760745902f30> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200714053930.GC25@760745902f30> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 05:39:30AM +0000, Andersen, John wrote: > With regards to FSGSBASE, are we open to validating and adding that to the > DEFAULT set as a part of a separate patchset? This patchset is focused on > replicating the functionality we already have natively. Kees added FSGSBASE pinning in commit a13b9d0b97211 ("x86/cpu: Use pinning mask for CR4 bits needing to be 0"), so I believe it's a done deal already.