1. 09 Jul, 2006 4 commits
    • Andrew Morton's avatar
      [SERIAL] 8250: sysrq deadlock fix · 68aa2c0d
      Andrew Morton authored
      Fix http://bugzilla.kernel.org/show_bug.cgi?id=6716
      
      Doing a sysrq over a serial line into an SMP machine presently deadlocks.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      68aa2c0d
    • Zang Roy-r61911's avatar
      [SERIAL] 8250: add tsi108 serial support · 3be91ec7
      Zang Roy-r61911 authored
      The following patch gets rid of CONFIG_TSI108_BRIDGE.  I add UPIO_TSI to
      handle IIR and IER register in serial_in and serial_out.
      
      (1) the reason to rewrite serial_in:
      
          TSI108 rev Z1 version ERRATA.  Reading the UART's Interrupt
          Identification Register (IIR) clears the Transmit Holding Register
          Empty (THRE) and Transmit buffer Empty (TEMP) interrupts even if they
          are not enabled in the Interrupt Enable Register (IER).  This leads to
          loss of the interrupts.  Interrupts are not cleared when reading UART
          registers as 32-bit word.
      
      (2) the reason to rewrite serial_out:
      
          Check for UART_IER_UUE bit in the autoconfig routine.  This section
          of autoconfig is excluded for Tsi108/109 because bits 7 and 6 are
          reserved for internal use.  They are R/W bits.  In addition to
          incorrect identification, changing these bits (from 00) will make
          Tsi108/109 UART non-functional.
      Signed-off-by: default avatarRoy Zang <tie-fei.zang@freescale.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      3be91ec7
    • Julien BLACHE's avatar
      [SERIAL] IP22: fix serial console hangs · c65b15cf
      Julien BLACHE authored
      The patch below fixes serial console hangs as seen on IP22
      machines. Typically, while booting, the machine hangs for ~1 minute
      displaying "INIT: ", then the same thing happens again when init
      enters in the designated runlevel and finally the getty process on
      ttyS0 hangs indefinitely (though strace'ing it helps).
      
      strace (-e raw=ioctl, otherwise the ioctl() translation is utterly
      bogus) reveals that getty hangs on ioctl() 0x540f which happens to be
      TCSETSW (I saw it hang on another console ioctl() but couldn't
      reproduce that one).
      
      A diff between ip22zilog and sunzilog revealed the following
      differences:
       1. the channel A flag being set on up.port.flags instead of up.flags
       2. the channel A flag being set on what is marked as being channel B
       3. sunzilog has a call to uart_update_timeout(port, termios->c_cflag, baud);
          at the end of sunzilog_set_termios(), which ip22zilog lacks (on
          purpose ?)
      
      The patch below addresses point 1 and fixes the serial console hangs
      just fine. However point 2 should be investigated by someone familiar
      with the IP22 Zilog; it's probably OK as is but even if it is, a
      comment in ip22zilog.c is badly needed.
      
      Point 3 is left as an exercise for whoever feels like digging into
      ip22zilog :)
      
      These are the main obvious differences between ip22zilog and
      sunzilog. Newer versions of sunzilog (Linus's git tree as of today)
      are more close to ip22zilog as the sbus_{write,read}b have been
      changed into simple {write,read}b, which shrinks the diff by a fair
      amount. Resyncing both drivers should be doable in a few hours time
      now for someone familiar with the IP22 Zilog hardware.
      Signed-off-by: default avatarJulien BLACHE <jb@jblache.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      c65b15cf
    • Martin Michlmayr's avatar
      [SERIAL] dz: Fix compilation error · d608ab99
      Martin Michlmayr authored
      Fix the following compilation error in the dz serial driver that got
      introduced with the "kernel console should send CRLF not LFCR" change.
      
        CC      drivers/serial/dz.o
      drivers/serial/dz.c: In function 'dz_console_putchar':
      drivers/serial/dz.c:679: error: 'uport' undeclared (first use in this function)
      drivers/serial/dz.c:679: error: (Each undeclared identifier is reported only once
      drivers/serial/dz.c:679: error: for each function it appears in.)
      Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      d608ab99
  2. 08 Jul, 2006 2 commits
  3. 07 Jul, 2006 1 commit
    • Dave Jones's avatar
      [PATCH] Fix cpufreq vs hotplug lockdep recursion. · a496e25d
      Dave Jones authored
      [ There's some not quite baked bits in cpufreq-git right now
        so sending this on as a patch instead ]
      
      On Thu, 2006-07-06 at 07:58 -0700, Tom London wrote:
      
      > After installing .2356 I get this each time I boot:
      > =======================================================
      > [ INFO: possible circular locking dependency detected ]
      > -------------------------------------------------------
      > S06cpuspeed/1620 is trying to acquire lock:
      >  (dbs_mutex){--..}, at: [<c060d6bb>] mutex_lock+0x21/0x24
      >
      > but task is already holding lock:
      >  (cpucontrol){--..}, at: [<c060d6bb>] mutex_lock+0x21/0x24
      >
      > which lock already depends on the new lock.
      >
      
      make sure the cpu hotplug recursive mutex (yuck) is taken early in the
      cpufreq codepaths to avoid a AB-BA deadlock.
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      a496e25d
  4. 06 Jul, 2006 28 commits
  5. 05 Jul, 2006 5 commits
    • Linus Torvalds's avatar
      Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 · a942b57b
      Linus Torvalds authored
      * git://git.linux-nfs.org/pub/linux/nfs-2.6:
        NLM,NFSv4: Wait on local locks before we put RPC calls on the wire
        VFS: Add support for the FL_ACCESS flag to flock_lock_file()
        NFSv4: Ensure nfs4_lock_expired() caches delegated locks
        NLM,NFSv4: Don't put UNLOCK requests on the wire unless we hold a lock
        VFS: Allow caller to determine if BSD or posix locks were actually freed
        NFS: Optimise away an excessive GETATTR call when a file is symlinked
        This fixes a panic doing the first READDIR or READDIRPLUS call when:
        NFS: Fix NFS page_state usage
        Revert "Merge branch 'odirect'"
      a942b57b
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 887e5d5f
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 3711/1: AT91 timer update
        [ARM] 3709/1: pnx4008: convert to generic irq subsystem
        [ARM] 3710/1: AT91 Serial: Use GPIO API
      887e5d5f
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · e8f75588
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (39 commits)
        [PATCH] myri10ge - Export more parameters to ethtool
        [PATCH] myri10ge - Use dev_info() when printing parameters after probe
        [PATCH] myri10ge - Drop ununsed nvidia chipset id
        [PATCH] myri10ge - Drop unused pm_state
        [PATCH] Fix freeing of net device
        [PATCH] remove dead entry in net wan Kconfig
        [PATCH] NI5010 netcard cleanup
        [PATCH] lock validator: fix ns83820.c irq-flags bug
        [PATCH] pcnet32: Cleanup rx buffers after loopback test.
        [PATCH] pcnet32: Suspend the chip rather than restart when changing multicast/promisc
        [PATCH] pcnet32: Handle memory allocation failures cleanly when resizing tx/rx rings
        [PATCH] pcnet32: Use kcalloc instead of kmalloc and memset
        [PATCH] pcnet32: Fix off-by-one in get_ringparam
        [PATCH] pcnet32: Use PCI_DEVICE macro
        [PATCH] pcnet32: Fix Section mismatch error
        [PATCH] Add support for the Cicada 8201 PHY
        [PATCH] zd1211rw: disable TX queue during stop
        [PATCH] ZyDAS ZD1211 USB-WLAN driver
        [PATCH] softmac: fix build-break from 881ee6999d66c8fc903b429b73bbe6045b38c549
        [PATCH] CONFIG_WIRELESS_EXT is neccessary after all
        ...
      e8f75588
    • Brice Goglin's avatar
      [PATCH] myri10ge - Export more parameters to ethtool · 2c1a1088
      Brice Goglin authored
      Add the IRQ line, the tx_boundary, and whether Write-combining and MSI
      are enabled to the list of parameters that are exported to ethtool.
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2c1a1088
    • Brice Goglin's avatar
      [PATCH] myri10ge - Use dev_info() when printing parameters after probe · d6020787
      Brice Goglin authored
      Displaying the interface name when listing the device parameters
      at the end of myri10ge_probe is not a good idea since udev might
      rename the interface soon afterwards.
      Print the bus id instead, using dev_info().
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      d6020787