]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/gic-v3-its: Honor hypervisor enforced LPI range
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 May 2018 08:01:59 +0000 (09:01 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 16 Jul 2018 13:22:19 +0000 (14:22 +0100)
commit12b2905af183c931bedcab4292c81d3a415e080f
tree6c3e17b3d69030ff654f77a5d5dbf7df74889ead
parenta4f9edb29d9c19f9f8dcd2df7ddfe4eb7ad58996
irqchip/gic-v3-its: Honor hypervisor enforced LPI range

A recent extension to the GIC architecture allows a hypervisor to
arbitrarily reduce the number of LPIs available to a guest, no
matter what the GIC says about the valid range of IntIDs.

Let's factor in this information when computing the number of
available LPIs

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h