From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="sMxnsD/8" 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 271F8132 for ; Thu, 7 Dec 2023 08:31:12 -0800 (PST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-5d3bdbf1fb5so11293987b3.2 for ; Thu, 07 Dec 2023 08:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1701966671; x=1702571471; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=5rIP8xiIeStLAZxAKenikHJEOOwixpMvqcR8yCub0Xc=; b=sMxnsD/8UW1venRLzWrYQDXljCWKOCPybe/VCyNmXLC+x8UoRUbe/CX+BfK2BfLY1G eKqP3ZyzwFKeDKLM7oZldXIAUOB/zetvlFY/tz9GT5RuRpLTLxljXxrR0vmGL+PX7uuM +krG91QILeNdcNNl6MQ2VC92N9PePPlnVNwV9g11dicgZb2moOh7rUedpg+qXQLkAPy1 5Fvz+4Ug6MRqU2FDMUcf0459sQDtVJeuSDpFxHfWaYClMXAwcBxXI54u0zGubc5luK1m Ye9J3cRNnOhQNWSW6RY3G/aOovyumE8hmy33WY8yYfNX2gsuRrt3HrMe7PFqHmJQPlZX k+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701966671; x=1702571471; 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=5rIP8xiIeStLAZxAKenikHJEOOwixpMvqcR8yCub0Xc=; b=uLWzuAk0oVQnMa8oUxZGw9rxW6khrIG6Aizb/xr/0Wb0Z/3R1HLEtVBlcIylX8ke8n Mo84bBe6NfSoBZvr1xJpazoIuzm6usMxnUDDh9BFpSb9omrjIxrgpgtWMJYqjbr1HeRD YAOmBN5VdjAWm7gtZimLMjhoq6zFPTjx+5arZI+56w2mbmzC7QCWLaMvPR9o4CYcDXtk J3yPLeJxFhLF/ND/bu8gLfXJrCPZsWgiwPy6MZNQvhQUSP8xZWuQX2fwDu8511AnHwDH f8qGPE7gigu2qu3Z+R3BPckmJOstyRsKolIg/+G8DcxlOPF2P7URJEbV+KZGrZoXHcWl JbuA== X-Gm-Message-State: AOJu0YzSeR3kpgZ9ePBPd8jxF43IcLCdyHb84UDoBdJwyGt7DfiSPWoL kfIF5rQq8RuQoDR7gogyNIMTXJVImXY= X-Google-Smtp-Source: AGHT+IEh9Rr8D8QQlvOmctOaR9hVclvbUIw+QMeJkaeNbeH5dAiquzhAL9U2TiuYPw8pniVHDfDH/0NQKc8= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:cc44:0:b0:d9a:e3d9:99bd with SMTP id l65-20020a25cc44000000b00d9ae3d999bdmr35659ybf.5.1701966671331; Thu, 07 Dec 2023 08:31:11 -0800 (PST) Date: Thu, 7 Dec 2023 08:31:09 -0800 In-Reply-To: <6cd419ff-97d9-495b-bc9c-0c53c4b1e3d1@gmail.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20231206032054.55070-1-likexu@tencent.com> <6cd419ff-97d9-495b-bc9c-0c53c4b1e3d1@gmail.com> Message-ID: Subject: Re: [PATCH v2] KVM: x86/intr: Explicitly check NMI from guest to eliminate false positives From: Sean Christopherson To: Like Xu Cc: Paolo Bonzini , Andi Kleen , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Thu, Dec 07, 2023, Like Xu wrote: > On 6/12/2023 11:30 pm, Sean Christopherson wrote: > > Please don't make up random prefixes. This should really be "x86/pmu". > > Thanks. > > I'm hesitant to categorize about NMI handling into kvm/pmu scope. Why? Literally the only thing this can affect is PMU behavior. Even if there's a bug that affects the kernel's PMU, that's still x86/pmu as far as KVM is concerned.