Linux KVM/arm64 development list
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Oliver Upton <oliver.upton@linux.dev>
Cc: kvmarm@lists.linux.dev, Joey Gouly <joey.gouly@arm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>
Subject: Re: [PATCH 0/4] KVM: arm64: Fixes/clarification for GICv4 vLPI injection
Date: Wed, 26 Feb 2025 18:58:51 +0000	[thread overview]
Message-ID: <864j0gr0r8.wl-maz@kernel.org> (raw)
In-Reply-To: <20250226183124.82094-1-oliver.upton@linux.dev>

On Wed, 26 Feb 2025 18:31:20 +0000,
Oliver Upton <oliver.upton@linux.dev> wrote:
> 
> Small batch of fixes for vLPI injection issues that can happen when
> userspace is being mean:
> 
>  - MSI interrupt sources could be mapped to non-MSI GSI routing entries.
>    KVM doesn't account for the routing type and blindly attempts to map
>    a vLPI.
> 
>  - KVM_IRQFD mappings could be installed before the ITS has been
>    restored, leading to kvm_vgic_v4_set_forwarding() failing due to the
>    missing guest translation
> 
> Prevent userspace from triggering a WARN() because of these issues and
> gracefully fall back to software vLPI routing/injection should irqbypass
> fail.
> 
> I've thrown in some documentation on the restore ordering necessary to get
> GICv4 vLPI injection working correctly as well.
> 
> Marc, I'm planning to take these for 6.15.

Go for it.

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.

  parent reply	other threads:[~2025-02-26 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26 18:31 [PATCH 0/4] KVM: arm64: Fixes/clarification for GICv4 vLPI injection Oliver Upton
2025-02-26 18:31 ` [PATCH 1/4] KVM: arm64: vgic-v4: Only attempt vLPI mapping for actual MSIs Oliver Upton
2025-02-26 18:31 ` [PATCH 2/4] KVM: arm64: vgic-v4: Only WARN for HW IRQ mismatch when unmapping vLPI Oliver Upton
2025-02-26 18:31 ` [PATCH 3/4] KVM: arm64: vgic-v4: Fall back to software irqbypass if LPI not found Oliver Upton
2025-02-26 18:31 ` [PATCH 4/4] KVM: arm64: Document ordering requirements for irqbypass Oliver Upton
2025-02-26 18:58 ` Marc Zyngier [this message]
2025-02-26 21:27 ` [PATCH 0/4] KVM: arm64: Fixes/clarification for GICv4 vLPI injection Oliver Upton

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=864j0gr0r8.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=joey.gouly@arm.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=oliver.upton@linux.dev \
    --cc=suzuki.poulose@arm.com \
    /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