android_kernel_google_msm/arch/powerpc
Paul E. McKenney 77ddd59bbe powerpc: Fix parameter clobber in csum_partial_copy_generic()
commit d9813c3681 upstream.

The csum_partial_copy_generic() uses register r7 to adjust the remaining
bytes to process.  Unfortunately, r7 also holds a parameter, namely the
address of the flag to set in case of access exceptions while reading
the source buffer.  Lacking a quantum implementation of PowerPC, this
commit instead uses register r9 to do the adjusting, leaving r7's
pointer uncorrupted.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-13 15:42:48 -07:00
..
boot powerpc/85xx: use the BRx registers to enable indirect mode on the P1022DS 2012-08-09 08:31:27 -07:00
configs Merge remote-tracking branch 'kumar/next' into merge 2012-04-02 13:57:46 +10:00
include/asm powerpc: Work around gcc miscompilation of __pa() on 64-bit 2013-09-07 21:58:14 -07:00
kernel powerpc/vio: Fix modalias_show return values 2013-10-13 15:42:48 -07:00
kvm KVM: PPC: 44x: fix DCR read/write 2013-01-17 08:51:06 -08:00
lib powerpc: Fix parameter clobber in csum_partial_copy_generic() 2013-10-13 15:42:48 -07:00
math-emu
mm powerpc/numa: Avoid stupid uninitialized warning from gcc 2013-08-20 08:26:28 -07:00
net bpf jit: Let the powerpc jit handle negative offsets 2012-04-30 13:40:50 -04:00
oprofile Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
perf powerpc/perf: Fix instruction address sampling on 970 and Power4 2012-03-28 11:33:24 +11:00
platforms powerpc/eeh: Don't check RTAS token to get PE addr 2013-06-13 09:45:00 -07:00
sysdev powerpc: Make sure IPI handlers see data written by IPI senders 2012-09-14 10:00:22 -07:00
xmon powerpc/xmon: Use cpumask iterator to avoid warning 2012-07-16 09:03:23 -07:00
Kconfig powerpc: Work around gcc miscompilation of __pa() on 64-bit 2013-09-07 21:58:14 -07:00
Kconfig.debug irqdomain: Remove powerpc dependency from debugfs file 2012-03-29 14:31:02 -06:00
Makefile
relocs_check.pl