1. 10 8月, 2010 22 次提交
  2. 09 8月, 2010 9 次提交
    • T
      drm: fix fallouts from slow-work -> wq conversion · 9a919c46
      Tejun Heo 提交于
      Commit 991ea75c (drm: use workqueue instead of slow-work), which made
      drm to use wq instead of slow-work, didn't account for the return
      value difference between delayed_slow_work_enqueue() and
      queue_delayed_work().  The former returns 0 on success and -errno on
      failures while the latter never fails and only uses the return value
      to indicate whether the work was already pending or not.
      
      This misconversion triggered spurious error messages.  Remove the now
      unnecessary return value check and error message.
      
      Markus: caught another incorrect conversion in drm_kms_helper_poll_enable()
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      Tested-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      9a919c46
    • T
      workqueue: workqueue_cpu_callback() should be cpu_notifier instead of hotcpu_notifier · f6500947
      Tejun Heo 提交于
      Commit 6ee0578b (workqueue: mark init_workqueues as early_initcall)
      made workqueue SMP initialization depend on workqueue_cpu_callback(),
      which however was registered as hotcpu_notifier() and didn't get
      called if CONFIG_HOTPLUG_CPU is not set.  This made gcwqs on non-boot
      CPUs not create their initial workers leading to boot failures.  Fix
      it by making it a cpu_notifier.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-and-bisected-by: Nwalt <w41ter@gmail.com>
      Tested-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      f6500947
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · 45d7f32c
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
        arch/tile: check kmalloc() result
        arch/tile: catch up on various minor cleanups.
        arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
        tile: set ARCH_KMALLOC_MINALIGN
        tile: remove homegrown L1_CACHE_ALIGN macro
        arch/tile: Miscellaneous cleanup changes.
        arch/tile: Split the icache flush code off to a generic <arch> header.
        arch/tile: Fix bug in support for atomic64_xx() ops.
        arch/tile: Shrink the tile-opcode files considerably.
        arch/tile: Add driver to enable access to the user dynamic network.
        arch/tile: Enable more sophisticated IRQ model for 32-bit chips.
        Move list types from <linux/list.h> to <linux/types.h>.
        Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
        Revert adding some arch-specific signal syscalls to <linux/syscalls.h>.
        arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent(). Feedback from fujita.tomonori@lab.ntt.co.jp.
        arch/tile: core support for Tilera 32-bit chips.
        Fix up the "generic" unistd.h ABI to be more useful.
      45d7f32c
    • L
      Merge branch 'for-linus' of git://www.jni.nu/cris · 53bcef60
      Linus Torvalds 提交于
      * 'for-linus' of git://www.jni.nu/cris: (51 commits)
        CRIS: Fix alignment problem for older ld
        CRIS: Always dump registers for segfaulting process.
        CRIS: Add config for pausing a seg-faulting process
        CRIS: Don't take faults while in_atomic
        CRIS: Fixup lookup for delay slot faults
        CRIS: Discard exit.text and .data at runtime
        CRIS: Add cache aligned and read mostly data sections
        CRIS: Return something from profile write
        CRIS: Add ARTPEC-3 and timestamps for sync-serial
        CRIS: Better ARTPEC-3 support for gpio
        CRIS: Add include guard
        CRIS: Better handling of pinmux settings
        CRIS: New DMA defines for ARTPEC-3
        CRIS: __do_strncpy_from_user: Don't read the byte beyond the nil
        CRIS: Pagetable for ARTPEC-3
        CRIS: Machine dependent memmap.h
        CRIS: Check if pointer is set before using it
        CRIS: Machine dependent dma.h
        CRIS: Define __read_mostly for CRISv32
        CRIS: Discard .note.gnu.build-id section
        ...
      53bcef60
    • L
      Merge branch 'for-linus' of git://android.kernel.org/kernel/tegra · 4fd6c6bf
      Linus Torvalds 提交于
      * 'for-linus' of git://android.kernel.org/kernel/tegra:
        [ARM] tegra: add MAINTAINERS entry
        [ARM] tegra: harmony: Add harmony board file
        [ARM] tegra: add pinmux support
        [ARM] tegra: add GPIO support
        [ARM] tegra: Add timer support
        [ARM] tegra: SMP support
        [ARM] tegra: Add clock support
        [ARM] tegra: Add IRQ support
        [ARM] tegra: initial tegra support
      4fd6c6bf
    • L
      Merge branch 'for-linus' of git://github.com/schandinat/linux-2.6 · c5f34757
      Linus Torvalds 提交于
      * 'for-linus' of git://github.com/schandinat/linux-2.6:
        drivers/video/via/via-gpio.c: fix warning
        viafb: Depends on X86
        fbdev: section cleanup in viafb driver
        viafb: fix accel_flags check_var bug
        viafb: probe cleanups
        viafb: remove ioctls which break the framebuffer interface
        viafb: update fix before calculating depth
        viafb: PLL value cleanup
        viafb: simplify lcd size "detection"
        viafb: fix PCI table
        viafb: add lcd scaling support for some IGPs
        viafb: improve lcd code readability
        viafb: remove duplicated scaling code
        MAINTAINERS: update viafb entry
      c5f34757
    • L
      Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux · 537d8478
      Linus Torvalds 提交于
      * 'for-linus' of git://gitorious.org/linux-omap-dss2/linux: (64 commits)
        OMAP: DSS2: OMAPFB: add support for FBIO_WAITFORVSYNC
        OMAP: DSS2: Replace strncmp() with sysfs_streq() in overlay_manager_store()
        OMAP: DSS2: Fix error path in omap_dsi_update()
        OMAP: DSS2: TDO35S: fix video signaling
        OMAP: DSS2: OMAPFB: Fix invalid bpp for PAL and NTSC modes
        OMAP: DSS2: OMAPFB: Fix probe error path
        OMAP3EVM: Replace vdvi regulator supply with vdds_dsi
        OMAP: DSS2: Remove extra return statement
        OMAP: DSS2: adjust YUV overlay width to be even
        OMAP: DSS2: OMAPFB: Fix sysfs mirror input check
        OMAP: DSS2: OMAPFB: Remove redundant color register range check
        OMAP: DSS2: OMAPFB: Remove redundant rotate range check
        OMAP: DSS2: OMAPFB: Check fb2display() return value
        OMAP: DSS2: Taal: Optimize enable_te, rotate, mirror when value unchanged
        OMAP: DSS2: DSI: detect unsupported update requests
        OMAP: DSS2: DSI: increase FIFO low threshold
        OMAP: DSS2: DSI: Add error IRQ mask for DSI complexIO
        OMAP: DSS2: DSI: Remove BTA after set_max_rx_packet_size
        OMAP: DSS2: change manual update scaling setup
        OMAP: DSS2: DSI: use BTA to end the frame transfer
        ...
      537d8478
    • L
      Merge branch 'omap-for-linus' of... · d71048e2
      Linus Torvalds 提交于
      Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (143 commits)
        omap: mailbox: reorganize headers
        omap: mailbox: standarize on 'omap-mailbox'
        omap: mailbox: only compile for configured archs
        omap: mailbox: simplify omap_mbox_register()
        omap: mailbox: reorganize registering
        omap: mailbox: add IRQ names
        omap: mailbox: remove unecessary fields
        omap: mailbox: don't export unecessary symbols
        omap: mailbox: update omap1 probing
        omap: mailbox: use correct config for omap1
        omap: mailbox: 2420 should be detected at run-time
        omap: mailbox: reorganize structures
        omap: mailbox: trivial cleanups
        omap mailbox: Set a device in logical mbox instance for traceability
        omap: mailbox: convert block api to kfifo
        omap: mailbox: remove (un)likely macros from cold paths
        omap: mailbox cleanup: split MODULE_AUTHOR line
        omap: mailbox: convert rwlocks to spinlock
        Mailbox: disable mailbox interrupt when request queue
        Mailbox: new mutext lock for h/w mailbox configuration
        ...
      d71048e2
    • L
      Merge branch 'davinci-for-linus' of... · 44d51a02
      Linus Torvalds 提交于
      Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
      
      * 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci:
        davinci: dm646x EVM: Specify reserved EDMA channel/slots
        davinci: da8xx/omapl EVM: Specify reserved channels/slots
        davinci: support for EDMA resource sharing
        davinci: edma: provide ability to detect insufficient CC info data
        davinci: da8xx: sparse cleanup: remove duplicate entries in irq priorities
        davinci: DM365: fixed second serial port
        Davinci: tnetv107x evm board initial support
        Davinci: tnetv107x initial gpio support
        Davinci: tnetv107x soc support
        Davinci: tnetv107x decompresser uart definitions
        Davinci: generalized debug macros
      44d51a02
  3. 08 8月, 2010 9 次提交
    • N
      workqueue: add missing __percpu markup in kernel/workqueue.c · 38f51568
      Namhyung Kim 提交于
      works in schecule_on_each_cpu() is a percpu pointer but was missing
      __percpu markup.  Add it.
      Signed-off-by: NNamhyung Kim <namhyung@gmail.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      38f51568
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · 2d530569
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6: (82 commits)
        firewire: core: add forgotten dummy driver methods, remove unused ones
        firewire: add isochronous multichannel reception
        firewire: core: small clarifications in core-cdev
        firewire: core: remove unused code
        firewire: ohci: release channel in error path
        firewire: ohci: use memory barriers to order descriptor updates
        tools/firewire: nosy-dump: increment program version
        tools/firewire: nosy-dump: remove unused code
        tools/firewire: nosy-dump: use linux/firewire-constants.h
        tools/firewire: nosy-dump: break up a deeply nested function
        tools/firewire: nosy-dump: make some symbols static or const
        tools/firewire: nosy-dump: change to kernel coding style
        tools/firewire: nosy-dump: work around segfault in decode_fcp
        tools/firewire: nosy-dump: fix it on x86-64
        tools/firewire: add userspace front-end of nosy
        firewire: nosy: note ioctls in ioctl-number.txt
        firewire: nosy: use generic printk macros
        firewire: nosy: endianess fixes and annotations
        firewire: nosy: annotate __user pointers and __iomem pointers
        firewire: nosy: fix device shutdown with active client
        ...
      2d530569
    • L
      Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 9e50ab91
      Linus Torvalds 提交于
      * 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (27 commits)
        ACPI / ACPICA: Simplify acpi_ev_initialize_gpe_block()
        ACPI / ACPICA: Fail acpi_gpe_wakeup() if ACPI_GPE_CAN_WAKE is unset
        ACPI / ACPICA: Do not execute _PRW methods during initialization
        ACPI: Fix bogus GPE test in acpi_bus_set_run_wake_flags()
        ACPICA: Update version to 20100702
        ACPICA: Fix for Alias references within Package objects
        ACPICA: Fix lint warning for 64-bit constant
        ACPICA: Remove obsolete GPE function
        ACPICA: Update debug output components
        ACPICA: Add support for WDDT - Watchdog Descriptor Table
        ACPICA: Drop acpi_set_gpe
        ACPICA: Use low-level GPE enable during GPE block initialization
        ACPI / EC: Do not use acpi_set_gpe
        ACPI / EC: Drop suspend and resume routines
        ACPICA: Remove wakeup GPE reference counting which is not used
        ACPICA: Introduce acpi_gpe_wakeup()
        ACPICA: Rename acpi_hw_gpe_register_bit
        ACPICA: Update version to 20100528
        ACPICA: Add signatures for undefined tables: ATKG, GSCI, IEIT
        ACPICA: Optimization: Reduce the number of namespace walks
        ...
      9e50ab91
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 3cc08fc3
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (42 commits)
        IB/qib: Add missing <linux/slab.h> include
        IB/ehca: Drop unnecessary NULL test
        RDMA/nes: Fix confusing if statement indentation
        IB/ehca: Init irq tasklet before irq can happen
        RDMA/nes: Fix misindented code
        RDMA/nes: Fix showing wqm_quanta
        RDMA/nes: Get rid of "set but not used" variables
        RDMA/nes: Read firmware version from correct place
        IB/srp: Export req_lim via sysfs
        IB/srp: Make receive buffer handling more robust
        IB/srp: Use print_hex_dump()
        IB: Rename RAW_ETY to RAW_ETHERTYPE
        RDMA/nes: Fix two sparse warnings
        RDMA/cxgb3: Make needlessly global iwch_l2t_send() static
        IB/iser: Make needlessly global iser_alloc_rx_descriptors() static
        RDMA/cxgb4: Add timeouts when waiting for FW responses
        IB/qib: Fix race between qib_error_qp() and receive packet processing
        IB/qib: Limit the number of packets processed per interrupt
        IB/qib: Allow writes to the diag_counters to be able to clear them
        IB/qib: Set cfgctxts to number of CPUs by default
        ...
      3cc08fc3
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · faa38b5e
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (214 commits)
        ALSA: hda - Add pin-fix for HP dc5750
        ALSA: als4000: Fix potentially invalid DMA mode setup
        ALSA: als4000: enable burst mode
        ALSA: hda - Fix initial capsrc selection in patch_alc269()
        ASoC: TWL4030: Capture route runtime DAPM ordering fix
        ALSA: hda - Add PC-beep whitelist for an Intel board
        ALSA: hda - More relax for pending period handling
        ALSA: hda - Define AC_FMT_* constants
        ALSA: hda - Fix beep frequency on IDT 92HD73xx and 92HD71Bxx codecs
        ALSA: hda - Add support for HDMI HBR passthrough
        ALSA: hda - Set Stream Type in Stream Format according to AES0
        ALSA: hda - Fix Thinkpad X300 so SPDIF is not exposed
        ALSA: hda - FIX to not expose SPDIF on Thinkpad X301, since it does not have the ability to use SPDIF
        ASoC: wm9081: fix resource reclaim in wm9081_register error path
        ASoC: wm8978: fix a memory leak if a wm8978_register fail
        ASoC: wm8974: fix a memory leak if another WM8974 is registered
        ASoC: wm8961: fix resource reclaim in wm8961_register error path
        ASoC: wm8955: fix resource reclaim in wm8955_register error path
        ASoC: wm8940: fix a memory leak if wm8940_register return error
        ASoC: wm8904: fix resource reclaim in wm8904_register error path
        ...
      faa38b5e
    • L
      Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing · 78417334
      Linus Torvalds 提交于
      * 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
        do_coredump: Do not take BKL
        init: Remove the BKL from startup code
      78417334
    • L
    • L
      Merge branch 'for-2.6.36' of git://linux-nfs.org/~bfields/linux · 0d9f9e12
      Linus Torvalds 提交于
      * 'for-2.6.36' of git://linux-nfs.org/~bfields/linux: (34 commits)
        nfsd4: fix file open accounting for RDWR opens
        nfsd: don't allow setting maxblksize after svc created
        nfsd: initialize nfsd versions before creating svc
        net: sunrpc: removed duplicated #include
        nfsd41: Fix a crash when a callback is retried
        nfsd: fix startup/shutdown order bug
        nfsd: minor nfsd read api cleanup
        gcc-4.6: nfsd: fix initialized but not read warnings
        nfsd4: share file descriptors between stateid's
        nfsd4: fix openmode checking on IO using lock stateid
        nfsd4: miscellaneous process_open2 cleanup
        nfsd4: don't pretend to support write delegations
        nfsd: bypass readahead cache when have struct file
        nfsd: minor nfsd_svc() cleanup
        nfsd: move more into nfsd_startup()
        nfsd: just keep single lockd reference for nfsd
        nfsd: clean up nfsd_create_serv error handling
        nfsd: fix error handling in __write_ports_addxprt
        nfsd: fix error handling when starting nfsd with rpcbind down
        nfsd4: fix v4 state shutdown error paths
        ...
      0d9f9e12
    • D
      AFS: Fix the module init error handling · df44f9f4
      David Howells 提交于
      Fix the module init error handling.  There are a bunch of goto labels for
      aborting the init procedure at different points and just undoing what needs
      undoing - they aren't all in the right places, however.
      
      This can lead to an oops like the following:
      
      	BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
      	IP: [<ffffffff81042a31>] destroy_workqueue+0x17/0xc0
      	...
      	Modules linked in: kafs(+) dns_resolver rxkad af_rxrpc fscache
      
      	Pid: 2171, comm: insmod Not tainted 2.6.35-cachefs+ #319 DG965RY/
      	...
      	Process insmod (pid: 2171, threadinfo ffff88003ca6a000, task ffff88003dcc3050)
      	...
      	Call Trace:
      	 [<ffffffffa0055994>] afs_callback_update_kill+0x10/0x12 [kafs]
      	 [<ffffffffa007d1c5>] afs_init+0x190/0x1ce [kafs]
      	 [<ffffffffa007d035>] ? afs_init+0x0/0x1ce [kafs]
      	 [<ffffffff810001ef>] do_one_initcall+0x59/0x14e
      	 [<ffffffff8105f7ee>] sys_init_module+0x9c/0x1de
      	 [<ffffffff81001eab>] system_call_fastpath+0x16/0x1b
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      df44f9f4