16 Jan, 2009

27 commits

  • git is maintaining the last update time much more accuratly than the
    internal update time. Remove it.

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

    Andy Whitcroft
     
  • i5400 EDAC driver were added upstream by those changesets:

    - 920c8df6ac678fdb8c49a6ce2e47a98e62757d77 "edac: driver for i5400 MCH (Seaburg)"
    - 8375d4909aee4c18798f373ecf24a79f040f75fc "edac: driver for i5400 MCH (update)"

    Update MAINTAINERS entry for this file to correspond to the driver
    maintainer.

    Signed-off-by: Mauro Carvalho Chehab
    Cc: Ben Woodard
    Cc: Doug Thompson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mauro Carvalho Chehab
     
  • On alpha, we have to map some stuff in the VMALLOC space very early in the
    boot process (to make SRM console callbacks work and so on, see
    arch/alpha/mm/init.c). For old VM allocator, we just manually placed a
    vm_struct onto the global vmlist and this worked for ages.

    Unfortunately, the new allocator isn't aware of this, so it constantly
    tries to allocate the VM space which is already in use, making vmalloc on
    alpha defunct.

    This patch forces KVA to import vmlist entries on init.

    [akpm@linux-foundation.org: remove unneeded check (per Johannes)]
    Signed-off-by: Ivan Kokshaysky
    Cc: Nick Piggin
    Cc: Johannes Weiner
    Cc: Richard Henderson
    Cc: Johannes Weiner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ivan Kokshaysky
     
  • 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
     
  • Update Documentation/sysctl/vm.txt and Documentation/filesystems/proc.txt.
    More specifically, the section on /proc/sys/vm in
    Documentation/filesystems/proc.txt was removed and a link to
    Documentation/sysctl/vm.txt added.

    Most of the verbiage from proc.txt was simply moved in vm.txt, with new
    addtional text for "swappiness" and "stat_interval".

    Signed-off-by: Peter W Morreale
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter W Morreale
     
  • This reverts commit 58dab916dfb57328d50deb0aa9b3fc92efa248ff, which
    makes my Nehalem come to a nasty crawling almost-halt. It looks like it
    turns off caching of regular kernel RAM, with the understandable
    slowdown of a few orders of magnitude as a result.

    Acked-by: Ingo Molnar
    Cc: Yinghai Lu
    Cc: Peter Anvin
    Cc: Venkatesh Pallipadi
    Cc: Suresh Siddha
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] SN specific version of dma_get_required_mask()
    [IA64] generic_defconfig: Enable SATA_VITESSE
    [IA64] dump stack on kernel unaligned warnings
    [IA64] Turn on CONFIG_HAVE_UNSTABLE_CLOCK
    [IA64] Update to use account_{steal,idle}_ticks

    Linus Torvalds
     
  • Update employer's care-of address in CREDITS file, and remove references
    to some _very_ old stuff I'd forgotten I'd ever done.

    Signed-off-by: David Woodhouse
    Signed-off-by: Linus Torvalds

    David Woodhouse
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Fix invalid amp value for STAC925x
    ASoC: Fix the power update function for snd_soc_dapm_value_mux
    sound: virtuoso: do not overwrite EEPROM on Xonar D2/D2X
    ALSA: hda - Fix HP dv5 mic input
    ALSA: hda - Fix missing initialization of NID 0x0e for STAC925x
    ALSA: USB quirk for Logitech Quickcam Pro 9000 name
    ALSA: hda - Fix stac92hd83xxx_amp_nids[]
    ALSA: hda - Add automatic model setting for Samsung Q45
    ALSA: hda - Don't reset HP pinctl in patch_sigmatel.c
    ALSA: hda: stac92hd8xxx amp mixers
    ALSA: hda - Fix silent headphone output on Panasonic CF-74
    ALSA: hda - Update model descriptions in patch_sigmatel.c
    ALSA: hda - Use queue_delayed_work()
    ALSA: hda - Add quirk for another HP dv5
    ALSA: hda - Add support of NVidia MCP78 HDMI
    ALSA: hda - Fix a typo
    ALSA: hda - More fixes on Gateway entries
    ALSA: patch_sigmatel: Add missing Gateway entries and autodetection
    ALSA: hda - Add a new function to seek for a codec ID

    Linus Torvalds
     
  • 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
     
  • Create a platform specific version of dma_get_required_mask()
    for ia64 SN Altix. All SN Altix platforms support 64 bit DMA
    addressing regardless of the size of system memory.
    Create an ia64 machvec for dma_get_required_mask, with the
    SN version unconditionally returning DMA_64BIT_MASK.

    Signed-off-by: John Keller
    Signed-off-by: Tony Luck

    John Keller
     
  • CONFIG_SATA_VITESSE=y was not added to generic_defconfig when
    sn2_defconfig was removed. SGI Altix systems that use an IO10
    base IO card to drive the root device are unable to boot without
    the Vitesse controller.

    Signed-off-by: Brent Casavant
    Signed-off-by: Robin Holt
    Signed-off-by: Jes Sorensen
    Signed-off-by: Tony Luck

    Brent Casavant
     
  • Often the cause of kernel unaligned access warnings is not
    obvious from just the ip displayed in the warning. This adds
    the option via proc to dump the stack in addition to the warning.
    The default is off (just display the 1 line warning). To enable
    the stack to be shown: echo 1 > /proc/sys/kernel/unaligned-dump-stack

    Signed-off-by: Doug Chapman
    Signed-off-by: Tony Luck

    Doug Chapman
     
  • sched_clock() on ia64 is based on ar.itc, so is never
    completely synchronized between cpus. On some platforms
    (e.g. certain models of SGI Altix) it may be running at
    radically different frequencies.

    Based on a patch from Dimitri Sivanich which set this
    just for SN2 && GENERIC kernels ... it is needed for
    all ia64 machines.

    Signed-off-by: Tony Luck

    Tony Luck
     
  • This patch fixes the following errors caused by
    79741dd35713ff4f6fd0eafd59fa94e8a4ba922d which changed
    the prototypes of account_steal_time() and account_idle_time().

    > CC arch/ia64/xen/time.o
    > arch/ia64/xen/time.c: In function 'consider_steal_time':
    > arch/ia64/xen/time.c:132: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
    > arch/ia64/xen/time.c:132: error: too many arguments to function 'account_steal_time'
    > arch/ia64/xen/time.c:133: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
    > arch/ia64/xen/time.c:133: error: too many arguments to function 'account_steal_time'

    Cc: Martin Schwidefsky
    Signed-off-by: Isaku Yamahata
    Signed-off-by: Tony Luck

    Isaku Yamahata
     
  • Takashi Iwai
     
  • The value set in the commit 2465fb6605b4f8f3964b132017bf4078d1265fe9
    is actually wrong. The value range is from 0 to 0x1f while the patch
    sets to 0x7f. Let's fix it.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

15 Jan, 2009

13 commits

  • Takashi Iwai
     
  • Takashi Iwai
     
  • Takashi Iwai
     
  • Modify the check for the mux type to also handle the
    snd_soc_dapm_value_mux type in a same way as the snd_soc_dapm_mux.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Takashi Iwai

    Peter Ujfalusi
     
  • On the Asus Xonar D2 and D2X models, the SPI chip select signal for the
    fourth DAC shares its pin with the serial clock for the EEPROM that
    contains the PCI subdevice ID values. It appears that when DAC
    registers are written and some other unknown conditions occur (probably
    noise on the EEPROM's chip select line), the EEPROM gets overwritten
    with garbage, which makes it impossible to properly detect the card
    later.

    Therefore, we better avoid DAC register writes and make sure that the
    driver works with the DAC's registers' default values. Consequently,
    the sample format is now I2S instead of left-justified (no user-visible
    change), and the DAC's volume/mute registers cannot be used anymore
    (volume changes are now done by the software volume plugin).

    Signed-off-by: Clemens Ladisch
    Cc:
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     
  • * '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
     
  • Add swab.h to kbuild.asm and remove the individual entries from
    each arch, mark as unifdef as some arches have some kernel-only
    bits inside.

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Adjust the arch overrides to the new names as well.

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    [XFS] Update maintainers
    [XFS] use scalable vmap API
    [XFS] remove old vmap cache
    [XFS] make xfs_ino_t an unsigned long long
    [XFS] truncate readdir offsets to signed 32 bit values
    [XFS] fix compile of xfs_btree_readahead_lblock on m68k
    [XFS] Remove macro-to-function indirections in the mask code
    [XFS] Remove macro-to-function indirections in attr code
    [XFS] Remove several unused typedefs.
    [XFS] pass XFS_IGET_BULKSTAT to xfs_iget for handle operations

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    IDE: fix sparse signed-ness errors with host->host_busy
    ide: fix suspend regression
    tx4938ide: Fix build error due to read_sff_dma_status moving
    ide: remove unused CONFIG_BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
    sl82c105: remove dead code
    via82cxxx: fix cable warning message
    ide: can't use SSD/non-rotational queue flag for all CFA devices
    it821x.c: use dev->revision instead of pci_read_config_byte
    it821x: Add ultra_mask quirk for Vortex86SX
    ide: fix accidental LOCKDEP breakage caused by local_irq_set() removal

    Linus Torvalds
     
  • Fix HP dv5 (103c:3603) built-in mic input.

    Reference: kernel bug 12440
    http://bugzilla.kernel.org/show_bug.cgi?id=12440

    Signed-off-by: Takashi Iwai
    Cc: stable@kernel.org

    Takashi Iwai
     
  • The host_busy field in struct ide_host defaults to a
    signed-long, where most arch's test_and_set_bit_*
    macros use an unsigned long.

    Change to using an unsigned long, which on ARM removes
    the following sparse errors:

    drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p
    drivers/ide/ide-io.c:681:8: got long volatile *
    drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p
    drivers/ide/ide-io.c:681:8: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *
    drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness)
    drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p
    drivers/ide/ide-io.c:695:3: got long volatile *

    Signed-off-by: Ben Dooks
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Ben Dooks