Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6776375ybl; Wed, 15 Jan 2020 10:01:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxEGkEbmUiVJlj1wU93XYmq7OSItG+QiRPcL7pWHxYQaspVoPZLMOrgrYlzl24A1brVT903 X-Received: by 2002:a05:6808:2c4:: with SMTP id a4mr818061oid.22.1579111282058; Wed, 15 Jan 2020 10:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579111282; cv=none; d=google.com; s=arc-20160816; b=0PNblJ1OoOAGKfHOfZRHFf45JxRsGaCmR7nCaw8wQwSgbHTtOBDgIjk9iVmvMxEtKc 4hahRTaHxKIAlieIga94mWU+Vo2KmcZ/9CuvuV+zrvkw9EE5Bo1fgbsMK3ybIvmHxoEP mz4YQwbSeF7ozetXwHue46efGMBGJaTQbvLcbxHQ9TNgPBVq5cBLNxbs0vFZep+Ld8hS B+cz0oomfI3GmganN3mHZxsJyOYc8172YC3QDdXpdzWn/qpRPNoIxmC96I3Yhh/68oVW c+x1WPDjYZ0KyZGq4pg9eFCDQ7nllLONTXpaw6jVYbuvHwGoy83BR7B6fl17MOyKihKL VSUg== 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=2XapLbaOtcjtrElHHMAQ6OSRlBJ67a4EYmsF6AdwXZg=; b=numvRyMuw7gXYBATNeLgZ/2CGfkNIyUbCtILy6w8LMlfrkoCWZgCReAHBGYQ3CZ3ty VDWPiCNBlCaEqLRRlW6Ftqc7n527oaizJB3Ene2+Xf12VjZ0RNnT6PBXrz7Z0N+MdW/L vqdx+E8ARlw19g1hQ2EbuTG5aT80iPGytDWpzC6oxd8gZ9ul9rCU6lcpDQLU2DumWEFw 5rdNNzECKH81UtALC3lIp/8UzKWyotut8J3XB5gzTfhOf1akQeMMFXo4XyGIk/m3pLC/ 54bFAC74tlYHuqam9aCrudki0kr9VAqOF3/HNDPU5kg06JgIXlONAePOmehEfL6+HO5Z yajw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dRBbbcPZ; 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 v23si10754304otk.321.2020.01.15.10.01.09; Wed, 15 Jan 2020 10:01:22 -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=dRBbbcPZ; 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 S1728998AbgAOSAF (ORCPT + 99 others); Wed, 15 Jan 2020 13:00:05 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:20356 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726574AbgAOSAF (ORCPT ); Wed, 15 Jan 2020 13:00:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579111203; 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=2XapLbaOtcjtrElHHMAQ6OSRlBJ67a4EYmsF6AdwXZg=; b=dRBbbcPZrzgky2JoOpuTTQUjxkjh3ez+SBUhUU+lWhw/Otl0+inHTPPAxGCS1CXABbD3BE cY9buOI56UJcdMMdG9Uq2ySDnHIrW9iuk7uCQbURU/q/9Clw2pkbZliqs7pMC9jNeXFsHg KzUSInuYK2/VPyudysu6XEeodTb4hhk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-436-w6tOIuM1PgmuxL2nIqCYQw-1; Wed, 15 Jan 2020 13:00:02 -0500 X-MC-Unique: w6tOIuM1PgmuxL2nIqCYQw-1 Received: by mail-wm1-f70.google.com with SMTP id l11so1710958wmi.0 for ; Wed, 15 Jan 2020 10:00:01 -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=2XapLbaOtcjtrElHHMAQ6OSRlBJ67a4EYmsF6AdwXZg=; b=FdiI87kQmxi8ZHZrzoMmByDD0CsJz1zWHoleoV3D8487b+51wl/HifxUhJX3De6uFt Xd50VzoNTC5QgOF7WVdN+1/8t+NZMZsIYsvcyUHwwwxTHk4PEJgfk8xmaMXREaD8QcWu Z4SsyDIyCyms3lVerneuAkVBEJBHOgfSYjPKvLaVvUkwnRe62BO18JTY86OxTgbtNlD6 8vwajDHBlJK6DmsM354z2ysNBaIsC73bf9u8yFJ7ky0t8mVOQtyU+G4GxR4L1tapiQPv QiQOzuxPH/vSbp1aG82Vwl2l9MRyU4Uk2kmvy0gGHKhmb+XwwNU4dOFUn3tghcbd4Aee c7FA== X-Gm-Message-State: APjAAAVcQuLPUvHU5l3wSrfnznjG5/OD2bFJlQ+PTOZO2fM/M2Kr7Op+ nw5H5G4yP4XS/9h3ww7tJNzeGacsC1CLLiUjkfF9QZnoeMErGD5CudhgrjCvIquYojcTUac2jjd fDm4wSiulUoip3AZTfVRnEjLO X-Received: by 2002:a1c:ddc5:: with SMTP id u188mr1105008wmg.83.1579111200956; Wed, 15 Jan 2020 10:00:00 -0800 (PST) X-Received: by 2002:a1c:ddc5:: with SMTP id u188mr1104980wmg.83.1579111200755; Wed, 15 Jan 2020 10:00:00 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:436:e17d:1fd9:d92a? ([2001:b07:6468:f312:436:e17d:1fd9:d92a]) by smtp.gmail.com with ESMTPSA id f17sm794870wmc.8.2020.01.15.09.59.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Jan 2020 09:59:59 -0800 (PST) Subject: Re: [PATCH 0/2] KVM: VMX: PT (RTIT) bug fix and cleanup To: Sean Christopherson Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Chao Peng , Luwei Kang References: <20191210232433.4071-1-sean.j.christopherson@intel.com> From: Paolo Bonzini Message-ID: <697cee10-cd6e-9bb6-608b-a20fc0c39f7f@redhat.com> Date: Wed, 15 Jan 2020 18:59:58 +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: <20191210232433.4071-1-sean.j.christopherson@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/19 00:24, Sean Christopherson wrote: > Add a missing non-canonical check on writes to the RTIT address MSRs > and tack on a cleanup patch. > > ** ALL PATCHES ARE COMPLETELY UNTESTED ** > > Untested due to lack of hardware. > > Sean Christopherson (2): > KVM: VMX: Add non-canonical check on writes to RTIT address MSRs > KVM: VMX: Add helper to consolidate up PT/RTIT WRMSR fault logic > > arch/x86/kvm/vmx/vmx.c | 57 ++++++++++++++++++++++++------------------ > 1 file changed, 33 insertions(+), 24 deletions(-) > Queued, thanks. Paolo