From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE07F265CAD for ; Tue, 4 Nov 2025 17:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762278440; cv=none; b=m1gmye9tSN6J0xFvpyOKdRcudJl7+F8q5A2t6PmVeoDZBXndU+JFjoWMzCQVt7aa43ojeLg+d/L+kYYBwOZWKefZbI3fjdDeczGqH8BdTZHIYyTt4aDu3bHWNS/pwTRmZthw3dHKSjeeqxyoeKooOQvQj56rzGrALc1bCGtYw4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762278440; c=relaxed/simple; bh=S0sCVlzPR9eoPq14A+UacAFHD2yAA0EnzLZ//Vsu608=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Gggdvfg2u8eC+mZnjzTN9v95Y6uzTZeO8mdUmeDHJqlTVLzOsQan9AsZo0dOSpIZJFqBRBqpo8JWWXvpmcqLf2JhW6+KqXF90eh+4avvdAt8D1n5RX+tdXAs5PMGhIiS9xCYj1UPg/x0Qy70ws4rKOya0K12tJ1uQwB4fHRE5Jg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=M2ZOYaro; arc=none smtp.client-ip=209.85.214.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="M2ZOYaro" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-27c62320f16so73082165ad.1 for ; Tue, 04 Nov 2025 09:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1762278438; x=1762883238; 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=w5AFabGERn/kq3CjV9TeBZIQ7PSk/vihUZYEXsUttjA=; b=M2ZOYarosRtn6GB23CwMOrmXWDCxgDN+SJ76YQ1C1cpLd6/cdOgwxBBlSz0JIC8f1b WDxvYcBqF9YYdUl6Ou31MrCU0tD6zvgxJvlMYyCoYsVsEvriB3xv0C2Xp+J7my+yqLk8 9kHEkGuTYTXgp99Jw45mn1FasSBe/56hp6Hsx0+K4zFdvM4IHakXaWNdDvvqlgTDQHn2 oh0GGImEEiiR5JT6oxnFmb12P4sfd39ElHxgjcqeEsnTlFV7c9AqkACDug+zBpLdLYTA Luj1O1m4tln02mohxtUSyTqcjzu6ISfYbhOELMCKcKzI7v4aZrAH+8EL61NcG9YDAnIN 8vcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762278438; x=1762883238; 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=w5AFabGERn/kq3CjV9TeBZIQ7PSk/vihUZYEXsUttjA=; b=EKlgoElVc+W5rzhI8rpBruWR98VIzDmkk6KdYqkIbauowNr7+OmQvyZWLaFOwTNGPK mVvDC9QcMjFetl81/SymYdDZP3TtAllkUNNNsUzX+Yfj6eGdbFwM6cEsFQXZtVodebwi gL7we1jmc0LhdHrpaxN3bXsxLEPdCyss4MoKsdHVLvtiXfQOfBgbqlCR7Z6CaOA9ex/q eM1pNfAvP6p/YURPHR3XhtVW+wEnFmrYWe+zmLes1etMCjwKu2I9PS7S8T/cWW5e2Ty6 92Qot/oLLz99mXjEYzNbXAXyG3jLkkLl2U7Hbi/f/bpFviFpfd2HCnX1cT7Fiew2yhBx /UZw== X-Forwarded-Encrypted: i=1; AJvYcCUaNU/sxusL6YlA0twKIY39PvvpfZ+6qdc8RynSIGoyeoaPeoerLnFHSE/3OHhUE4+cO1XvtDKmns16IuM=@vger.kernel.org X-Gm-Message-State: AOJu0YxX5Tk3wiis94W0eAdGzJG3lq64VGojP/sI9dLzRZHS0PAVZIIt R5blAZZv/Qijc8nhVtu7gXVzNccUM9i04HTPOvhnKhMhGHI684xvInl38RZHhbUzMfFBEDafwSA 4YZWQDw== X-Google-Smtp-Source: AGHT+IFg3NGUF9sujv8fjNyHVjuWkNk4Z7OyiLtDMvv9mtmpZ+fAOxYeJEYFoOh9SMnnZ0Ss5+pHdF1AuN4= X-Received: from plmn12.prod.google.com ([2002:a17:903:188c:b0:290:28e2:ce57]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:ccc7:b0:295:5a06:308d with SMTP id d9443c01a7336-2962add9ee4mr6212375ad.14.1762278438141; Tue, 04 Nov 2025 09:47:18 -0800 (PST) Date: Tue, 4 Nov 2025 09:45:10 -0800 In-Reply-To: <20251030185004.3372256-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251030185004.3372256-1-seanjc@google.com> X-Mailer: git-send-email 2.51.2.1006.ga50a493c49-goog Message-ID: <176227778227.3933113.7943580154126405965.b4-ty@google.com> Subject: Re: [PATCH] KVM: x86: Add a helper to dedup reporting of unhandled VM-Exits From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Thu, 30 Oct 2025 11:50:03 -0700, Sean Christopherson wrote: > Add and use a helper, kvm_prepare_unexpected_reason_exit(), to dedup the > code that fills the exit reason and CPU when KVM encounters a VM-Exit that > KVM doesn't know how to handle. > > Applied to kvm-x86 misc, thanks! [1/1] KVM: x86: Add a helper to dedup reporting of unhandled VM-Exits https://github.com/kvm-x86/linux/commit/65a70164aba7 -- https://github.com/kvm-x86/linux/tree/next