1. 12 Jun, 2009 2 commits
  2. 10 Jun, 2009 2 commits
  3. 09 Jun, 2009 36 commits
    • Takashi Iwai's avatar
      Merge branch 'topic/usb-audio' into for-linus · 85e013a1
      Takashi Iwai authored
      * topic/usb-audio:
        ALSA: usb - Add boot quirk for C-Media 6206 USB Audio
        ALSA: usb-audio - errata corrige for quirk
        ALSA: usb-audio - Add quirk for Roland/Edirol M-16DX
        ALSA: usb-audio - quirk for USB Aureon cards
    • Takashi Iwai's avatar
      Merge branch 'topic/seq-kconfig-cleanup' into for-linus · 4ef27920
      Takashi Iwai authored
      * topic/seq-kconfig-cleanup:
        ALSA: clean up the logic for building sequencer modules
    • Takashi Iwai's avatar
      Merge branch 'topic/section-fix' into for-linus · 1282c824
      Takashi Iwai authored
      * topic/section-fix:
        ALSA: Add missing __devexit_p() markers
        ALSA: powermac - Replace the rest of __init*
        ALSA: sound/ppc: update annotations of serveral functions
    • Takashi Iwai's avatar
      Merge branch 'topic/sc6000' into for-linus · 45d60e36
      Takashi Iwai authored
      * topic/sc6000:
        ALSA: sc6000: enable joystick port
        ALSA: sc6000: fix older card initialization
        ALSA: sc6000: add support for SC-6600 and SC-7000
    • Takashi Iwai's avatar
      Merge branch 'topic/riptide' into for-linus · 87cb14a5
      Takashi Iwai authored
      * topic/riptide:
        ALSA: riptide - Fix joystick resource handling
        ALSA: riptide - Code clean up
    • Takashi Iwai's avatar
      Merge branch 'topic/pcm-subclass-fix' into for-linus · 4ad75433
      Takashi Iwai authored
      * topic/pcm-subclass-fix:
        ALSA: Remove invalid GENERIC_MIX PCM sublass
    • Takashi Iwai's avatar
      Merge branch 'topic/pcm-jiffies-check' into for-linus · 3b88bc52
      Takashi Iwai authored
      * topic/pcm-jiffies-check:
        ALSA: pcm - A helper function to compose PCM stream name for debug prints
        ALSA: pcm - Fix update of runtime->hw_ptr_interrupt
        ALSA: pcm - Fix a typo in hw_ptr update check
        ALSA: PCM midlevel: lower jiffies check margin using runtime->delay value
        ALSA: PCM midlevel: Do not update hw_ptr_jiffies when hw_ptr is not changed
        ALSA: PCM midlevel: introduce mask for xrun_debug() macro
        ALSA: PCM midlevel: improve fifo_size handling
    • Takashi Iwai's avatar
      Merge branch 'topic/pcm-delay' into for-linus · eabaf063
      Takashi Iwai authored
      * topic/pcm-delay:
        ALSA: usbaudio - Add delay account
        ALSA: Add extra delay count in PCM
    • Takashi Iwai's avatar
      Merge branch 'topic/oxygen' into for-linus · 9dea75c7
      Takashi Iwai authored
      * topic/oxygen:
        sound: virtuoso: add Xonar Essence ST support
        sound: virtuoso: enable HDAV S/PDIF input
        sound: virtuoso: add another DX PCI ID
        sound: oxygen: reset DMA when stream is closed
    • Takashi Iwai's avatar
      Merge branch 'topic/misc' into for-linus · 8c3ff3a7
      Takashi Iwai authored
      * topic/misc:
        ALSA: sgio2audio.c: clean up checking
        ALSA: burgundy: timeout message is off by one.
        ALSA: bt87x - Add a quirk entry for Askey Computer Corp. MagicTView'99
        ALSA: parisc/harmony: fix printk format warning
        ALSA: keywest: Get rid of useless i2c_device_name() macro
    • Takashi Iwai's avatar
      Merge branch 'topic/maya44' into for-linus · ed8cc176
      Takashi Iwai authored
      * topic/maya44:
        ALSA: ice1724 - Add ESI Maya44 support
        ALSA: ice1724 - Allow spec driver to create own routing controls
        ALSA: ice1724 - Add PCI postint to reset sequence
        ALSA: ice1724 - Clean up definitions of DMA records
        ALSA: ice1724 - Check error in set_rate function
    • Takashi Iwai's avatar
      Merge branch 'topic/lx6464es' into for-linus · 03cece06
      Takashi Iwai authored
      * topic/lx6464es:
        ALSA: Add missing description of lx6464es to ALSA-Configuration.txt
        ALSA: lx6464es - Disable lx_message_send()
        ALSA: lx6464es - Use snd_card_create()
        ALSA: lx6464es - driver for the digigram lx6464es interface
    • Takashi Iwai's avatar
      Merge branch 'topic/hdsp' into for-linus · 3c2fcf36
      Takashi Iwai authored
      * topic/hdsp:
        ALSA: hdsp - Add a comment about external firmwares for hdsp
        ALSA: hdsp: allow firmware loading from inside the kernel
    • Takashi Iwai's avatar
      Merge branch 'topic/hda' into for-linus · 81ad969d
      Takashi Iwai authored
      * topic/hda: (51 commits)
        ALSA: hda - Fix the previous tagra-8ch patch
        ALSA: hda - Add 7.1 support for MSI GX620
        ALSA: support Sony Vaio TT
        ALSA: hda_intel: fix build error when !PM
        ALSA: hda - More Aspire 8930G fixes
        ALSA: hda - Acer Aspire 8930G support
        ALSA: hda - Limit codec-verb retry to limited hardwares
        ALSA: hda - Add codec bus reset and verb-retry at critical errors
        ALSA: hda - Reorder and clean-up ALC268 quirk table
        ALSA: hda - fix audio on LG R510
        ALSA: hda - Macbook[Pro] 5 6ch support
        ALSA: hda-intel: improve initialization for ALC262_HP_BPC model
        ALSA: hda - Jack Mode changes for Sigmatel boards
        ALSA: hda - Support NVIDIA 8 channel HDMI audio
        ALSA: hda - Fix a typo in the previous patch
        ALSA: hda - Fix reverted LED setup for HP
        ALSA: hda - Add more register bits definitions
        ALSA: hda - Always sync writes in single_cmd mode
        ALSA: hda - Support sync after writing a verb
        ALSA: hda - Allow concurrent RIRB access in single_cmd mode
    • Takashi Iwai's avatar
      Merge branch 'topic/emu10k1' into for-linus · 2f0dabcc
      Takashi Iwai authored
      * topic/emu10k1:
        ALSA: emu10k1 - Fix minimum periods for efx playback
    • Takashi Iwai's avatar
      Merge branch 'topic/div64-cleanup' into for-linus · 19b1a15a
      Takashi Iwai authored
      * topic/div64-cleanup:
        ALSA: Clean up 64bit division functions
    • Takashi Iwai's avatar
      Merge branch 'topic/ctxfi' into for-linus · e618a560
      Takashi Iwai authored
      * topic/ctxfi: (35 commits)
        ALSA: ctxfi - Clear PCM resources at hw_params and hw_free
        ALSA: ctxfi - Check the presence of SRC instance in PCM pointer callbacks
        ALSA: ctxfi - Add missing start check in atc_pcm_playback_start()
        ALSA: ctxfi - Add use_system_timer module option
        ALSA: ctxfi - Fix wrong model id for UAA
        ALSA: ctxfi - Clean up probe routines
        ALSA: ctxfi - Fix / clean up hw20k2 chip code
        ALSA: ctxfi - Fix possible buffer pointer overrun
        ALSA: ctxfi - Remove useless initializations and cast
        ALSA: ctxfi - Fix DMA mask for emu20k2 chip
        ALSA: ctxfi - Make volume controls more intuitive
        ALSA: ctxfi - Optimize the native timer handling using wc counter
        ALSA: ctxfi - Add missing inclusion of linux/math64.h
        ALSA: ctxfi - Set device 0 for mixer control elements
        ALSA: ctxfi - Clean up / optimize
        ALSA: ctxfi - Set periods_min to 2
        ALSA: ctxfi - Use native timer interrupt on emu20k1
        ALSA: ctxfi - Fix previous fix for 64bit DMA
        ALSA: ctxfi - Fix endian-dependent codes
        ALSA: ctxfi - Allow 64bit DMA
    • Takashi Iwai's avatar
      Merge branch 'topic/core-id-check' into for-linus · d3e37436
      Takashi Iwai authored
      * topic/core-id-check:
        ALSA: Core - clean up snd_card_set_id* calls and remove possible id collision
        ALSA: Fix double locking of card list in snd_card_register()
    • Takashi Iwai's avatar
      Merge branch 'topic/cleanup' into for-linus · d108728e
      Takashi Iwai authored
      * topic/cleanup:
        ALSA: Remove deprecated include/sound/driver.h
        ALSA: Remove deprecated snd_card_new()
    • Takashi Iwai's avatar
      Merge branch 'topic/caiaq' into for-linus · ab2f06cb
      Takashi Iwai authored
      * topic/caiaq:
        ALSA: snd_usb_caiaq: bump version number
        ALSA: snd_usb_caiaq: give better shortname
        ALSA: Core - add snd_card_set_id() function
        ALSA: snd_usb_caiaq: give better longname
        ALSA: snd_usb_caiaq: use strlcpy
        ALSA: snd_usb_caiaq: clean whitespaces
    • Takashi Iwai's avatar
      Merge branch 'topic/ca0106' into for-linus · a963203c
      Takashi Iwai authored
      * topic/ca0106:
        ALSA: ca0106 - Fix master volume scale
        ALSA: ca0106 - Add missing card->mixername field setup
        ALSA: ca0106 - Add missing registrations of vmaster controls
    • Takashi Iwai's avatar
      Merge branch 'topic/au88x0' into for-linus · 1d479f89
      Takashi Iwai authored
      * topic/au88x0:
        ALSA: au88x0: fix wrong period_elapsed() call
        ALSA: au88x0: fix .pointer callback
    • Takashi Iwai's avatar
      Merge branch 'topic/asoc' into for-linus · ba252af8
      Takashi Iwai authored
      * topic/asoc: (135 commits)
        ASoC: Apostrophe patrol
        ASoC: codec tlv320aic23 fix bogus divide by 0 message
        ASoC: fix NULL pointer dereference in soc_suspend()
        ASoC: Fix build error in twl4030.c
        ASoC: SSM2602: assign last substream to the master when shutting down
        ASoC: Blackfin: document how anomaly 05000250 is handled
        ASoC: Blackfin: set the transfer size according the ac97_frame size
        ASoC: SSM2602: remove unsupported sample rates
        ASoC: TWL4030: Check the interface format for 4 channel mode
        ASoC: TWL4030: Use reg_cache in twl4030_init_chip
        ASoC: Initialise dev for the dummy S/PDIF DAI
        ASoC: Add dummy S/PDIF codec support
        ASoC: correct print specifiers for unsigneds
        ASoC: Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()
        ASoC: Switch FSL SSI DAI over to symmetric_rates
        ASoC: Mark MPC5200 AC97 as BROKEN until PowerPC merge issues are resolved
        ASoC: Fabric bindings for STAC9766 on the Efika
        ASoC: Support for AC97 on Phytec pmc030 base board.
        ASoC: AC97 driver for mpc5200
        ASoC: Main rewite of the mpc5200 audio DMA code
    • Linus Torvalds's avatar
      Linux 2.6.30 · 07a2039b
      Linus Torvalds authored
    • Peter Botha's avatar
      char: mxser, fix ISA board lookup · 96050dfb
      Peter Botha authored
      There's a bug in the mxser kernel module that still appears in the kernel.
      mxser_get_ISA_conf takes a ioaddress as its first argument, by passing the
      not of the ioaddr, you're effectively passing 0 which means it won't be
      able to talk to an ISA card.  I have tested this, and removing the !
      fixes the problem.
      Cc: "Peter Botha" <peterb@goldcircle.co.za>
      Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
      Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Jan Kara's avatar
      jbd: fix race in buffer processing in commit code · a61d90d7
      Jan Kara authored
      In commit code, we scan buffers attached to a transaction.  During this
      scan, we sometimes have to drop j_list_lock and then we recheck whether
      the journal buffer head didn't get freed by journal_try_to_free_buffers().
       But checking for buffer_jbd(bh) isn't enough because a new journal head
      could get attached to our buffer head.  So add a check whether the journal
      head remained the same and whether it's still at the same transaction and
      This is a nasty bug and can cause problems like memory corruption (use after
      free) or trigger various assertions in JBD code (observed).
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      Cc: <stable@kernel.org>
      Cc: <linux-ext4@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Ian Kent's avatar
      autofs4: remove hashed check in validate_wait() · 463aea1a
      Ian Kent authored
      The recent ->lookup() deadlock correction required the directory inode
      mutex to be dropped while waiting for expire completion.  We were
      concerned about side effects from this change and one has been identified.
      I saw several error messages.
      They cause autofs to become quite confused and don't really point to the
      actual problem.
      Things like:
      handle_packet_missing_direct:1376: can't find map entry for (43,1827932)
      which is usually totally fatal (although in this case it wouldn't be
      except that I treat is as such because it normally is).
      do_mount_direct: direct trigger not valid or already mounted
      which is recoverable, however if this problem is at play it can cause
      autofs to become quite confused as to the dependencies in the mount tree
      because mount triggers end up mounted multiple times.  It's hard to
      accurately check for this over mounting case and automount shouldn't need
      to if the kernel module is doing its job.
      There was one other message, similar in consequence of this last one but I
      can't locate a log example just now.
      When checking if a mount has already completed prior to adding a new mount
      request to the wait queue we check if the dentry is hashed and, if so, if
      it is a mount point.  But, if a mount successfully completed while we
      slept on the wait queue mutex the dentry must exist for the mount to have
      completed so the test is not really needed.
      Mounts can also be done on top of a global root dentry, so for the above
      case, where a mount request completes and the wait queue entry has already
      been removed, the hashed test returning false can cause an incorrect
      callback to the daemon.  Also, d_mountpoint() is not sufficient to check
      if a mount has completed for the multi-mount case when we don't have a
      real mount at the base of the tree.
      Signed-off-by: default avatarIan Kent <raven@themaw.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Mike Frysinger's avatar
      shm: fix unused warnings on nommu · 586c7e6a
      Mike Frysinger authored
      The massive nommu update (8feae131
      ) resulted in these warnings:
      ipc/shm.c: In function `sys_shmdt':
      ipc/shm.c:974: warning: unused variable `size'
      ipc/shm.c:972: warning: unused variable `next'
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Cc: David Howells <dhowells@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus · 13df635f
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
        kvm: fix kvm reboot crash when MAXSMP is used
        cpumask: alloc zeroed cpumask for static cpumask_var_ts
        cpumask: introduce zalloc_cpumask_var
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block · 9cdba302
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
        bsg: setting rq->bio to NULL
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · fd4d3429
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        cls_cgroup: Fix oops when user send improperly 'tc filter add' request
        r8169: fix crash when large packets are received
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://neil.brown.name/md · 4d11eff6
      Linus Torvalds authored
      * 'for-linus' of git://neil.brown.name/md:
        md/raid5: fix bug in reshape code when chunk_size decreases.
        md/raid5 - avoid deadlocks in get_active_stripe during reshape
        md/raid5: use conf->raid_disks in preference to mddev->raid_disk
    • FUJITA Tomonori's avatar
      bsg: setting rq->bio to NULL · c1d4c41f
      FUJITA Tomonori authored
      Due to commit 1cd96c24
       ("block: WARN
      in __blk_put_request() for potential bio leak"), BSG SMP requests get
      the false warnings:
      WARNING: at block/blk-core.c:1068 __blk_put_request+0x52/0xc0()
      This sets rq->bio to NULL to avoid that false warnings.
      Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    • Avi Kivity's avatar
      kvm: fix kvm reboot crash when MAXSMP is used · 8437a617
      Avi Kivity authored
      one system was found there is crash during reboot then kvm/MAXSMP
      Sending all processes the KILL signal...                              done
      Please stand by while rebooting the system...
      [ 1721.856538] md: stopping all md devices.
      [ 1722.852139] kvm: exiting hardware virtualization
      [ 1722.854601] BUG: unable to handle kernel NULL pointer dereference at (null)
      [ 1722.872219] IP: [<ffffffff8102c6b6>] hardware_disable+0x4c/0xb4
      [ 1722.877955] PGD 0
      [ 1722.880042] Oops: 0000 [#1] SMP
      [ 1722.892548] last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/target0:2:0/0:2:0:0/vendor
      [ 1722.900977] CPU 9
      [ 1722.912606] Modules linked in:
      [ 1722.914226] Pid: 0, comm: swapper Not tainted 2.6.30-rc7-tip-01843-g2305324-dirty #299 ...
      [ 1722.932589] RIP: 0010:[<ffffffff8102c6b6>]  [<ffffffff8102c6b6>] hardware_disable+0x4c/0xb4
      [ 1722.942709] RSP: 0018:ffffc900010b6ed8  EFLAGS: 00010046
      [ 1722.956121] RAX: 0000000000000000 RBX: ffffc9000e253140 RCX: 0000000000000009
      [ 1722.972202] RDX: 000000000000b020 RSI: ffffc900010c3220 RDI: ffffffffffffd790
      [ 1722.977399] RBP: ffffc900010b6f08 R08: 0000000000000000 R09: 0000000000000000
      [ 1722.995149] R10: 00000000000004b8 R11: 966912b6c78fddbd R12: 0000000000000009
      [ 1723.011551] R13: 000000000000b020 R14: 0000000000000009 R15: 0000000000000000
      [ 1723.019898] FS:  0000000000000000(0000) GS:ffffc900010b3000(0000) knlGS:0000000000000000
      [ 1723.034389] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
      [ 1723.041164] CR2: 0000000000000000 CR3: 0000000001001000 CR4: 00000000000006e0
      [ 1723.056192] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      [ 1723.072546] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      [ 1723.080562] Process swapper (pid: 0, threadinfo ffff88107e464000, task ffff88047e5a2550)
      [ 1723.096144] Stack:
      [ 1723.099071]  0000000000000046 ffffc9000e253168 966912b6c78fddbd ffffc9000e253140
      [ 1723.115471]  ffff880c7d4304d0 ffffc9000e253168 ffffc900010b6f28 ffffffff81011022
      [ 1723.132428]  ffffc900010b6f48 966912b6c78fddbd ffffc900010b6f48 ffffffff8100b83b
      [ 1723.141973] Call Trace:
      [ 1723.142981]  <IRQ> <0> [<ffffffff81011022>] kvm_arch_hardware_disable+0x26/0x3c
      [ 1723.158153]  [<ffffffff8100b83b>] hardware_disable+0x3f/0x55
      [ 1723.172168]  [<ffffffff810b95f6>] generic_smp_call_function_interrupt+0x76/0x13c
      [ 1723.178836]  [<ffffffff8104cbea>] smp_call_function_interrupt+0x3a/0x5e
      [ 1723.194689]  [<ffffffff81035bf3>] call_function_interrupt+0x13/0x20
      [ 1723.199750]  <EOI> <0> [<ffffffff814ad3b4>] ? acpi_idle_enter_c1+0xd3/0xf4
      [ 1723.217508]  [<ffffffff814ad3ae>] ? acpi_idle_enter_c1+0xcd/0xf4
      [ 1723.232172]  [<ffffffff814ad4bc>] ? acpi_idle_enter_bm+0xe7/0x2ce
      [ 1723.235141]  [<ffffffff81a8d93f>] ? __atomic_notifier_call_chain+0x0/0xac
      [ 1723.253381]  [<ffffffff818c3dff>] ? menu_select+0x58/0xd2
      [ 1723.258179]  [<ffffffff818c2c9d>] ? cpuidle_idle_call+0xa4/0xf3
      [ 1723.272828]  [<ffffffff81034085>] ? cpu_idle+0xb8/0x101
      [ 1723.277085]  [<ffffffff81a80163>] ? start_secondary+0x1bc/0x1d7
      [ 1723.293708] Code: b0 00 00 65 48 8b 04 25 28 00 00 00 48 89 45 e0 31 c0 48 8b 04 cd 30 ee 27 82 49 89 cc 49 89 d5 48 8b 04 10 48 8d b8 90 d7 ff ff <48> 8b 87 70 28 00 00 48 8d 98 90 d7 ff ff eb 16 e8 e9 fe ff ff
      [ 1723.335524] RIP  [<ffffffff8102c6b6>] hardware_disable+0x4c/0xb4
      [ 1723.342076]  RSP <ffffc900010b6ed8>
      [ 1723.352021] CR2: 0000000000000000
      [ 1723.354348] ---[ end trace e2aec53dae150aa1 ]---
      it turns out that we need clear cpus_hardware_enabled in that case.
      Reported-and-tested-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    • Yinghai Lu's avatar
      cpumask: alloc zeroed cpumask for static cpumask_var_ts · eaa95840
      Yinghai Lu authored
      These are defined as static cpumask_var_t so if MAXSMP is not used,
      they are cleared already.  Avoid surprises when MAXSMP is enabled.
      Signed-off-by: default avatarYinghai Lu <yinghai.lu@kernel.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    • Yinghai Lu's avatar
      cpumask: introduce zalloc_cpumask_var · 0281b5dc
      Yinghai Lu authored
      So can get cpumask_var with cpumask_clear
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>