]> xenbits.xensource.com Git - xen.git/commit
ARM: GIC: ITS: remove no longer needed VCPU ID in host LPI entry
authorAndre Przywara <andre.przywara@arm.com>
Wed, 7 Jun 2017 15:28:37 +0000 (16:28 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 14 Jun 2017 18:38:37 +0000 (11:38 -0700)
commit41aca705eda86f0c712f4ddc48833e4da16ff33e
tree9f6e125daf1cfc334b64b1c64274c25e468a3899
parent33c68607f2fee360a0f48a3f717967f2f2004ea2
ARM: GIC: ITS: remove no longer needed VCPU ID in host LPI entry

To get easy access to the VCPU a forwarded LPI interrupt should be
injected to, so far we stored the VCPU ID in the host LPI entry.
However this creates a redundancy, since we keep the target VCPU in
the struct pending_irq already, which we can easily look up given the
domain and the virtual LPI number.
Apart from removing the redundancy this avoids having to update this
information later and keeping it in sync in a race-free fashion.
Since this information has not been used that, this patch actually does
not change anything, it just removes the declaration and initialization.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3-lpi.c