15 Dec, 2009

1 commit


13 Dec, 2009

11 commits

  • * 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6:
    IXP4xx: GTWX5715 platform only has two PCI IRQ lines, not four.
    IXP4xx: Introduce IXP4XX_GPIO_IRQ(n) macro and convert IXP4xx platform files.
    IXP4xx: move Gemtek GTWX5715 platform macros to the platform code.
    IXP4xx: Remove unused Motorola PrPMC1100 platform macros.
    IXP4xx: move FSG platform macros to the platform code.
    IXP4xx: move DSM G600 platform macros to the platform code.
    IXP4xx: move NAS100D platform macros to the platform code.
    IXP4xx: move NSLU2 platform macros to the platform code.
    IXP4xx: move Coyote platform macros to the platform code.
    IXP4xx: move AVILA platform macros to the platform code.
    IXP4xx: move IXDP425 platform macros to the platform code.
    IXP4xx: Extend PCI MMIO indirect address space to 1 GB.
    IXP4xx: Fix compilation failure with CONFIG_IXP4XX_INDIRECT_PCI.
    IXP4xx: Drop "__ixp4xx_" prefix from in/out/ioread/iowrite functions for clarity.
    IXP4xx: Rename indirect MMIO primitives from __ixp4xx_* to __indirect_*.
    IXP4xx: Ensure index is positive in irq_to_gpio() and npe_request().
    ARM: fix insl() and outsl() endianness on IXP4xx architecture.
    IXP4xx: Fix normally-disabled debugging text in drivers/net/arm/ixp4xx_eth.c.
    IXP4xx: change the timer base frequency to 66.666000 MHz.

    Linus Torvalds
     
  • As shown by the previous patch (6698e3472: "tty: Fix BKL taken under a
    spinlock bug introduced in the BKL split") the BKL removal is prone to
    some subtle issues, where removing the BKL in one place may in fact make
    a previously nested BKL call the new outer call, and then prone to nasty
    deadlocks with other spinlocks.

    In general, we should never take the BKL while we're holding a spinlock,
    so let's just add a "might_sleep()" to it (even though the BKL doesn't
    technically sleep - at least not yet), and we'll get nice warnings the
    next time this kind of problem happens during BKL removal.

    Acked-and-Tested-by: Thomas Gleixner
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • The fasync path takes the BKL (it probably doesn't need to in fact)
    while holding the file_list spinlock. You can't do that with the kernel
    lock: it causes lock inversions and deadlocks.

    Leave the BKL over that bit for the moment.

    Identified by AKPM.

    Signed-off-by: Alan Cox
    Acked-and-Tested-by: Thomas Gleixner
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (151 commits)
    powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
    MAINTAINERS: Add PowerPC patterns
    powerpc/pseries: Track previous CPPR values to correctly EOI interrupts
    powerpc/pseries: Correct pseries/dlpar.c build break without CONFIG_SMP
    powerpc: Make "intspec" pointers in irq_host->xlate() const
    powerpc/8xx: DTLB Miss cleanup
    powerpc/8xx: Remove DIRTY pte handling in DTLB Error.
    powerpc/8xx: Start using dcbX instructions in various copy routines
    powerpc/8xx: Restore _PAGE_WRITETHRU
    powerpc/8xx: Add missing Guarded setting in DTLB Error.
    powerpc/8xx: Fixup DAR from buggy dcbX instructions.
    powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions.
    powerpc/8xx: Update TLB asm so it behaves as linux mm expects.
    powerpc/8xx: Invalidate non present TLBs
    powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
    pseries/pseries: Add code to online/offline CPUs of a DLPAR node
    powerpc: stop_this_cpu: remove the cpu from the online map.
    powerpc/pseries: Add kernel based CPU DLPAR handling
    sysfs/cpu: Add probe/release files
    powerpc/pseries: Kernel DLPAR Infrastructure
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Overwrite pin config on intel DG45ID board.
    intelhdmi - dont power off HDA link
    ALSA: hrtimer - Fix lock-up
    ALSA: intelhdmi - add channel mapping for typical configurations
    ALSA: intelhdmi - channel mapping applies to Pin
    ALSA: intelhdmi - accept DisplayPort pin
    ALSA: hda - show HBR(High Bit Rate) pin cap in procfs
    ALSA: hda - Fix LED GPIO setup for HP laptops with IDT codecs
    ASoC: Fix build of OMAP sound drivers
    ALSA: opti93x: fix irq releasing if the irq cannot be allocated

    Linus Torvalds
     
  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (75 commits)
    omap3: Fix OMAP35XX_REV macros
    omap: serial: fix non-empty uart fifo read abort
    omap3: Zoom2/3: Update hsmmc board config params
    omap3 : Enable TWL4030 Keypad for Zoom2 and Zoom3 boards
    omap3: id code detection 3525 vs 3515
    omap3: rx51: Use wl1251 in SPI mode 3
    omap3: zoom2/3: make MMC slot work again
    omap1: htcherald: Update defconfig to include mux support
    omap1: LCD_DMA: Use some define rather than a hexadecimal
    omap: header: remove unused data-type
    omap: arch/arm/plat-omap/devices.c - sort alphabetically
    omap: Correcting GPMC_CONFIG1_DEVICETYPE_NAND
    OMAP3: serial - allow platforms specify which UARTs to initialize
    omap3: cm-t35: add mux initialization
    OMAP4: Sync up omap4430 defconfig
    OMAP4: Remove the secondary wait loop
    OMAP4: AuxCoreBoot registers only accessible in secure mode
    OMAP4: Fix SRAM base and size
    OMAP4: Fix cpu detection
    omap3: pandora: board file updates for .33
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    be2net: fix error in rx completion processing.
    igbvf: avoid reset storms due to mailbox issues
    igb: fix handling of mailbox collisions between PF/VF
    usb: remove rare pm primitive for conversion to new API

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slab, kmemleak: pass the correct pointer to kmemleak_erase()
    slab, kmemleak: stop calling kmemleak_erase() unconditionally
    SLAB: Fix unlikely() annotation in __cache_alloc_node()
    SLAB: Fix lockdep annotations for CPU hotplug
    SLUB: Fix __GFP_ZERO unlikely() annotation
    slub: allow stats to be cleared

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (21 commits)
    sched: Remove forced2_migrations stats
    sched: Fix memory leak in two error corner cases
    sched: Fix build warning in get_update_sysctl_factor()
    sched: Update normalized values on user updates via proc
    sched: Make tunable scaling style configurable
    sched: Fix missing sched tunable recalculation on cpu add/remove
    sched: Fix task priority bug
    sched: cgroup: Implement different treatment for idle shares
    sched: Remove unnecessary RCU exclusion
    sched: Discard some old bits
    sched: Clean up check_preempt_wakeup()
    sched: Move update_curr() in check_preempt_wakeup() to avoid redundant call
    sched: Sanitize fork() handling
    sched: Clean up ttwu() rq locking
    sched: Remove rq->clock coupling from set_task_cpu()
    sched: Consolidate select_task_rq() callers
    sched: Remove sysctl.sched_features
    sched: Protect sched_rr_get_param() access to task->sched_class
    sched: Protect task->cpus_allowed access in sched_getaffinity()
    sched: Fix balance vs hotplug race
    ...

    Fixed up conflicts in kernel/sysctl.c (due to sysctl cleanup)

    Linus Torvalds
     
  • Takashi Iwai
     
  • Takashi Iwai
     

12 Dec, 2009

28 commits

  • The pin config provided by BIOS have some problems:
    0x0221401f: [Jack] HP Out at Ext Front
    Signed-off-by: Takashi Iwai

    Alexey Fisher
     
  • Pekka Enberg
     
  • There are certain skews of the NIC which have multiple bits set in
    adapter->cap. Use & instead of == to process rx completions.

    Signed-off-by: Ajit Khaparde
    Signed-off-by: David S. Miller

    Ajit Khaparde
     
  • From: Alexander Duyck

    This change makes it so that reset/interrupt storms can be avoided when
    there are mailbox issues. The new behavior is to only allow the device to
    trigger mailbox related resets only once every 10 seconds.

    Signed-off-by: Alexander Duyck
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Alexander Duyck
     
  • This patch changes the handling of collisions between the use of the
    PF/VF sides of the mailbox.

    Signed-off-by: Alexander Duyck
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Alexander Duyck
     
  • This patch removes a rare use of the USB power management API which
    won't be supported after the conversion to the new generic runtime power
    management framework. Functionality is not altered.

    Signed-off-by: Oliver Neukum
    Signed-off-by: David S. Miller

    Oliver Neukum
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (75 commits)
    net: Handle NETREG_UNINITIALIZED devices correctly
    can: add the driver for Analog Devices Blackfin on-chip CAN controllers
    xfrm: Fix truncation length of authentication algorithms installed via PF_KEY
    net: use compat helper functions in compat_sys_recvmmsg
    net: fix compat_sys_recvmmsg parameter type
    cxgb3: Fixing EEH handlers
    cnic: Zero out status block and Event Queue indices.
    cnic: Send delete command when shutting down iSCSI ring.
    net: smc91x: Fix up type mismatch in smc_drv_resume().
    smc91x: fix unused flags warnings on UP systems
    MAINTAINERS: Transfering maintainership of cdc-ether
    net: Add missing TST_CFG_WRITE bits around sky2_pci_write
    net: Fix Yukon-2 Optima TCP offload setup
    net: niu uses crc32, so select CRC32
    wireless: update old static regulatory domain rules
    mac80211: Revert 'Use correct sign for mesh active path refresh'
    mac80211: Fixed bug in mesh portal paths
    net/mac80211: Correct size given to memset
    b43: Remove reset after fatal DMA error
    rtl8187: add radio led and fix warnings on suspend
    ...

    Linus Torvalds
     
  • * 'compat-ioctl-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground:
    usbdevfs: move compat_ioctl handling to devio.c
    lp: move compat_ioctl handling into lp.c
    compat_ioctl: pass compat pointer directly to handlers
    compat_ioctl: simplify lookup table
    compat_ioctl: simplify calling of handlers
    compat_ioctl: inline all conversion handlers
    compat_ioctl: Remove BKL
    compat_ioctl: remove all VT ioctl handling

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
    asm-generic: add sys_recvmmsg to unistd.h
    asm-generic: add sys_accept4 to unistd.h
    asm-generic/gpio.h: add some forward decls of the device struct
    asm-generic: Fix typo in asm-generic/unistd.h.
    lib/checksum: fix one more thinko
    lib/checksum.c: make do_csum optional
    lib/checksum.c: use 32-bit arithmetic consistently

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    itimer: Fix the itimer trace print format
    hrtimer: move timer stats helper functions to hrtimer.c
    hrtimer: Tune hrtimer_interrupt hang logic

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    lockdep: Avoid out of bounds array reference in save_trace()
    futex: Take mmap_sem for get_user_pages in fault_in_user_writeable
    lockstat: Add usage info to Documentation/lockstat.txt
    lockstat: Fix min, max times in /proc/lock_stats

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86/amd-iommu: Fix PCI hotplug with passthrough mode
    x86/amd-iommu: Fix passthrough mode
    x86: mmio-mod.c: Use pr_fmt
    x86: kmmio.c: Add and use pr_fmt(fmt)
    x86: i8254.c: Add pr_fmt(fmt)
    x86: setup_percpu.c: Use pr_<level> and add pr_fmt(fmt)
    x86: es7000_32.c: Use pr_<level> and add pr_fmt(fmt)
    x86: Print DMI_BOARD_NAME as well as DMI_PRODUCT_NAME from __show_regs()
    x86: Factor duplicated code out of __show_regs() into show_regs_common()
    arch/x86/kernel/microcode*: Use pr_fmt() and remove duplicated KERN_ERR prefix
    x86, mce: fix confusion between bank attributes and mce attributes
    x86/mce: Set up timer unconditionally
    x86: Fix bogus warning in apic_noop.apic_write()
    x86: Fix typo in arch/x86/mm/kmmio.c
    x86: ASUS P4S800 reboot=bios quirk

    Linus Torvalds
     
  • …nel/git/tip/linux-2.6-tip

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    tracing: Remove comparing of NULL to va_list in trace_array_vprintk()
    tracing: Fix function graph trace_pipe to properly display failed entries
    tracing: Add full state to trace_seq
    tracing: Buffer the output of seq_file in case of filled buffer
    tracing: Only call pipe_close if pipe_close is defined
    tracing: Add pipe_close interface

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (57 commits)
    x86, perf events: Check if we have APIC enabled
    perf_event: Fix variable initialization in other codepaths
    perf kmem: Fix unused argument build warning
    perf symbols: perf_header__read_build_ids() offset'n'size should be u64
    perf symbols: dsos__read_build_ids() should read both user and kernel buildids
    perf tools: Align long options which have no short forms
    perf kmem: Show usage if no option is specified
    sched: Mark sched_clock() as notrace
    perf sched: Add max delay time snapshot
    perf tools: Correct size given to memset
    perf_event: Fix perf_swevent_hrtimer() variable initialization
    perf sched: Fix for getting task's execution time
    tracing/kprobes: Fix field creation's bad error handling
    perf_event: Cleanup for cpu_clock_perf_event_update()
    perf_event: Allocate children's perf_event_ctxp at the right time
    perf_event: Clean up __perf_event_init_context()
    hw-breakpoints: Modify breakpoints without unregistering them
    perf probe: Update perf-probe document
    perf probe: Support --del option
    trace-kprobe: Support delete probe syntax
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://codeaurora.org/quic/kernel/dwalker/linux-msm:
    HTC Dream: mmc compilation fixes
    video: Allow selecting MSM framebuffer in Kconfig
    Add arm msm maintainer entry
    msm: Add memory map for HTC Dream
    msm: add minimal board file for HTC Dream device
    msm: make debugging UART (for DEBUG_LL) configurable

    Linus Torvalds
     
  • Conflicts:
    include/net/tcp.h

    David S. Miller
     
  • Tony Lindgren
     
  • In original implementation, the revision passed to
    these macros contained revision number in lower nibble.

    But, later the revision bits (OMAP_REVBITS_XX) were
    defined to use omap_revision[15:08] where revision
    number is containied in higher nibble.

    This patch updates the macros; else incorrect revision
    is detected for OMAP35xx devices.

    Signed-off-by: Sanjeev Premi

    Sanjeev Premi
     
  • OMAP3xxx and OMAP4430 UART IP blocks have a restriction wrt RX FIFO.
    Empty RX fifo read causes an abort.

    OMAP3xxx:
    UART IP revision >= 0x52 have this issue
    MVR register format is:
    Bits Field Name Description Type Reset
    31:8 RESERVED RO 0x0
    7:4 MAJOR Major revision number of the module. RO 0x--
    3:0 MINOR Minor revision number of the module. RO 0x--

    OMAP4xxx:
    All revisions have this issue
    Revision id check is not used as the format of MVR resigster has changed
    For omap4 MVR register reads as: 0x50410602 => Revision id = 0x0602
    Format of MVR register on omap4 is: (Courtesy: Cousson, Benoit)
    Bits Field Name Description Type Reset
    31:30 SCHEME Scheme revision number of module RO 0x1
    29:28 RESERVED RO 0x1
    27:16 FUNC Function revision number of module RO 0x041
    15:11 RTL Rtl revision number of module RO 0x00
    10:8 MAJOR Major revision number of the module. RO 0x6
    7:6 CUSTOM Custom revision number of the module. RO 0x0
    5:0 MINOR Minor revision number of the module. RO 0x02

    Override the default 8250 read handler: mem_serial_in()
    by a custom handler: serial_in_8250()
    which makes sure that RX fifo is not read when empty

    tested on zoom3(3630) board

    Cc: Benoit Cousson
    Signed-off-by: Vikram Pandita
    Signed-off-by: Tony Lindgren

    vikram pandita
     
  • Update the hsmmc zoom peripheral configuration to support:
    Power saving mode
    mmc2 8-bit support
    Configure mmc2 as non removable

    Signed-off-by: Madhusudhan Chikkature
    Signed-off-by: Tony Lindgren

    Madhusudhan Chikkature
     
  • The TWL4030 keypad driver is not enabled by default for zoom2 and zoom3
    boards.

    This patch will enable the same for both zoom2 and zoom3 boards.

    Tested on zoom2(3430) and zoom3(3630) boards.

    Signed-off-by: Manjunatha GK
    Signed-off-by: Tony Lindgren

    manjugk manjugk
     
  • The runtime detection of OMAP3515 and OMAP3525
    was reversed.

    Signed-off-by: Sergey Lapin
    Signed-off-by: Sanjeev Premi
    Signed-off-by: Tony Lindgren

    Sergey Lapin
     
  • Otherwise Extreme Lower Power (ELP) wakeup doesn't work properly.

    Signed-off-by: Kalle Valo
    Signed-off-by: Tony Lindgren

    Kalle Valo
     
  • omap3: zoom2/3: make MMC slot work again

    Commit 12f8dfb56 accidentally broke MMC on zoom2/3.
    The .vmmc1 field of zoom_twldata was deleted. Restoring it
    allows the MMC slot to work again

    Signed-off-by: Anand Gadiyar
    Acked-by: Madhusudhan Chikkature
    Signed-off-by: Tony Lindgren

    Anand Gadiyar
     
  • The existing htcherald_defconfig did not include mux support, which
    prevented USB and other functionality from working out of the box.
    This change updates the defconfig to add it in. It also aligns the
    defconfig to the -rc8 kernel config.

    Signed-off-by: Cory Maccarrone
    Signed-off-by: Tony Lindgren

    Cory Maccarrone
     
  • The patch corrects the issue introduced with one of my earlier patches:
    OMAP: DMA: Fix omapfb/lcdc on OMAP1510 broken when PM set[1]
    as pointed out by OMAP subsystem maintainer.

    Applies on top of my prevoius patch:
    OMAP: DMA: move LCD DMA related code from plat-omap to mach-omap1[2]

    Tested on Amstrad Delta
    Compile tested with omap_generic_2420_defconfig

    [1] http://patchwork.kernel.org/patch/57922/
    [2] http://patchwork.kernel.org/patch/61952/

    Signed-off-by: Janusz Krzysztofik
    Signed-off-by: Tony Lindgren

    Janusz Krzysztofik
     
  • Remove unused data type omap_gpio_switch_config

    Thereby also get rid of following sparse warnings:
    arch/arm/plat-omap/include/plat/board.h :121:20:
    warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/arm/plat-omap/include/plat/board.h :122:19:
    warning: dubious bitfield without explicit `signed' or `unsigned'
    arch/arm/plat-omap/include/plat/board.h :123:24:
    warning: dubious bitfield without explicit `signed' or `unsigned'

    Signed-off-by: Vikram Pandita
    Acked-by: Felipe Balbi
    Signed-off-by: Tony Lindgren

    vikram pandita
     
  • Comment in omap_init_devices asks to keep init calls and their
    implementations in alphabetical order, so let it be that way.

    Signed-off-by: Ladislav Michl
    Signed-off-by: Tony Lindgren

    Ladislav Michl