06 Mar, 2009
12 commits
-
Impact: add debug callbacks for dma_sync_sg_* functions
Signed-off-by: Joerg Roedel
-
Impact: add debug callbacks for dma_sync_single_range_for_* functions
Signed-off-by: Joerg Roedel
-
Impact: add debug callbacks for dma_sync_single_for_* functions
Signed-off-by: Joerg Roedel
-
Impact: add debug callbacks for dma_[alloc|free]_coherent
Signed-off-by: Joerg Roedel
-
Impact: add debug callbacks for dma_{un}map_sg
Signed-off-by: Joerg Roedel
-
Impact: add debug callbacks for dma_{un}map_[page|single]
Signed-off-by: Joerg Roedel
-
Impact: add functions to check on dma unmap and sync
Signed-off-by: Joerg Roedel
-
Impact: add debugfs interface for configuring DMA-API debugging
Signed-off-by: Joerg Roedel
-
Impact: add dma_debug= and dma_debug_entries= kernel parameters
Signed-off-by: Joerg Roedel
-
Impact: add code to initialize dma-debug core data structures
Signed-off-by: Joerg Roedel
-
Impact: add allocator code for struct dma_debug_entry
Signed-off-by: Joerg Roedel
-
Impact: implement necessary functions for the core hash
Signed-off-by: Joerg Roedel
05 Mar, 2009
6 commits
-
Impact: add groundwork for DMA-API debugging
Signed-off-by: Joerg Roedel
-
Impact: add a Kconfig entry for DMA-API debugging
Signed-off-by: Joerg Roedel
-
…it/joro/linux-2.6-iommu into core/iommu
-
Fix this sparse warning:
drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'Signed-off-by: Hannes Eder
Signed-off-by: Joerg Roedel -
We try to avoid this type of ifdef and we can safely remove this
ifdef.Signed-off-by: FUJITA Tomonori
Signed-off-by: Joerg Roedel
04 Mar, 2009
12 commits
-
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc: Run sbc610 USB fixup code only on the appropriate platform. -
[airlied: you shall not retype patches from other trees half asleep]
Signed-of-by: Dave Airlie
-
commit a969e76a7101bf5f3d369563df1ca1253dd6131b (powerpc: Correct USB
support for GE Fanuc SBC610) introduced a fixup for NEC usb controllers.
This fixup should only run on GEF SBC610 boards.Fixes Fedora bug #486511.
(https://bugzilla.redhat.com/show_bug.cgi?id=486511)Signed-off-by: Tony Breeds
Signed-off-by: Benjamin Herrenschmidt -
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: ixp4xx - Fix qmgr_request_queue build failure
crypto: api - Fix module load deadlock with fallback algorithms -
There is another user of IXP4xx queue manager, fix it.
Signed-off-by: Krzysztof Hałasa
Signed-off-by: Herbert Xu -
…l/git/tip/linux-2.6-tip
* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
sched: don't allow setuid to succeed if the user does not have rt bandwidth
sched_rt: don't start timer when rt bandwidth disabled -
…git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86: oprofile: don't set counter width from cpuid on Core2
x86: fix init_memory_mapping() to handle small ranges -
* 'tracing/mmiotrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86 mmiotrace: fix race with release_kmmio_fault_page()
x86 mmiotrace: improve handling of secondary faults
x86 mmiotrace: split set_page_presence()
x86 mmiotrace: fix save/restore page table state
x86 mmiotrace: WARN_ONCE if dis/arming a page fails
x86: add far read test to testmmiotrace
x86: count errors in testmmiotrace.ko -
…/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
rcu: Teach RCU that idle task is not quiscent state at boot -
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] fix lots of ARM __devexit sillyness
[ARM] 5417/1: Set the correct cacheid for ARMv6 CPUs with ARMv7 style MMU
[ARM] 5416/1: Use unused address in v6_early_abort
[ARM] 5411/1: S3C64XX: Fix EINT unmask
[ARM] at91: fix for Atmel AT91 powersaving
[ARM] RiscPC: Fix etherh oops -
`iop_adma_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
`mv_xor_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
`mv64xxx_i2c_unmap_regs' referenced in section `.devinit.text' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
`mv64xxx_i2c_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
`orion_nand_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
`pxafb_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.oAcked-by: Uwe Kleine-König
Signed-off-by: Russell King
03 Mar, 2009
10 commits
-
The cacheid_init() function assumes that if cpu_architecture() returns
7, the caches are VIPT_NONALIASING. The cpu_architecture() function
returns the version of the supported MMU features (e.g. TEX remapping)
but it doesn't make any assumptions about the cache type. The patch adds
the checking of the Cache Type Register for the ARMv7 format.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King -
The target of the strex instruction to clear the exlusive monitor
is currently the top of the stack. If the store succeeeds this
corrupts r0 in pt_regs. Use the next stack location instead of
the current one to prevent any chance of corrupting an in-use
address.Signed-off-by: Seth Forshee
Signed-off-by: Russell King -
Impact: fix stuck NMIs and non-working oprofile on certain CPUs
Resetting the counter width of the performance counters on Intel's
Core2 CPUs, breaks the delivery of NMIs, when running in x86_64 mode.This should fix bug #12395:
http://bugzilla.kernel.org/show_bug.cgi?id=12395
Signed-off-by: Tim Blechmann
Signed-off-by: Robert Richter
LKML-Reference:
Cc:
Signed-off-by: Ingo Molnar -
Impact: fix failed EFI bootup in certain circumstances
Ying Huang found init_memory_mapping() has problem with small ranges
less than 2M when he tried to direct map the EFI runtime code out of
max_low_pfn_mapped.It turns out we never considered that case and didn't check the range...
Reported-by: Ying Huang
Signed-off-by: Yinghai Lu
Cc: Brian Maly
LKML-Reference:
Signed-off-by: Ingo Molnar -
This reverts commit 155b25bcc28631a5b5230191aa3f56c40dfffa3f, which was
totally wrong - the "embedded" options still exists (very much so) even
on non-embedded platforms.It's just that we don't bother with actually asking about them when
we're not embedded, we just take their default values (which is usually
'y' - the options add features that may not be worth it in a constrained
environment).Noticed-by: Andrew Morton
Cc: Randy Dunlap
Signed-off-by: Linus Torvalds -
* 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
drm/i915: Fix use-before-null-check in i915_irq_emit().
drm: Avoid client deadlocks when the master disappears.
drm: Wake up all lock waiters when the master disappears.
drm: Don't return ERESTARTSYS to user-space. -
This could be triggered by a client asking to emit an irq when the device
wasn't initialized.Signed-off-by: Eric Anholt
Signed-off-by: Dave Airlie -
This is done by
1) Wake up lock waiters when we close the master file descriptor.
Not when the master structure is removed, since the latter
requires the waiters themselves to release the refcount on the
master structure -> Deadlock.
2) Send a SIGTERM to all clients waiting for the lock.
Normally these clients will get a SIGPIPE when the X server dies,
but clients may also spin trying to grab the DRM lock, without
getting any sort of notification.Signed-off-by: Thomas Hellstrom
Signed-off-by: Dave Airlie -
Currently only one waiter is woken up, leaving other waiters
hanging waiting for the DRM lock.Signed-off-by: Thomas Hellstrom
Signed-off-by: Dave Airlie -
That return code is for in-kernel use only.
Use EINTR instead.Signed-off-by: Thomas Hellstrom
Signed-off-by: Dave Airlie