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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FE09C6FA82 for ; Tue, 20 Sep 2022 01:16:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbiITBQC (ORCPT ); Mon, 19 Sep 2022 21:16:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiITBQA (ORCPT ); Mon, 19 Sep 2022 21:16:00 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D2C640BFD for ; Mon, 19 Sep 2022 18:15:59 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id v1so866080plo.9 for ; Mon, 19 Sep 2022 18:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=gU6sZmicsJoaIGHDKcaeVi6YbG7f7K09FK6stSvw1oI=; b=bxq3XL2/SXzRLYXzXWpmY1AzxAn850aE2sUXr91sQajALuLcinc6b1D0B5+Pw8PsYv gXhMaCrTNG9RNblSopazjRVJmorDkBbafi3AzCG9fyTlzAJDwjQHgVu6bCbLe/xWmheI jTfI8Fz+swp3k20Da3gKI5o8K5TM+aiATPAx6jtOTL2p2s0CERKddXDnkGHkKdDEcyeS K2hErCl84FDAjRHLKz+4S7vf0O0eHT4kq5cpg13OkeoXRtw7X0H7lkO+SeD3bZJ7gPbP bj4MCl6cNHjeSDRIFX4VyUU6CyONxJeo1PhKSix0Yq9+S4tiTnMJBhKkAV+eDP0h3Gq/ PI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=gU6sZmicsJoaIGHDKcaeVi6YbG7f7K09FK6stSvw1oI=; b=6SDhyxAqDm98Ja67ikeIQprWn2stOhRARKl4PRxj7yUWIySzyGTW+iogXFHSknGqK3 Fo/vmcoaFyGcmM0BvSSRtOtRJD1N3FpUpHaoOF5irrEWOnmJyBih1llf01gJmo0vwmAH wuiF2s2xhzFJSNGKbaxUvCAYrCkPg36wp8tsH+iOtcKVX4rb9hVpXV7/VNSyRFcNXwNm BHn7o3QYHPYgHB5L6BENUyvHOBnA/a3gRLzHMPnTnVUSZ137a/iEde6v4aL/cvP0Tr60 beIVRuomc18Z7nmReu67WBi7z/MqpIZfcU9+uM58Q5qs5BvmqcYXxEp5Jh4G2qPIGC61 32OQ== X-Gm-Message-State: ACrzQf3TBTDZGoRRB86RVmh0g2G/d9gXoT0kuL+cXorkfvh6Lpb4ZdoA E3NSHWO8BDYKvQVJ/yRxQBSkJw== X-Google-Smtp-Source: AMsMyM6mCK7tZiA7l0BLrWcQRyYYvKOaVe2pjavOYvJJvwlbgcBC0O2aPwLoQXTxhFVHA7vpHbllMA== X-Received: by 2002:a17:902:c40b:b0:178:e34:efa9 with SMTP id k11-20020a170902c40b00b001780e34efa9mr2446911plk.10.1663636558956; Mon, 19 Sep 2022 18:15:58 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id p22-20020a1709027ed600b0017837d30a8csm13393plb.254.2022.09.19.18.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 18:15:58 -0700 (PDT) Date: Tue, 20 Sep 2022 01:15:54 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, mlevitsk@redhat.com Subject: Re: [PATCH v3 0/7] KVM: x86: never write to memory from kvm_vcpu_check_block Message-ID: References: <20220822170659.2527086-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Sat, Sep 17, 2022, Sean Christopherson wrote: > The eponymous patch breaks handling of INITs (and SIPIs) that are "latched"[1] > and later become unblocked, e.g. due to entering VMX non-root mode or because SVM's > GIF is set. vmx_init_signal_test fails because KVM fails to re-evaluate pending > events after entering guest/non-root. It passes now because KVM always checks > nested events in the outer run loop. > > I have fixes, I'll (temporarily) drop this from the queue and post a new version of > this series on Monday. And by "Monday" I meant "Tuesday", the weird pending_events snapshot thing sent me down a bit of a rabbit hole.