android_kernel_oneplus_msm8998/arch/mips
Ralf Baechle a16dad7763 MIPS: Fix potencial corruption
Normally r4k_dma_cache_inv should only ever be called with cacheline
aligned addresses.  If however, it isn't there is the theoretical
possibility of data corruption.  There is no correct way of handling this
and anyway, it should only happen if the DMA API is used incorrectly
so drop

There is a different corruption scenario with these CACHE instructions
removed but again there is no way of handling this correctly and it can
be triggered only through incorrect use of the DMA API.

So just get rid of the complexity.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: James Rodriguez <jamesr@juniper.net>
2012-12-13 18:15:27 +01:00
..
alchemy MIPS: Alchemy: Merge PB1100/1500 support into DB1000 code. 2012-10-11 11:11:20 +02:00
ar7 MIPS: AR7: use part_probe_types to specificy the partition parser to use 2012-12-13 18:15:23 +01:00
ath79
bcm47xx
bcm63xx Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-10-09 16:08:04 +09:00
boot MIPS: Alchemy: Single kernel for DB1200/1300/1550 2012-10-11 11:11:20 +02:00
cavium-octeon MIPS/EDAC: Improve OCTEON EDAC support. 2012-12-13 18:15:26 +01:00
cobalt
configs MIPS: Cavium: Update defconfig 2012-12-12 16:52:06 +01:00
dec
emma
fw MIPS: Kconfig: Rename several firmware related config symbols. 2012-12-13 17:02:14 +01:00
include MIPS: Remove unused smvp.h 2012-12-13 18:15:26 +01:00
jazz
jz4740 MIPS: JZ4740: Forward declare struct uart_port in header. 2012-10-17 17:00:50 +02:00
kernel MIPS: Handle COP3 Unusable exception as COP1X for FP emulation 2012-12-13 18:15:27 +01:00
lantiq MIPS: Lantiq: Fix typo in "endianness" in dma.c 2012-12-13 18:15:23 +01:00
lasat
lib MIPS: Fix crash that occurs when function tracing is enabled 2012-11-23 18:44:38 +01:00
loongson
loongson1
math-emu MIPS: Fix for warning from FPU emulation code 2012-12-13 18:15:27 +01:00
mm MIPS: Fix potencial corruption 2012-12-13 18:15:27 +01:00
mti-malta MIPS: Malta: Fix interupt number of CBUS UART. 2012-11-13 14:50:15 +01:00
mti-sead3
netlogic
oprofile
pci MIPS/EDAC: Improve OCTEON EDAC support. 2012-12-13 18:15:26 +01:00
pmc-sierra
pnx833x
pnx8550
power
powertv
rb532
sgi-ip22
sgi-ip27
sgi-ip32
sibyte MIPS: Kconfig: Rename several firmware related config symbols. 2012-12-13 17:02:14 +01:00
sni MIPS: Kconfig: Rename several firmware related config symbols. 2012-12-13 17:02:14 +01:00
txx9
vr41xx
wrppmc
Kbuild
Kbuild.platforms
Kconfig MIPS: Remove usage of CEVT_R4K_LIB config option. 2012-12-13 18:15:24 +01:00
Kconfig.debug
Makefile MIPS: Kconfig: Rename several firmware related config symbols. 2012-12-13 17:02:14 +01:00