17 Mar, 2009

1 commit

  • This adds a function to dump the DMA mappings that the debugging code is
    aware of -- either for a single device, or for _all_ devices.

    This can be useful for debugging -- sticking a call to it in the DMA
    page fault handler, for example, to see if the faulting address _should_
    be mapped or not, and hence work out whether it's IOMMU bugs we're
    seeing, or driver bugs.

    Signed-off-by: David Woodhouse

    David Woodhouse
     

06 Mar, 2009

12 commits


05 Mar, 2009

6 commits


04 Mar, 2009

12 commits


03 Mar, 2009

9 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

    Catalin Marinas
     
  • 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

    Seth Forshee
     
  • 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

    Tim Blechmann
     
  • 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

    Yinghai Lu
     
  • 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

    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.

    Linus Torvalds
     
  • 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

    Eric Anholt
     
  • 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

    Thomas Hellstrom
     
  • 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

    Thomas Hellstrom