]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Add IRQ GSI routing library functions
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:39:03 +0000 (18:39 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:24:48 +0000 (19:24 +0000)
commitc3f9143cd07cfa2a838ff86fbef7e0913c091568
tree3137f95ce0f2f59f0e9767f89a19f4665af88f52
parent89f01445f24a3c01c946d7d0e51263dae428d047
KVM: selftests: Add IRQ GSI routing library functions

Add an architecture independent wrapper function for creating and
writing IRQ GSI routing tables. Also add a function to add irqchip
entries.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Acked-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211109023906.1091208-15-ricarkol@google.com
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c