mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Khushit Shah <khushit.shah@nutanix.com>,
	seanjc@google.com,  pbonzini@redhat.com, kai.huang@intel.com
Cc: mingo@redhat.com, x86@kernel.org, bp@alien8.de, hpa@zytor.com,
	 linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	dave.hansen@linux.intel.com,  tglx@linutronix.de,
	jon@nutanix.com, shaju.abraham@nutanix.com
Subject: Re: [PATCH v5 1/3] KVM: x86: Refactor suppress EOI broadcast logic
Date: Fri, 02 Jan 2026 16:23:35 +0000	[thread overview]
Message-ID: <e09b6b6f623e98a2b21a1da83ff8071a0a87f021.camel@infradead.org> (raw)
In-Reply-To: <20251229111708.59402-2-khushit.shah@nutanix.com>

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

On Mon, 2025-12-29 at 11:17 +0000, Khushit Shah wrote:
> Extract the suppress EOI broadcast (Directed EOI) logic into helper
> functions and move the check from kvm_ioapic_update_eoi_one() to
> kvm_ioapic_update_eoi() (required for a later patch). Prepare
> kvm_ioapic_send_eoi() to honor Suppress EOI Broadcast in split IRQCHIP
> mode.
> 
> Introduce two helper functions:
> - kvm_lapic_advertise_suppress_eoi_broadcast(): determines whether KVM
>   should advertise Suppress EOI Broadcast support to the guest
> - kvm_lapic_respect_suppress_eoi_broadcast(): determines whether KVM should
>   honor the guest's request to suppress EOI broadcasts
> 
> This refactoring prepares for I/O APIC version 0x20 support and userspace
> control of suppress EOI broadcast behavior.
> 
> Signed-off-by: Khushit Shah <khushit.shah@nutanix.com>

Looks good to me, thanks for pushing this through to completion!


Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>

Nit: Ideally I would would prefer to see an explicit 'no functional
change intended' and a reference to commit 0bcc3fb95b97a.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5069 bytes --]

  reply	other threads:[~2026-01-02 16:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-29 11:17 [PATCH v5 0/3] KVM: x86: Add userspace control for Suppress EOI Broadcast Khushit Shah
2025-12-29 11:17 ` [PATCH v5 1/3] KVM: x86: Refactor suppress EOI broadcast logic Khushit Shah
2026-01-02 16:23   ` David Woodhouse [this message]
2026-01-12  4:15     ` Khushit Shah
2026-01-13 23:40       ` David Woodhouse
2026-01-14  0:10       ` Sean Christopherson
2026-01-16  4:41         ` Khushit Shah
2026-01-16  9:01         ` David Woodhouse
2026-01-16 10:02           ` Khushit Shah
2026-01-16 17:34             ` Sean Christopherson
2026-01-23 13:04               ` Khushit Shah
2026-01-13 23:11   ` Sean Christopherson
2025-12-29 11:17 ` [PATCH v5 2/3] KVM: x86/ioapic: Implement support for I/O APIC version 0x20 with EOIR Khushit Shah
2025-12-29 11:39   ` David Woodhouse
2025-12-29 12:21     ` Khushit Shah
2025-12-29 13:01       ` David Woodhouse
2025-12-29 15:16         ` Khushit Shah
2025-12-29 15:36           ` David Woodhouse
2025-12-29 15:57             ` Khushit Shah
2026-01-02 16:17               ` David Woodhouse
2026-01-12  3:22                 ` Khushit Shah
2025-12-29 11:17 ` [PATCH v5 3/3] KVM: x86: Add x2APIC "features" to control EOI broadcast suppression Khushit Shah
2026-01-02 16:41   ` David Woodhouse
2026-01-12  3:27     ` Khushit Shah
2026-01-29  4:49 ` [PATCH v5 4/3] KVM: selftests: Add test cases for EOI suppression modes David Woodhouse
2026-01-29 15:19   ` Sean Christopherson
2026-01-29 15:58     ` David Woodhouse
2026-02-04  0:00       ` Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e09b6b6f623e98a2b21a1da83ff8071a0a87f021.camel@infradead.org \
    --to=dwmw2@infradead.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jon@nutanix.com \
    --cc=kai.huang@intel.com \
    --cc=khushit.shah@nutanix.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=shaju.abraham@nutanix.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®