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 X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 B96BBC433F5 for ; Wed, 22 Sep 2021 09:57:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 91B3361107 for ; Wed, 22 Sep 2021 09:57:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234549AbhIVJ6h (ORCPT ); Wed, 22 Sep 2021 05:58:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:43528 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234413AbhIVJ6g (ORCPT ); Wed, 22 Sep 2021 05:58:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632304626; 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=H8lXYjCiQE1RsLJOpWSQ54LN6mhNiVsVotKqDRIpqpU=; b=YBZjxL8ndIWf8E9tpkJV2niVdoiTOO5bwYTfkF7l0OrJrUXoEyYPpO+K6Ths5y33lzgRh5 2EuhfcdGM4gZPfIDk9W69XSokzwBMiIcVWJxWphiEXY7zaVK5hc3Fss3PodIrwi2KC+9u6 w5TLA0p4W1CfpqCwqArIoDEQTC5U4gA= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-577-3DCkOkvGMQKWJVS4euGqzg-1; Wed, 22 Sep 2021 05:57:05 -0400 X-MC-Unique: 3DCkOkvGMQKWJVS4euGqzg-1 Received: by mail-ed1-f72.google.com with SMTP id w24-20020a056402071800b003cfc05329f8so2415878edx.19 for ; Wed, 22 Sep 2021 02:57:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=H8lXYjCiQE1RsLJOpWSQ54LN6mhNiVsVotKqDRIpqpU=; b=wVHGyzwCWh5thX/yx3dycIVZP/1mbgGZ5ZdSOLGAMEPC2vD5S6dc82eqfQJO7S/MJh XkyuwQRx6go9Ok/1v3tmRQTBdcPJn4+JskHizYQjzYM7mfavn0rkxOGPehET96QAdwyp Bvdfzcd6s6AbZyzreU1nsJNimdzBpyA9YeF2a4E30MYxUgXYlSc6CoHwXxTKG5VT+4Qs bsVssjnl78wwNa4PLIrr3JxNR5FgG2ZOo05N0AoQsbXfxJNuBqR1J5vLd0gNj6ugFsuZ jq9URQkds7dpBAQWvPuaOCRoOg8EtK3fLA99FLgBLBIGDs7taGAx+urruV0BYqarz2xU V0LQ== X-Gm-Message-State: AOAM5332BazvwDx96lSmfZGWeZw6u4bKVTZAoYBnsvH+prZC2kjtrEDS KmzskHXORh66DM6wme3sygnV7uJ0Z5x7jIPx4vKSStMvrfzRBrTtTg/pcVUy25JNwP6CUo/81Zi PdQ/aRKiVC1349I6QGJgCkkcctOJq/lpG+U13sNwKONR4ruhTx3qkuauKkkqcqtPtzdksa4Gbzc 1X X-Received: by 2002:a17:906:9747:: with SMTP id o7mr40352315ejy.486.1632304623507; Wed, 22 Sep 2021 02:57:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyb9ww+gqCqOmTPJDggbxqTKvN9bBkyT5bul3yrAh9YWIrPXDtI44i1X+d5sBET3nXuFs313w== X-Received: by 2002:a17:906:9747:: with SMTP id o7mr40352293ejy.486.1632304623257; Wed, 22 Sep 2021 02:57:03 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id m15sm807012ejx.73.2021.09.22.02.57.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Sep 2021 02:57:02 -0700 (PDT) Subject: Re: [PATCH v2] KVM: nVMX: Fix nested bus lock VM exit To: Sean Christopherson , Chenyi Qiang Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Xiaoyao Li , kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210914095041.29764-1-chenyi.qiang@intel.com> From: Paolo Bonzini Message-ID: <37eb4ef4-7dd2-1bbb-f250-8a600b91e749@redhat.com> Date: Wed, 22 Sep 2021 11:57:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/09/21 16:52, Sean Christopherson wrote: > On Tue, Sep 14, 2021, Chenyi Qiang wrote: >> Nested bus lock VM exits are not supported yet. If L2 triggers bus lock >> VM exit, it will be directed to L1 VMM, which would cause unexpected >> behavior. Therefore, handle L2's bus lock VM exits in L0 directly. >> >> Fixes: fe6b6bc802b4 ("KVM: VMX: Enable bus lock VM exit") > > Cc: stable@vger.kernel.org > >> Signed-off-by: Chenyi Qiang >> >> --- > > Reviewed-by: Sean Christopherson > Queued, thanks. Paolo