From patchwork Thu Jan 21 17:10:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 12037241 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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 2E996C433E9 for ; Thu, 21 Jan 2021 17:28:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DEB8B207C5 for ; Thu, 21 Jan 2021 17:28:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388574AbhAUROC (ORCPT ); Thu, 21 Jan 2021 12:14:02 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:29120 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388531AbhAURMV (ORCPT ); Thu, 21 Jan 2021 12:12:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611249055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gj145NXZKVxVx1ghR0FfUZ22hzpc5dsaWCMQogr6chs=; b=aYCm4P9R0XKY0cPZFeR8hfqPjhiQqqXdatZ8O/csKtKNNhVvRQj1lfsD8ecbhAeGDKMRg2 byjwEOd036/3TEr4FJ6EBlrc7IWALomPbWfldR1VeMiS3skGYlBMmozalGtJUUk3UzRMC+ N8sN8V+a8WB6DY4o63ND1MrCE9H0hrw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-593-Dyxws2CMMhWBvLUgMr6g5Q-1; Thu, 21 Jan 2021 12:10:54 -0500 X-MC-Unique: Dyxws2CMMhWBvLUgMr6g5Q-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 624EC1005504; Thu, 21 Jan 2021 17:10:52 +0000 (UTC) Received: from localhost.localdomain (unknown [10.35.206.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 28CB1648A8; Thu, 21 Jan 2021 17:10:44 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Borislav Petkov , Paolo Bonzini , x86@kernel.org, Wanpeng Li , linux-kernel@vger.kernel.org, Sean Christopherson , Jim Mattson , Thomas Gleixner , Ingo Molnar , Vitaly Kuznetsov , "H. Peter Anvin" , Joerg Roedel , Maxim Levitsky Subject: [PATCH 0/2] VMX: few tracing improvements Date: Thu, 21 Jan 2021 19:10:41 +0200 Message-Id: <20210121171043.946761-1-mlevitsk@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Since the fix for the bug in nested migration on VMX is already merged by Paulo, those are the remaining patches in this series. I added a new patch to trace SVM nested entries from SMM and nested state load as well. Best regards, Maxim Levitsky Maxim Levitsky (2): KVM: nSVM: move nested vmrun tracepoint to enter_svm_guest_mode KVM: nVMX: trace nested vm entry arch/x86/kvm/svm/nested.c | 26 ++++++++++++++------------ arch/x86/kvm/trace.h | 30 ++++++++++++++++++++++++++++++ arch/x86/kvm/vmx/nested.c | 5 +++++ arch/x86/kvm/x86.c | 3 ++- 4 files changed, 51 insertions(+), 13 deletions(-)