06 Jul, 2009

6 commits


05 Jul, 2009

9 commits

  • Linus Torvalds
     
  • Commit 537a1bf059fa312355696fa6db80726e655e7f17 (fbdev: add mutex for
    fb_mmap locking) introduces a ->mm_lock mutex for protecting smem
    assignments. Unfortunately in the case of sm501fb these happen quite
    early in the initialization code, well before the mutex_init() that takes
    place in register_framebuffer(), leading to:

    Badness at kernel/mutex.c:207

    Pid : 1, Comm: swapper
    CPU : 0 Not tainted (2.6.31-rc1-00284-g529ba0d-dirty #2273)

    PC is at __mutex_lock_slowpath+0x72/0x1bc
    PR is at __mutex_lock_slowpath+0x66/0x1bc
    ...

    matroxfb appears to have the same issue and has solved it with an early
    mutex_init(), so we do the same for sm501fb.

    Signed-off-by: Paul Mundt
    Cc: Krzysztof Helt
    Signed-off-by: Linus Torvalds

    Paul Mundt
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: (27 commits)
    parisc: use generic atomic64 on 32-bit
    parisc: superio: fix build breakage
    parisc: Fix PCI resource allocation on non-PAT SBA machines
    parisc: perf: wire up sys_perf_counter_open
    parisc: add task_pt_regs macro
    parisc: wire sys_perf_counter_open to sys_ni_syscall
    parisc: inventory.c, fix bloated stack frame
    parisc: processor.c, fix bloated stack frame
    parisc: fix compile warning in mm/init.c
    parisc: remove dead code from sys_parisc32.c
    parisc: wire up rt_tgsigqueueinfo
    parisc: ensure broadcast tlb purge runs single threaded
    parisc: fix "delay!" timer handling
    parisc: fix mismatched parenthesis in memcpy.c
    parisc: Fix gcc 4.4 warning in lba_pci.c
    parisc: add parameter to read_cr16()
    parisc: decode_exc.c should include kernel.h
    parisc: remove obsolete hw_interrupt_type
    parisc: fix irq compile bugs in arch/parisc/kernel/irq.c
    parisc: advertise PCI devs after "assign_resources"
    ...

    Manually fixed up trivial conflicts in tools/perf/perf.h due to addition
    of SH vs HPPA perf-counter support.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
    mfd: fix pcap adc locking
    mfd: sm501, fix lock imbalance

    Linus Torvalds
     
  • * 'for-2.6.31' of git://linux-nfs.org/~bfields/linux:
    NFSD: Don't hold unrefcounted creds over call to nfsd_setuser()

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    MIPS: Fix CONFIG_FLATMEM version of pfn_valid()
    MIPS: Reorganize Cavium OCTEON PCI support.
    Update Yoichi Yuasa's e-mail address
    MIPS: Allow suspend and hibernation again on uniprocessor kernels.
    MIPS: 64-bit: Fix o32 core dump
    MIPS: BC47xx: Fix SSB irq setup
    MIPS: CMP: Update sync-r4k for current kernel
    MIPS: CMP: Move gcmp_probe to before the SMP ops
    MIPS: CMP: activate CMP support
    MIPS: CMP: Extend IPI handling to CPU number
    MIPS: CMP: Extend the GIC IPI interrupts beyond 32
    MIPS: Define __arch_swab64 for all mips r2 cpus
    MIPS: Update VR41xx GPIO driver to use gpiolib
    MIPS: Hookup new syscalls sys_rt_tgsigqueueinfo and sys_perf_counter_open.
    MIPS: Malta: Remove unnecessary function prototypes
    MIPS: MT: Remove unnecessary semicolons
    MIPS: Add support for Texas Instruments AR7 System-on-a-Chip

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    sound: do not set DEVNAME for OSS devices
    ALSA: hda - Add sanity check in PCM open callback
    ALSA: hda - Call snd_pcm_lib_hw_rates() again after codec open callback
    ALSA: hda - Avoid invalid formats and rates with shared SPDIF
    ALSA: hda - Improve ASUS eeePC 1000 mixer
    ALSA: hda - Add GPIO1 control at muting with HP laptops
    ALSA: usx2y - reparent sound device
    ALSA: snd_usb_caiaq: reparent sound device
    sound: virtuoso: fix Xonar D1/DX silence after resume
    ASoC: Only disable pxa2xx-i2s clocks if we enabled them
    ALSA: hda - Add quirk for HP 6930p
    ALSA: hda - Add missing static to patch_ca0110()
    ASoC: OMAP: fix OMAP1510 broken PCM pointer callback
    ASoC: remove BROKEN from Efika and pcm030 fabric drivers
    ASoC: Fix typo in MPC5200 PSC AC97 driver Kconfig

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
    kbuild: finally remove the obsolete variable $TOPDIR
    gitignore: ignore scripts/ihex2fw
    Kbuild: Disable the -Wformat-security gcc flag
    gitignore: ignore gcov output files
    kbuild: deb-pkg ship changelog
    Add new __init_task_data macro to be used in arch init_task.c files.
    asm-generic/vmlinux.lds.h: shuffle INIT_TASK* macro names in vmlinux.lds.h
    Add new macros for page-aligned data and bss sections.
    asm-generic/vmlinux.lds.h: Fix up RW_DATA_SECTION definition.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    block: don't merge requests of different failfast settings
    cciss: Ignore stale commands after reboot

    Linus Torvalds
     

04 Jul, 2009

8 commits

  • * fix/soundcore:
    sound: do not set DEVNAME for OSS devices

    Takashi Iwai
     
  • * fix/hda:
    ALSA: hda - Add sanity check in PCM open callback
    ALSA: hda - Call snd_pcm_lib_hw_rates() again after codec open callback
    ALSA: hda - Avoid invalid formats and rates with shared SPDIF
    ALSA: hda - Improve ASUS eeePC 1000 mixer
    ALSA: hda - Add GPIO1 control at muting with HP laptops

    Takashi Iwai
     
  • Signed-off-by: Kay Sievers
    Signed-off-by: Takashi Iwai

    Kay Sievers
     
  • Add some sanity checks of struct snd_pcm_hardware fields in the PCM
    open callback of hda driver. This makes a bit easier to debug any PCM
    setup errors in the codec side.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The PCM rates bit field may have been changed by the codec open callback.
    In that case, we need to reset rate_min and rate_max. So, simply call
    snd_pcm_lib_hw_rates() again after the codec open callback.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Check whether formats and rates don't result in zero due to the
    restriction of SPDIF sharing. If any of them can be zero, disable
    the SPDIF sharing mode instead. Otherwise it will lead to a PCM
    configuration error.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Block layer used to merge requests and bios with different failfast
    settings. This caused regular IOs to fail prematurely when they were
    merged into failfast requests for readahead.

    Niel Lambrechts could trigger the problem semi-reliably on ext4 when
    resuming from STR. ext4 uses readahead when reading inodes and
    combined with the deterministic extra SATA PHY exception cycle during
    resume on the specific configuration, non-readahead inode read would
    fail causing ext4 errors. Please read the following thread for
    details.

    http://lkml.org/lkml/2009/5/23/21

    This patch makes block layer reject merging if the failfast settings
    don't match. This is correct but likely to lower IO performance by
    preventing regular IOs from mingling into surrounding readahead
    requests. Changes to allow such mixed merges and handle errors
    correctly will be added later.

    Signed-off-by: Tejun Heo
    Reported-by: Niel Lambrechts
    Cc: Theodore Tso
    Signed-off-by: Jens Axboe

    Tejun Heo
     
  • When doing an unexpected shutdown like kexec the cciss
    firmware might still have some commands in flight, which
    it is trying to complete.
    The driver is doing it's best on resetting the HBA,
    but sadly there's a firmware issue causing the firmware
    _not_ to abort or drop old commands.
    So the firmware will send us commands which we haven't
    accounted for, causing the driver to panic.

    With this patch we're just ignoring these commands as
    there is nothing we could be doing with them anyway.

    Signed-off-by: Hannes Reinecke
    Acked-by: Mike Miller
    Signed-off-by: Jens Axboe

    Hannes Reinecke
     

03 Jul, 2009

17 commits