Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2945005rwd; Fri, 2 Jun 2023 17:59:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7aauPNVLtdyzHYcQ7rF6J4pSmKGL9Je3+7g/NfGMqr1/69K8hUDQXfDvG5uWcOb55KQeaH X-Received: by 2002:a17:90a:6942:b0:253:340d:77d8 with SMTP id j2-20020a17090a694200b00253340d77d8mr1332045pjm.33.1685753950833; Fri, 02 Jun 2023 17:59:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685753950; cv=none; d=google.com; s=arc-20160816; b=jC6pwpwEX+9QorZQG7FfIknbUyHFOh97Vxc31Yyu0/0YesHKFfNZ6RUHpykW/391gW cHAYn3v527dCe6k6A7pSnC/TMtJRatwJH8aPYgpGvtlpSXX2dKWmY30+Ltv9Lk3PUXQF tqJfvwWqatt4fwRHDSHDSBD14zY5AS4XDX7BGZVuwAB0dX5Z++Gm+cE9HmGMygEHG64j rDM2T6/VnDa9OfYiEW8e2f21bL8Xp/MOsX9dWhuXoYknPXQEyC3LHi6k6FOjCyZn/h4E nUfjRmr+9YOeM4qBbtnh3OPWtbbG/gF583ATmda4vNRaYjBHTEhBhudOcXUOmQELBhKj w4iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=XmIMcPVGS0k6n0EiT+HGbgRbY6otS4LW3O2Qm/7SDBM=; b=CagB9okWbiroyDsfCWsC+PiX3i9NdgIeOo7BCvMEqXWpAEvE0OoFHPbpnPpW8IOhOj f5amQ8yY4iTNQ5EHuRokVFtJ0rcfTlT2QjqrDpv2/AfApKHTJSsn3LfjdeyS7sAdh1SD I3+jmQkulMzYrGKSeceMOZdsTWjXWrNbfnUbOLwPCrJMW5/l29Qp1z4JPaqdcRltUvbc FCUu//YJ1qcASoE2PFYGPlLlyqIZJ01VLvwJEz3BuiUPGvl2G3+GZVzGoxO3P2xOhUGS Y/N7T1OJlinmyhJ0SlKzckE1d6RGiSve+NN575mF7/mbikNiEe+KIaqJmPoydLXucRMb 6sIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=e23hOxkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a17090a604900b002564cbf5404si1880781pjm.78.2023.06.02.17.58.59; Fri, 02 Jun 2023 17:59:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=e23hOxkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236976AbjFCAwm (ORCPT + 99 others); Fri, 2 Jun 2023 20:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236953AbjFCAwg (ORCPT ); Fri, 2 Jun 2023 20:52:36 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082B0E53 for ; Fri, 2 Jun 2023 17:52:35 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-5692be06cb2so32375387b3.1 for ; Fri, 02 Jun 2023 17:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685753554; x=1688345554; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=XmIMcPVGS0k6n0EiT+HGbgRbY6otS4LW3O2Qm/7SDBM=; b=e23hOxkqjoZysJGj5raBz6iGfFys3yTqE/Ii8Po524fwzT4Mg6wW359rgdDf2PEUmd 3qhoEu+tTPrV7KII58r4o9rgg3ekRRM9LI1Tu1uhVLDiJRKKvHBIr3NfpAxqYpjoaApc 39H391m9CcY46SGR2RmBEofeFZtBdUGS/UrMsqTlLl57sIDBV4YrbxDAWtE9O7VbHk+V Q4KNrHu1M0FpdAlRiMwcU1m3HznNH00KKKv0VChQsfOMyHMxIUAZCy4CSJ2v/hwa9w6f 8G9rcjUmm9A01ttvbyDyYmvELFYowKUBGoJKpmTAaGTdSOcVPpWDBpyrGVkEiSeeaiOL cbig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685753554; x=1688345554; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XmIMcPVGS0k6n0EiT+HGbgRbY6otS4LW3O2Qm/7SDBM=; b=aryPBKYiOX0BnXY7irIl6ImeyymSgAARbneucqpme7bYzZbWX5EuyZrAfydMtxjywm wPbn6gBLyuOz9i93OJ1DpWYnvNpQGjMuBL7OmYzgiNuDFlp+t7oiUUJdEtafOz63vQav u0Mzx/FLLNPOkgaoYQtrx2xGMNcBJgBp48QOyHFFuAyKJpYjdDXyPs9fEOLl1O7B5K50 Tg38RqFGTSEUHlefxguR4H3kAV9Vl6a+DrloxPdfiby3VWg5G6q6xGeDsxNo+KTqLLaA r49MNKid2eRmjdhJOw4/AX44BpBOjD/aAFcovTOX+iCtmrK8+00OyfbnwanApW88k7Kw 4QZA== X-Gm-Message-State: AC+VfDynzDYyylyJFxkrAZX15toDvPDP905mIiOxjExA2okN0oRzkJJB NJ89ZQCvyDNDEE4fVryvo/ZuOdTmCyE= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:404d:0:b0:552:abfa:1e77 with SMTP id m13-20020a81404d000000b00552abfa1e77mr703635ywn.5.1685753554327; Fri, 02 Jun 2023 17:52:34 -0700 (PDT) Date: Fri, 2 Jun 2023 17:52:24 -0700 In-Reply-To: Mime-Version: 1.0 References: X-Mailer: git-send-email 2.41.0.rc2.161.g9c6817b8e7-goog Message-ID: <168574913038.1016879.4889109727408335591.b4-ty@google.com> Subject: Re: [PATCH] KVM: SVM: vNMI pending bit is V_NMI_PENDING_MASK not V_NMI_BLOCKING_MASK From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , "Maciej S. Szmigiero" Cc: Maxim Levitsky , Santosh Shukla , vkuznets@redhat.com, jmattson@google.com, thomas.lendacky@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 May 2023 13:26:18 +0200, Maciej S. Szmigiero wrote: > While testing Hyper-V enabled Windows Server 2019 guests on Zen4 hardware > I noticed that with vCPU count large enough (> 16) they sometimes froze at > boot. > With vCPU count of 64 they never booted successfully - suggesting some kind > of a race condition. > > Since adding "vnmi=0" module parameter made these guests boot successfully > it was clear that the problem is most likely (v)NMI-related. > > [...] Applied to kvm-x86 fixes, thanks! [1/1] KVM: SVM: vNMI pending bit is V_NMI_PENDING_MASK not V_NMI_BLOCKING_MASK https://github.com/kvm-x86/linux/commit/b2ce89978889 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes