kernel_optimize_test/arch/mips
Matt Redfearn 7bf8b16d1b
MIPS: Generic: Support GIC in EIC mode
The GIC supports running in External Interrupt Controller (EIC) mode,
and will signal this via cpu_has_veic if enabled in hardware. Currently
the generic kernel will panic if cpu_has_veic is set - but the GIC can
legitimately set this flag if either configured to boot in EIC mode, or
if the GIC driver enables this mode. Make the kernel not panic in this
case, and instead just check if the GIC is present. If so, use it's CPU
local interrupt routing functions. If an EIC is present, but it is not
the GIC, then the kernel does not know how to get the VIRQ for the CPU
local interrupts and should panic. Support for alternative EICs being
present is needed here for the generic kernel to support them.

Suggested-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18191/
Signed-off-by: James Hogan <jhogan@kernel.org>
2018-02-05 14:36:03 +00:00
..
alchemy MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
ar7 MIPS: AR7: Ensure that serial ports are properly set up 2017-11-08 14:57:55 +00:00
ath25
ath79 Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2017-11-14 17:52:21 -08:00
bcm47xx MIPS: bcm47xx: enable ZBOOT support 2018-01-24 11:20:29 +00:00
bcm63xx MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
bmips
boot MIPS: ingenic: Initial GCW Zero support 2018-01-18 22:08:10 +00:00
cavium-octeon MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
cobalt
configs MIPS: ranchu: Add Ranchu as a new generic-based board 2018-01-22 20:47:34 +00:00
dec
emma
fw
generic MIPS: Generic: Support GIC in EIC mode 2018-02-05 14:36:03 +00:00
include MIPS: generic: Fix machine compatible matching 2018-02-05 10:37:48 +00:00
jazz
jz4740 MIPS: ingenic: Initial GCW Zero support 2018-01-18 22:08:10 +00:00
kernel MIPS: Watch: Avoid duplication of bits in mips_read_watch_registers 2018-01-23 15:46:01 +00:00
kvm KVM: Let KVM_SET_SIGNAL_MASK work as advertised 2017-11-27 17:53:47 +01:00
lantiq MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
lasat treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
lib
loongson32
loongson64 MIPS: Loongson fix name confict - MEM_RESERVED 2018-01-24 13:34:39 +00:00
math-emu MIPS: math-emu: Mark fall throughs in switch statements with a comment 2017-12-12 17:20:20 +01:00
mm MIPS: JZ4770: Work around config2 misreporting associativity 2018-01-18 22:07:44 +00:00
mti-malta treewide: Switch DEFINE_TIMER callbacks to struct timer_list * 2017-11-21 15:57:05 -08:00
net
netlogic
oprofile
paravirt
pci MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
pic32
pistachio
pmcs-msp71xx
pnx833x
power
ralink MIPS changes for 4.15 2017-11-15 11:36:08 -08:00
rb532
sgi-ip22 Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-11-13 17:56:58 -08:00
sgi-ip27
sgi-ip32 mips: ip22/32: Convert timers to use timer_setup() 2017-11-02 15:50:36 -07:00
sibyte
sni
tools Update MIPS email addresses 2017-11-03 09:02:30 -07:00
txx9
vdso
vr41xx
Kbuild
Kbuild.platforms MIPS: Xilfpga: Switch to using generic defconfigs 2017-11-08 22:54:14 +00:00
Kconfig MIPS: bcm47xx: enable ZBOOT support 2018-01-24 11:20:29 +00:00
Kconfig.debug
Makefile MIPS: XPA: Use XPA instructions in assembly 2018-01-22 20:51:55 +00:00
Makefile.postlink