linux/arch/powerpc
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
..
boot crypto: dts - Addition of missing SEC compatibile property in c29x device tree 2014-07-08 21:06:32 +08:00
configs KVM: PPC: Remove 440 support 2014-07-28 15:23:15 +02:00
crypto
include Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
kernel Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
kvm KVM: irqchip: Provide and use accessors for irq routing table 2014-08-05 14:26:16 +02:00
lib powerpc: use _GLOBAL_TOC for memmove 2014-07-22 15:56:04 +10:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm powerpc: Clean up MMU_FTRS_A2 and MMU_FTR_TYPE_3E 2014-07-11 12:55:05 +10:00
net powerpc: bpf: Fix the broken LD_VLAN_TAG_PRESENT test 2014-06-27 16:14:12 -07:00
oprofile cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE} 2014-03-19 14:10:24 +01:00
perf powerpc/perf: Fix MMCR2 handling for EBB 2014-07-23 17:16:47 +10:00
platforms powerpc/powernv: Change BUG_ON to WARN_ON in elog code 2014-07-28 11:30:54 +10:00
sysdev powerpc/kmemleak: Do not scan the DART table 2014-06-24 14:29:46 +10:00
xmon powerpc/xmon: avoid format string leaking to printk 2014-06-11 17:04:03 +10:00
Kconfig locking/mutex: Disable optimistic spinning on some architectures 2014-07-16 14:57:07 +02:00
Kconfig.debug Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
Makefile Merge branch 'merge' into next 2014-05-28 13:30:12 +10:00
relocs_check.pl