Thread (62 messages) 62 messages, 3 authors, 2026-01-28

Re: [PATCH v3 08/36] KVM: arm64: gic: Introduce interrupt type helpers

From: Jonathan Cameron <jonathan.cameron@huawei.com>
Date: 2026-01-12 14:45:13
Also in: kvm, kvmarm

On Fri, 9 Jan 2026 17:04:41 +0000
Sascha Bischoff [off-list ref] wrote:
GICv5 has moved from using interrupt ranges for different interrupt
types to using some of the upper bits of the interrupt ID to denote
the interrupt type. This is not compatible with older GICs (which rely
on ranges of interrupts to determine the type), and hence a set of
helpers is introduced. These helpers take a struct kvm*, and use the
vgic model to determine how to interpret the interrupt ID.

Helpers are introduced for PPIs, SPIs, and LPIs. Additionally, a
helper is introduced to determine if an interrupt is private - SGIs
and PPIs for older GICs, and PPIs only for GICv5.

The helpers are plumbed into the core vgic code, as well as the Arch
Timer and PMU code.

There should be no functional changes as part of this change.

Signed-off-by: Sascha Bischoff <redacted>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help