1
linux/arch/powerpc
Jan Beulich ac2b3e67dd dma-mapping: fix off-by-one error in dma_capable()
dma_mask is, when interpreted as address, the last valid byte, and hence
comparison msut also be done using the last valid of the buffer in
question.

Also fix the open-coded instances in lib/swiotlb.c.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Becky Bruce <beckyb@kernel.crashing.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:20:12 -08:00
..
boot powerpc/44x: Fix PCI node in Yosemite DTS 2009-12-04 07:10:26 -05:00
configs Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
include/asm dma-mapping: fix off-by-one error in dma_capable() 2009-12-16 07:20:12 -08:00
kernel ptrace: powerpc: implement user_single_step_siginfo() 2009-12-16 07:20:08 -08:00
kvm Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
lib locking: Convert raw_rwlock to arch_rwlock 2009-12-14 23:55:32 +01:00
math-emu powerpc/math-emu: Fix efp dependence 2009-03-11 06:00:08 -05:00
mm powerpc/8xx: Invalidate non present TLBs 2009-12-09 17:10:35 +11:00
oprofile tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
platforms genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
sysdev genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
xmon powerpc/pseries: Add extended_cede_processor() helper function. 2009-11-24 14:33:03 +11:00
Kconfig sysfs/cpu: Add probe/release files 2009-12-09 17:09:33 +11:00
Kconfig.debug powerpc: tracing: Add hypervisor call tracepoints 2009-10-28 16:13:04 +11:00
Makefile powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00