Re: [PATCH v2 6.1.y 1/3] KVM: nVMX: Add a helper to get highest pending from Posted Interrupt vector

From: Admin

Date: Mon Jun 22 2026 - 23:04:10 EST


> This is misleading. The helper is in arch/x86/kvm/vmx/posted_intr.h, even in
> upstream. I don't know if I *intentionally* put the helper in KVM code, but for
> for whatever reason, I did.
>
> Commit 699f67512f04 caused a conflict that needed to be resolved in the 6.1
> backport, but that didn't have anything to do with needing to re-home the helper.
>
> That only matters because I was going to ask if we'd be better off backporting
> asm/posted_intr.h so that the helper would live in it's "proper" location, but
> the answer on that front is "no", because it's already there.
>
> FWIW, I got the same conflict resolution, it's just the blurb that's confusing.

Thanks, Sean. Yes I see it now, the conflict was 699f67512f04 not
being in 6.1.y, not the helper's location. Apologies for the
misattribution.