06 Mar, 2009

7 commits


05 Mar, 2009

6 commits


04 Mar, 2009

12 commits


03 Mar, 2009

15 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
     
  • That return code is for in-kernel use only.
    Use EINTR instead.

    Signed-off-by: Thomas Hellstrom
    Signed-off-by: Dave Airlie

    Thomas Hellstrom
     
  • The COMPAT_BRK kconfig symbol does not depend on EMBEDDED, but it is in
    the midst of the EMBEDDED menu symbols, so it mucks up the EMBEDDED
    menu. Fix by moving it to just after all of the EMBEDDED menu symbols.

    Also, surround all of the EMBEDDED symbols with "if EMBEDDED"/"endif" so
    that this EMBEDDED block is clearer.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
    sdhci: Add NO_BUSY_IRQ quirk for Marvell CAFE host chip
    sdhci: Add quirk for controllers with no end-of-busy IRQ

    Linus Torvalds
     
  • * 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Add probe_mask default for Toshiba laptop with ALC268
    ALSA: hda - Add quirk for new HP xw series
    ALSA: hda - Fix digital mic on dell-m4-1 and dell-m4-3

    Linus Torvalds
     
  • …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:
    fix warning in io_mapping_map_wc()
    x86: i915 needs pgprot_writecombine() and is_io_mapping_possible()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
    zaurus: add usb id for motomagx phones
    usbnet: make usbnet_get_link() fall back to ethtool_op_get_link()
    veth: Fix carrier detect
    cdc_ether: add usb id for Ericsson F3507g
    r8169: read MAC address from EEPROM on init (2nd attempt)
    tcp: fix retrans_out leaks
    net headers: export dcbnl.h
    net headers: cleanup dcbnl.h
    netpoll: Add drop checks to all entry points
    gianfar: Do right check on num_txbdfree
    pkt_sched: sch_drr: Fix oops in drr_change_class.
    b44: Disable device on shutdown
    b44: Unconditionally enable interrupt routing on reset
    net: fix hp-plus build error
    libertas: fix misuse of netdev_priv() and dev->ml_priv
    ipv6: don't use tw net when accounting for recycled tw
    asix: new device ids
    tcp_scalable: Update malformed & dead url
    netfilter: xt_recent: fix proc-file addition/removal of IPv4 addresses
    netxen: handle pci bar 0 mapping failure
    ...

    Linus Torvalds