android_kernel_samsung_a7y1.../arch/mips
Archer Yan 8f8dc30284 MIPS: Fix kernel crash for R6 in jump label branch function
commit 47c25036b60f27b86ab44b66a8861bcf81cde39b upstream.

Insert Branch instruction instead of NOP to make sure assembler don't
patch code in forbidden slot. In jump label function, it might
be possible to patch Control Transfer Instructions(CTIs) into
forbidden slot, which will generate Reserved Instruction exception
in MIPS release 6.

Signed-off-by: Archer Yan <ayan@wavecomp.com>
Reviewed-by: Paul Burton <paul.burton@mips.com>
[paul.burton@mips.com:
  - Add MIPS prefix to subject.
  - Mark for stable from v4.0, which introduced r6 support, onwards.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 10:58:13 +02:00
..
alchemy A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ar7 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ath25 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ath79 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm47xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm63xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bmips A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
boot A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cavium-octeon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cobalt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
configs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dec A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emma A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fw A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
generic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
include MIPS: Fix kernel crash for R6 in jump label branch function 2020-04-06 10:58:13 +02:00
jazz A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jz4740 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kvm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lantiq A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lasat A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
loongson32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
loongson64 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction. 2020-04-06 10:58:13 +02:00
math-emu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mti-malta A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mti-sead3 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
netlogic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oprofile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pistachio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmcs-msp71xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pnx833x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ralink A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rb532 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sgi-ip22 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sgi-ip27 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sgi-ip32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sibyte A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sni A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
txx9 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vdso A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vr41xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xilfpga A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kbuild A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kbuild.platforms A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.debug A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30