16 Jan, 2009

18 commits

  • - Enable ring indicator interrupt.

    - Remove vendor specific CVS version tags.

    Signed-off-by: Paul Fulghum
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • After XPC has been up and running on multiple partitions for any length of
    time, if XPC on one of the partitions is stopped and restarted (either by
    a rmmod/insmod or a system restart), it is possible for the XPCs running
    on the other partitions to falsely detect a lack of heartbeat from the XPC
    that was just restarted. This false detection will occur if the restarted
    XPC comes up within the five-seconds preceding one of the other XPC's
    heartbeat check (which occurs once every twenty seconds).

    The detection of no heartbeat results in the detecting XPC deactivating
    from the just restarted XPC. The only remedy is to restart one of the
    XPCs and hope that one doesn't hit this five-second window on any of the
    other partitions.

    Signed-off-by: Dean Nelson
    Signed-off-by: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dean Nelson
     
  • A triggering RTC alarm should be able to power on a device that has been
    powered off. This patch enables that on twl4030 by not masking the alarm
    interrupt at shutdown.

    Signed-off-by: Matti Halme
    Signed-off-by: Alessandro Zummo
    Acked-by: David Brownell
    Cc: Tony Lindgren
    Cc: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matti Halme
     
  • Fix these build errors:

    CC drivers/rtc/rtc-pxa.o
    drivers/rtc/rtc-pxa.c: In function `pxa_rtc_init':
    drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa27x'
    drivers/rtc/rtc-pxa.c:472: error: implicit declaration of function `cpu_is_pxa3xx'

    Signed-off-by: Antonio Ospite
    Signed-off-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonio Ospite
     
  • - implement alarm_irq_enable
    - return correct error code when registering fails

    [dbrownell@users.sourceforge.net: build fixes, force 1/sec irqs]
    Signed-off-by: Alessandro Zummo
    Signed-off-by: David Brownell
    Cc: Tony Lindgren
    Cc: Samuel Ortiz
    Cc: rtc-linux@googlegroups.com
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alessandro Zummo
     
  • Add an explanitory comment as to why we modify the kernel console loglevel
    rather than simply moving sysrq messages to KERN_EMERG level.

    Signed-off-by: Andy Whitcroft
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andy Whitcroft
     
  • Force fb_var_screeninfo color format on all Blackfin Framebuffer Drivers.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Bryan Wu
    Cc: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     
  • A number of drivers in drivers/gpio return -ENODEV when confronted with
    missing setup parameters such as the platform data. However, returning
    -ENODEV causes the driver layer to silently ignore the driver as it
    assumes the probe did not find anything and was only speculative.

    To make life easier to discern why a driver is not being attached, change
    to returning -EINVAL, which is a better description of the fact that the
    driver data was not valid.

    Also add a set of dev_dbg() statements to the error paths to provide an
    better explanation of the error as there may be more that one point in the
    driver.

    Signed-off-by: Ben Dooks
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • For some reason I have to slowdown clock to touchscreen device.

    In atmel_spi_setup() there is comment that max_speed_hz == 0 means as slow
    as possible and divider is set to maximum value. But in
    atmel_spi_transfer() function is check against not zero max_speed_hz with
    EINVAL returned.

    Probably driver should setup divider for each transfer based on
    transfer->speed_hz value, but I think that would be not necessary overhead
    as all used devices have constant clock.

    Below patch works fine for me.

    Signed-off-by: Stanislaw Gruszka
    Signed-off-by: Haavard Skinnemoen
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stanislaw Gruszka
     
  • Fix the following problem, related to hardware flow control (CTS/RTS):
    Transmitting while CTS line is asserted in DMA mode, due to not checking
    for tx-stopped condition.

    We found these problems while testing the UARTs with hardware
    flow-control.

    Signed-off-by: Haavard Skinnemoen
    Cc: "Andrew Victor"
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Itai Levi
     
  • This patch is for Alan Cox as it related to the tty layer.
    Hopefully the hso driver is again relatively stable with this fix.

    Signed-off-by: Denis Joseph Barrow
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Denis Joseph Barrow
     
  • The HSO changes for kref introduced a recursive spinlock take. All
    functions which call put_rxbuf_data already have serial->serial_lock
    grabbed.

    [Comment to code added-AC]

    Signed-off-by: Denis Joseph Barrow
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Denis Joseph Barrow
     
  • Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Commit 4a90f09b20f4622dcbff1f0e1e6bae1704f8ad8c added kref stuff to
    ftdi_sio, but missed tty_kref_put at one exit point in
    ftdi_process_read.

    Signed-off-by: Jim Paris
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Jim Paris
     
  • This was not implemented correctly for the pnx8xxx_uart driver.

    [From further discussion:
    Correct, you can look to it as two separate bugs:
    a) the next character is not ignored while it should;
    b) the status bits 31-8 are copied to the 'ch' variable while they shouldn't.

    Both bugs prevent correct break signal handling (and therefore correct
    behaviour of the magic SysRq key). Bug b didn't cause too much trouble
    earlier because in most situations the status bits are all zero; for
    this case they unfortunately aren't.
    ]

    Signed-off-by: Mischa Jonker
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Mischa Jonker
     
  • Add SupraExpress 336i PnP Voice Modem

    Tested and working with the following device: (output from lspnp -v)
    01:01.00 SUP1381 (unknown)
    state = active
    io 0x2f8-0x2ff
    irq 3

    Signed-off-by: Daniel Gagnon
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Daniel Gagnon
     
  • Most of netmos 9835 hardware is handled by parport-serial. IBM introduces
    a device which doesn't have any parallel ports and have screwed subdevice
    PCI id (not corresponding to port numbers).

    Handle this device (9710:9835 1014:0299) properly.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Andrew Morton
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • If you issue an ioctl to flush a tty as the line discipline is changing or
    otherwise unplugged you can get a crash. The bug is very old but the rest
    of the BKL lock dropping and some very "good" luck on Ingo's part caught
    an example.

    Use the correct ldisc_ref form so that we wait for the ldisc change to
    complete and then flush

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     

15 Jan, 2009

11 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (29 commits)
    powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/
    powerpc/83xx: Make serial ports work on MPC8315E-RDB w/ FSL U-Boots
    powerpc/e500mc: Doorbells need to be taken w/exceptions disabled
    powerpc: Enable PS3 options and QPACE in ppc64_defconfig
    powerpc/powermac: Fix occasional SMP boot failure
    powerpc/cacheinfo: Rename cache_dir per-cpu variable
    hvc_console: Use kzalloc() instead of kmalloc() + memset()
    hvc_console: Do not set low_latency when using interrupts
    hvc_console: Call free_irq() only if request_irq() was successful
    hvc_console: Change an mb() to smp_mb() and add some comments
    powerpc: Cleanup from l64 to ll64 change: drivers/net
    powerpc: Cleanup from l64 to ll64 change: drivers/char
    powerpc: Cleanup from l64 to ll64 change: arch code
    powerpc: Change u64/s64 to a long long integer type
    powerpc/kexec: Check crash_base for relocatable kernel
    powerpc: Make dummy section a valid note header
    Xilinx: SPI: updated driver for device tree
    drivers/of: Add the of_find_i2c_device_by_node function.
    powerpc/xsysace: add compatible string for non-ipcore instance
    powerpc/mpc52xx: remove dead code from GPIO driver
    ...

    Linus Torvalds
     
  • * 'syscalls' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (44 commits)
    [CVE-2009-0029] s390 specific system call wrappers
    [CVE-2009-0029] System call wrappers part 33
    [CVE-2009-0029] System call wrappers part 32
    [CVE-2009-0029] System call wrappers part 31
    [CVE-2009-0029] System call wrappers part 30
    [CVE-2009-0029] System call wrappers part 29
    [CVE-2009-0029] System call wrappers part 28
    [CVE-2009-0029] System call wrappers part 27
    [CVE-2009-0029] System call wrappers part 26
    [CVE-2009-0029] System call wrappers part 25
    [CVE-2009-0029] System call wrappers part 24
    [CVE-2009-0029] System call wrappers part 23
    [CVE-2009-0029] System call wrappers part 22
    [CVE-2009-0029] System call wrappers part 21
    [CVE-2009-0029] System call wrappers part 20
    [CVE-2009-0029] System call wrappers part 19
    [CVE-2009-0029] System call wrappers part 18
    [CVE-2009-0029] System call wrappers part 17
    [CVE-2009-0029] System call wrappers part 16
    [CVE-2009-0029] System call wrappers part 15
    ...

    Linus Torvalds
     
  • On Monday 12 January 2009, Simon Holm Thøgersen wrote:
    > commit 295f000 ("ide: don't execute the next queued command from the
    > hard-IRQ context (v2)") breaks suspend to disk for me. On
    > 'echo disk > /sys/power/state' the systems hangs, letting me switch
    > virtual consoles, but not responding to Alt+SysRq

    Restart the request queue early for REQ_TYPE_PM_RESUME requests
    (though there is only one resume request for the whole resume
    sequence it stays in the queue until is fully completed and now
    depends on kblockd for processing consequential resume states).

    Reported-and-bisected-by: Simon Holm Thøgersen
    Tested-by: Simon Holm Thøgersen
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Signed-off-by: Atsushi Nemoto
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Atsushi Nemoto
     
  • Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • CONFIG_LOPEC and CONFIG_SANDPOINT config options are gone.

    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Remove reference to the removed old-style kernel parameter.

    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Some rotating disks also present themselves as CFA devices.

    Reported-by: Alan Cox
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Minor cleanup.

    Signed-off-by: Brandon Philips
    Cc: Alan Cox
    Cc: Shawn Lin
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Brandon Philips
     
  • On Vortex86SX with IDE controller revision 0x11 ultra DMA must be
    disabled. This patch was tested by DMP and seems to work.

    It is a cleaned up version of their older Kernel patch:
    http://www.dmp.com.tw/tech/vortex86sx/patch-2.6.24-DMP.gz

    Tested-by: Shawn Lin
    Signed-off-by: Brandon Philips
    Cc: Alan Cox
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Brandon Philips
     
  • commit 54cc1428cfa619e16d75baae8cb041a2eff015f0 ("ide: remove
    local_irq_set() macro") accidentally replaced local_save_flags()
    by local_irq_set() in ide_probe_port() and __ide_wait_stat()
    which resulted in LOCKDEP breakage.

    Reported-by: Larry Finger
    Tested-by: Larry Finger
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

14 Jan, 2009

8 commits

  • Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • This patch is used to help Jean Delvare to get rid of drivers/i2c/chips/
    directory. The new location suggested by Kumar Gala: as the driver is
    83xx specific it's placed into arch/powerpc/platforms/83xx/.

    Signed-off-by: Anton Vorontsov
    Acked-by: Jean Delvare
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    TWL4030: fix clk API usage
    [ARM] 5364/1: allow flush_ioremap_region() to be used from modules
    [ARM] w90x900: fix build errors and warnings
    [ARM] i.MX add missing include
    [ARM] i.MX: fix breakage from commit 278892736e99330195c8ae5861bcd9d791bbf19e
    [ARM] i.MX: remove LCDC controller register definitions from imx-regs.h

    Linus Torvalds
     
  • Commit b430428a188e8a434325e251d0704af4b88b4711 ("8250: Don't clobber
    spinlocks.") introduced a regression on the parisc architecture, which
    broke the handover to the serial port at boottime.

    early_serial_setup() was changed to only copy a subset of the uart_port
    fields, and sadly the "type" and "line" fields were forgotten and thus
    the serial port was not initialized and could not be used for a
    handover. This patch fixes this by copying the missing fields.

    As this change to early_serial_setup() doesn't need an initialized
    spinlock in the uart_port struct any longer, we can drop the spinlock
    initialization in the superio driver.

    Cc: David Daney
    Cc: Tomaso Paoletti
    Cc: Andrew Morton
    Cc: Alan Cox
    Acked-by: Kyle McMartin
    Cc: linux-parisc@vger.kernel.org
    Signed-off-by: Helge Deller
    Signed-off-by: Linus Torvalds

    Helge Deller
     
  • Always pass a struct device if one is available; and there's really
    no reason for the processor specific stuff in this file if only
    people would follow the API usage properly by using the struct device.

    Signed-off-by: Russell King

    Russell King
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    IB/iser: Add dependency on INFINIBAND_ADDR_TRANS
    IPoIB: Do not join broadcast group if interface is brought down
    RDMA/nes: Fix for NIPQUAD removal
    IPoIB: Fix loss of connectivity after bonding failover on both sides
    IB/mlx4: Don't register IB device for adapters with no IB ports
    mlx4_core: Fix warning from min()
    IB/ehca: spin_lock_irqsave() takes an unsigned long

    Linus Torvalds
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    pata_it821x: Update RDC UDMA handling
    ata: fix wrong WARN_ON_ONCE

    Linus Torvalds
     
  • With some broken BIOSs when VT-d is enabled, the data structures are
    filled incorrectly. This can cause a NULL pointer dereference in very
    early boot.

    Signed-off-by: Dirk Hohndel
    Acked-by: Yu Zhao
    Signed-off-by: David Woodhouse
    Signed-off-by: Linus Torvalds

    Dirk Hohndel
     

13 Jan, 2009

3 commits