linux/arch
Paul Mackerras 8ba918d488 KVM: irqchip: Provide and use accessors for irq routing table
This provides accessor functions for the KVM interrupt mappings, in
order to reduce the amount of code that accesses the fields of the
kvm_irq_routing_table struct, and restrict that code to one file,
virt/kvm/irqchip.c.  The new functions are kvm_irq_map_gsi(), which
maps from a global interrupt number to a set of IRQ routing entries,
and kvm_irq_map_chip_pin, which maps from IRQ chip and pin numbers to
a global interrupt number.

This also moves the update of kvm_irq_routing_table::chip[][]
into irqchip.c, out of the various kvm_set_routing_entry
implementations.  That means that none of the kvm_set_routing_entry
implementations need the kvm_irq_routing_table argument anymore,
so this removes it.

This does not change any locking or data lifetime rules.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Tested-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-08-05 14:26:16 +02:00
..
alpha Merge commit '3cf2f34' into sched/core, to fix build error 2014-06-12 13:46:37 +02:00
arc ARC: [SMP] Enable icache coherency 2014-06-26 11:59:01 +05:30
arm Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
arm64 KVM/ARM New features for 3.17 include: 2014-08-05 09:47:45 +02:00
avr32
blackfin This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
c6x
cris cris: update comments for generic idle conversion 2014-06-06 16:08:18 -07:00
frv
hexagon
ia64 Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
m32r
m68k m68k: Export mach_random_get_entropy to modules 2014-07-11 10:37:53 +02:00
metag metag: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:58:09 -04:00
microblaze microblaze: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:08 -04:00
mips Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
mn10300
openrisc
parisc This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
powerpc KVM: irqchip: Provide and use accessors for irq routing table 2014-08-05 14:26:16 +02:00
s390 KVM: irqchip: Provide and use accessors for irq routing table 2014-08-05 14:26:16 +02:00
score
sh This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
sparc This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
tile tile: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:03 -04:00
um um: segv: Save regs only in case of a kernel mode fault 2014-07-20 13:39:27 +02:00
unicore32 unicore32: Remove ARCH_HAS_CPUFREQ config option 2014-06-20 08:22:41 +08:00
x86 Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
xtensa Xtensa fixes for 3.16: 2014-07-15 22:18:30 -07:00
.gitignore
Kconfig