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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B82DC433F5 for ; Tue, 19 Oct 2021 16:52:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24BCD61057 for ; Tue, 19 Oct 2021 16:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234406AbhJSQyi (ORCPT ); Tue, 19 Oct 2021 12:54:38 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:35168 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbhJSQyh (ORCPT ); Tue, 19 Oct 2021 12:54:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634662344; 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=RjMQi48Y3BWRD5Wrxhvo6RSSyJjbJwh5TzWGFZw/n9U=; b=gxAknUuWaop6CXLzUcxMtyXC62cNx7F5dSR10KGM5k19xi3Q39+IwfLqobDgcPZp42DDYY C2jvLJSs2DfJwgK4cRIUU5K+bLU3P/WLiJapmWATTQ8LMGg/Af2eZMVfBw1xaBdOieEEgu brUe/Ydo0f2IbnSO/wY3Cx9swwSi0QY= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-115-vmLSzqJtMX-r3WWMbZZ8Uw-1; Tue, 19 Oct 2021 12:52:23 -0400 X-MC-Unique: vmLSzqJtMX-r3WWMbZZ8Uw-1 Received: by mail-wm1-f71.google.com with SMTP id c69-20020a1c9a48000000b0030d95485d90so1037058wme.2 for ; Tue, 19 Oct 2021 09:52:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=RjMQi48Y3BWRD5Wrxhvo6RSSyJjbJwh5TzWGFZw/n9U=; b=4Q2OG2weqdZJW0LZQmA4o4s6o7oiq9VL1q8ogTuqVvrJAUF44VGdso5PSVRMDc8L4A vj72OIyVp1hf3X5L7dj8npx+MzpNkzDFbys3EWhCvpw5K5PFHSygxdz525khuiMCEF1N V/8+6UCHK2u+sTGuoj6SO6eT9Wsuz6AAHXKKBj+UYYBqVa7fWHLJngsvME8C4K3RDZ4S 2MDWo4dC9kbPOqeAM1DGh+2ei+cqL80y8MCbUEtOLdIQUAc9r7owpCbMBPQ4qP+LI7Za oFlOrKnFK/GzmsNINsZ+jKauXFfAOG5l7CWT/Ty1vfPFzoftor7+mA9/D36NRPomh/Wo O+7w== X-Gm-Message-State: AOAM532Xs4W0DYLaOioxTWYqqpygvsBisIFroEnGL4y+18+kdIN5Mw3A 5KDTD0t7d7dp7nEiNQlxL7Pk5uRmY0KuwOl4G/hFXdOGb0jq6zH4o+0pJ5MbdMpzYDNyOoyKDUz yoR6dpX2kWf4GVaI0obVx7p3c X-Received: by 2002:adf:a390:: with SMTP id l16mr45622649wrb.291.1634662341714; Tue, 19 Oct 2021 09:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFgKUnmqhDWkJbPB/NEuTMocAhYLf4akh06ar3YPj10YH9Ht4wI/IzCQvyoWjAcfV5wfHHlw== X-Received: by 2002:adf:a390:: with SMTP id l16mr45622606wrb.291.1634662341377; Tue, 19 Oct 2021 09:52:21 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:8e02:b072:96b1:56d0? ([2001:b07:6468:f312:8e02:b072:96b1:56d0]) by smtp.gmail.com with ESMTPSA id g33sm2427155wmp.45.2021.10.19.09.52.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 09:52:20 -0700 (PDT) Message-ID: <166e2d66-1c16-29d4-3275-517310043ae0@redhat.com> Date: Tue, 19 Oct 2021 18:52:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v2 0/7] KVM: VMX: PT (processor trace) optimization cleanup and fixes Content-Language: en-US To: Xiaoyao Li Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210827070249.924633-1-xiaoyao.li@intel.com> From: Paolo Bonzini In-Reply-To: <20210827070249.924633-1-xiaoyao.li@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/08/21 09:02, Xiaoyao Li wrote: > Patch 1-3 are optimization and cleanup. > > Patch 4-7 are fixes for PT. Patch 4 and 5 fix the virtulazation of PT to > provide architectual consistent behavior for guest. Patch 6 fix the case > that malicious userspace can exploit PT to cause vm-entry failure or #GP > in KVM. Patch 7 fix the potential MSR access #GP if some PT MSRs not > available on hardware. > > Patch 3 and patch 7 are added in v2. Queued patches 1-4, thanks. Paolo