]> xenbits.xensource.com Git - xen.git/commit
ARM: new VGIC: Add IRQ sorting
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 12:13:36 +0000 (12:13 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 27 Mar 2018 19:46:29 +0000 (12:46 -0700)
commit73a10cb91a4e5c6f7049a78a12dcdea3460f0bd1
treea5399f6ff536ecbd1ffec536320b7ac40e97860b
parent14555c8e10dc0946bd4cf3052bf5b894eb7b7d0d
ARM: new VGIC: Add IRQ sorting

Adds the sorting function to cover the case where you have more IRQs
to consider than you have LRs. We consider their priorities.
This uses the new sort_list() implementation imported from Linux.

This is based on Linux commit 8e4447457965, written by Christoffer Dall.

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