24 Dec, 2011

6 commits


23 Dec, 2011

3 commits


22 Dec, 2011

7 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
    net: Add a flow_cache_flush_deferred function
    ipv4: reintroduce route cache garbage collector
    net: have ipconfig not wait if no dev is available
    sctp: Do not account for sizeof(struct sk_buff) in estimated rwnd
    asix: new device id
    davinci-cpdma: fix locking issue in cpdma_chan_stop
    sctp: fix incorrect overflow check on autoclose
    r8169: fix Config2 MSIEnable bit setting.
    llc: llc_cmsg_rcv was getting called after sk_eat_skb.
    net: bpf_jit: fix an off-one bug in x86_64 cond jump target
    iwlwifi: update SCD BC table for all SCD queues
    Revert "Bluetooth: Revert: Fix L2CAP connection establishment"
    Bluetooth: Clear RFCOMM session timer when disconnecting last channel
    Bluetooth: Prevent uninitialized data access in L2CAP configuration
    iwlwifi: allow to switch to HT40 if not associated
    iwlwifi: tx_sync only on PAN context
    mwifiex: avoid double list_del in command cancel path
    ath9k: fix max phy rate at rate control init
    nfc: signedness bug in __nci_request()
    iwlwifi: do not set the sequence control bit is not needed

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
    mfd: Include linux/io.h to jz4740-adc
    mfd: Use request_threaded_irq for twl4030-irq instead of irq_set_chained_handler
    mfd: Base interrupt for twl4030-irq must be one-shot
    mfd: Handle tps65910 clear-mask correctly
    mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources
    mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver
    mfd: include linux/module.h for ab5500-debugfs
    mfd: Update wm8994 active device checks for WM1811
    mfd: Set tps6586x bits if new value is different from the old one
    mfd: Set da903x bits if new value is different from the old one
    mfd: Set adp5520 bits if new value is different from the old one
    mfd: Add missed free_irq in da903x_remove

    Linus Torvalds
     
  • * 'for-greg' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb:
    usb: gadget: epautoconf: do not change number of streams
    usb: dwc3: core: fix cached revision on our structure
    usb: musb: fix reset issue with full speed device

    Greg Kroah-Hartman
     
  • This commit:

    commit 8f5d621543cb064d2989fc223d3c2bc61a43981e
    Author: Joachim Foerster
    Date: Mon Oct 10 18:06:54 2011 +0200

    usb/isp1760: Let OF bindings depend on general CONFIG_OF instead of PPC_OF .

    To be able to use the driver on other OF-aware architectures, too.
    And add necessary OF related #includes to fix compilation error.

    Signed-off-by: Joachim Foerster
    Signed-off-by: Greg Kroah-Hartman

    enabled the build on all CONFIG_OF architectures, but it cannot do
    this.

    This driver depends upon CONFIG_OF_IRQ but not all CONFIG_OF platforms
    support that infrastructure, in particular Sparc does not so the
    build fails.

    Please push a patch like the following to Linus so that this code only
    gets built where it actually should.

    --------------------
    usb/isp1760: Add missing CONFIG_OF_IRQ dependency on OF code.

    Signed-off-by: David S. Miller
    Signed-off-by: Greg Kroah-Hartman

    David Miller
     
  • This patch adds the PCI support (as EXPERIMENTAL)
    this has been also tested on XLINX XC2V3000 FF1152AMT0221
    D1215994A VIRTEX FPGA board.
    To support the PCI bus the main part has been reworked
    and both the platform and the PCI specific parts have
    been moved into different files.

    Signed-off-by: Rayagond Kokatanur
    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: David S. Miller

    Giuseppe CAVALLARO
     
  • Fix ll_temac and emaclite drivers. Only Microblaze and Xilinx PPC
    use then and both use NO_IRQ as 0. It will be removed in near future.

    Signed-off-by: Michal Simek
    Signed-off-by: David S. Miller

    Michal Simek
     
  • …wireless into for-davem

    John W. Linville
     

21 Dec, 2011

24 commits

  • * git://git.infradead.org/mtd-2.6:
    mtd: plat_ram: call mtd_device_register only if partition data exists
    mtd: pxa2xx-flash.c: It used to fall back to provided table.
    mtd: gpmi: add missing include 'module.h'
    mtd: ndfc: fix typo in structure dereference

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc:
    mmc: vub300: fix type of firmware_rom_wait_states module parameter
    Revert "mmc: enable runtime PM by default"
    mmc: sdhci: remove "state" argument from sdhci_suspend_host

    Linus Torvalds
     
  • * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    time/clocksource: Fix kernel-doc warnings
    rtc: m41t80: Workaround broken alarm functionality
    rtc: Expire alarms after the time is set.

    Linus Torvalds
     
  • * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    oprofile: Fix uninitialized memory access when writing to writing to oprofilefs

    Linus Torvalds
     
  • …kernel/git/konrad/xen

    * 'stable/for-linus-fixes-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    Revert "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel"

    Linus Torvalds
     
  • * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    vmwgfx: Clip cliprects against screen boundaries in present and dirty
    vmwgfx: Resend the cursor after legacy modeset
    vmwgfx: Do better culling of presents
    vmwgfx: Refactor kms code to use vmw_user_lookup_handle helper
    vmwgfx: Add helper function to get surface or dmabuf
    vmwgfx: Refactor cursor update
    vmwgfx: Remove dmabuf check in present ioctl
    vmwgfx: Use the revised fifo hw version register when present

    Linus Torvalds
     
  • If recovery is triggered in presence of pending asynchronous
    deliveries of storage blocks we do a forced cleanup after
    the corresponding tasklets are completely stopped and trigger
    appropriate notifications for the correspondingerror state.

    Signed-off-by: Einar Lueck
    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Blaschka
    Signed-off-by: David S. Miller

    Einar Lueck
     
  • In case there are no system resources to run a recovery we have to clear
    recovery bitmasks so a further automatic or manual driven recovery can
    fix up the device.

    Signed-off-by: Frank Blaschka
    Signed-off-by: David S. Miller

    Frank Blaschka
     
  • The NETIUCV device driver allows to connect a Linux guest on z/VM to
    another z/VM guest based on the z/VM communication facility IUCV.
    Multiple output paths to different guests are possible, as well as
    multiple input paths from different guests.
    With this feature, you can configure multiple point-to-point NETIUCV
    interfaces between your Linux on System z instance and another z/VM
    guest.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Blaschka
    Signed-off-by: David S. Miller

    Ursula Braun
     
  • A recovery does not make sense during shutdown and may even cause an
    error like this:

    qeth 0.0.f503: A recovery process has been started for the device
    Badness at drivers/s390/cio/qdio_main.c:1156
    Modules linked in: autofs4 sunrpc dm_multipath scsi_dh scsi_mod qeth_l3 ipv6 vmu
    r qeth qdio ccwgroup ext3 jbd mbcache dasd_eckd_mod dasd_mod dm_mirror dm_region
    _hash dm_log dm_mod [last unloaded: scsi_wait_scan]
    CPU: 3 Not tainted 2.6.32-202.el6.s390x #1
    Process qeth_recover (pid: 1498, task: 000000003efe2040, ksp: 000000003d5e3b80)
    Krnl PSW : 0404200180000000 000003c000be6da8 (qdio_int_handler+0x88/0x43c [qdio]
    )
    R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
    Krnl GPRS: ffffffffffff3bac 0000000000000005 0000000000000000 fffffffffffffff4
    0000000000000000 000000000000000c 0000000000000000 000000003ca97000
    0000000000000380 fffffffffffffff4 000000003f22d800 000000003f22c478
    000003c000bdf000 000003c000bea270 000000003f447e10 000000003f447db0
    Krnl Code: 000003c000be6d9a: c21f00000004 clfi %r1,4
    000003c000be6da0: a7c40021 brc 12,3c000be6de2
    000003c000be6da4: a7f40001 brc 15,3c000be6da6
    >000003c000be6da8: e320a0080004 lg %r2,8(%r10)
    000003c000be6dae: a7390003 lghi %r3,3
    000003c000be6db2: a72b0178 aghi %r2,376
    000003c000be6db6: a7490001 lghi %r4,1
    000003c000be6dba: a7590000 lghi %r5,0
    Call Trace:
    ([] __per_cpu_offset+0x0/0x200)
    [] ccw_device_call_handler+0x70/0xcc
    [] ccw_device_irq+0x82/0x180
    [] do_IRQ+0x16c/0x1ec
    [] io_return+0x0/0x8
    [] qeth_determine_capabilities+0x208/0x5cc [qeth]
    ([] qeth_determine_capabilities+0x1de/0x5cc [qeth])
    [] qeth_core_hardsetup_card+0x160/0x1258 [qeth]
    [] __qeth_l3_set_online+0x132/0xb14 [qeth_l3]
    [] qeth_l3_recover+0x168/0x224 [qeth_l3]
    [] kthread+0xa4/0xac
    [] kernel_thread_starter+0x6/0xc
    [] kernel_thread_starter+0x0/0xc

    The patch forbids start of a recovery once qeth shutdown is running.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Blaschka
    Signed-off-by: David S. Miller

    Ursula Braun
     
  • qeth layer3 recovery invokes its set_multicast_list function, which
    invokes function __vlan_find_dev_deep requiring rcu_read_lock or
    rtnl lock. This causes kernel messages:

    kernel: [ INFO: suspicious rcu_dereference_check() usage. ]
    kernel: ---------------------------------------------------
    kernel: net/8021q/vlan_core.c:70 invoked rcu_dereference_check() without protection!

    kernel: stack backtrace:
    kernel: CPU: 0 Not tainted 3.1.0 #9
    kernel: Process qeth_recover (pid: 2078, task: 000000007e584680, ksp: 000000007e3e3930)
    kernel: 000000007e3e3d08 000000007e3e3c88 0000000000000002 0000000000000000
    kernel: 000000007e3e3d28 000000007e3e3ca0 000000007e3e3ca0 00000000005e77ce
    kernel: 0000000000000000 0000000000000001 ffffffffffffffff 0000000000000001
    kernel: 000000000000000d 000000000000000c 000000007e3e3cf0 0000000000000000
    kernel: 0000000000000000 0000000000100a18 000000007e3e3c88 000000007e3e3cc8
    kernel: Call Trace:
    kernel: ([] show_trace+0xee/0x144)
    kernel: [] __vlan_find_dev_deep+0xb0/0x108
    kernel: [] qeth_l3_set_multicast_list+0x976/0xe38
    kernel: [] __qeth_l3_set_online+0x75c/0x1498
    kernel: [] qeth_l3_recover+0xc4/0x1d0
    kernel: [] kthread+0xa6/0xb0
    kernel: [] kernel_thread_starter+0x6/0xc
    kernel: [] kernel_thread_starter+0x0/0xc

    The patch makes sure the rtnl lock is held once qeth recovery invokes
    its set_multicast_list function.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Blaschka
    Signed-off-by: David S. Miller

    Ursula Braun
     
  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (31 commits)
    Revert "[media] af9015: limit I2C access to keep FW happy"
    [media] s5p-fimc: Fix camera input configuration in subdev operations
    [media] m5mols: Fix logic in sanity check
    [media] ati_remote: switch to single-byte scancodes
    [media] V4L: mt9m111: fix uninitialised mutex
    [media] V4L: omap1_camera: fix missing include
    [media] V4L: mt9t112: use after free in mt9t112_probe()
    [media] V4L: soc-camera: fix compiler warnings on 64-bit platforms
    [media] s5p_mfc_enc: fix s/H264/H263/ typo
    [media] omap_vout: Fix compile error in 3.1
    [media] au0828: add missing models 72101, 72201 & 72261 to the model matrix
    [media] au0828: add missing USB ID 2040:7213
    [media] au0828: add missing USB ID 2040:7260
    [media] [trivial] omap24xxcam-dma: Fix logical test
    [media] omap_vout: fix crash if no driver for a display
    [media] media: video: s5p-tv: fix build break
    [media] omap3isp: fix compilation of ispvideo.c
    [media] m5mols: Fix set_fmt to return proper pixel format code
    [media] s5p-fimc: Use correct fourcc for RGB565 colour format
    [media] s5p-fimc: Fail driver probing when sensor configuration is wrong
    ...

    Linus Torvalds
     
  • It was reported that the macvtap device selects a
    Acked-by: Michael S. Tsirkin

    Signed-off-by: David S. Miller

    Krishna Kumar
     
  • When UDP RSS is enabled, we use same QPN for TCP and UDP ranges
    The bug is that the default_qpn was used base UDP qpn before it
    was set.
    Fixes bug introduced in commit: 1202d460b1df3a77fda66f4ba5f90ae3527dd42f

    Signed-off-by: Yevgeny Petrilin
    Signed-off-by: David S. Miller

    Yevgeny Petrilin
     
  • If the BMC gets reset, it will return 0x80 response errors.

    In less than a week
    # grep "Error 80 on cmd 22" /var/log/kernel |wc -l
    378681

    In this case, it is probably a good idea to restore the IPMI settings.

    Signed-off-by: Corey Minyard
    Tested-by: Arkadiusz Miśkiewicz
    Reported-by: Arkadiusz Miśkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Include linux/io.h to fix below build error:

    CC drivers/mfd/jz4740-adc.o
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_irq_demux':
    drivers/mfd/jz4740-adc.c:73: error: implicit declaration of function 'readb'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_enabled':
    drivers/mfd/jz4740-adc.c:110: error: implicit declaration of function 'writeb'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_config':
    drivers/mfd/jz4740-adc.c:146: error: implicit declaration of function 'readl'
    drivers/mfd/jz4740-adc.c:151: error: implicit declaration of function 'writel'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_probe':
    drivers/mfd/jz4740-adc.c:249: error: implicit declaration of function 'ioremap_nocache'
    drivers/mfd/jz4740-adc.c:249: warning: assignment makes pointer from integer without a cast
    drivers/mfd/jz4740-adc.c:289: warning: passing argument 3 of 'mfd_add_devices' discards qualifiers from pointer target type
    include/linux/mfd/core.h:93: note: expected 'struct mfd_cell *' but argument is of type 'const struct mfd_cell *'
    drivers/mfd/jz4740-adc.c:299: error: implicit declaration of function 'iounmap'
    make[2]: *** [drivers/mfd/jz4740-adc.o] Error 1
    make[1]: *** [drivers/mfd] Error 2
    make: *** [drivers] Error 2

    Signed-off-by: Axel Lin
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • irq_set_chained_handler sets 'desc->handle_irq'.
    However this irq is called by handle_nested_irq from handle_twl4030_pih,
    and that uses action->thread_fn.

    So the handled set with irq_set_chained_handler is never called.

    So change to use request_threaded_irq instead - that sets the correct field.

    Tested on GTA04 Phoenux.

    Signed-off-by: NeilBrown
    Tested-by: Felipe Contreras
    Signed-off-by: Samuel Ortiz

    NeilBrown
     
  • As the interrupt source is only cleared by the threaded interrupt
    service routine, we need to make the base interrupt IRQF_ONESHOT.
    Without this, the first interrupt from the TWL4030 cause the CPU to
    enter an infinite loop trying to handle to interrupt but never
    clearing it.

    Signed-off-by: NeilBrown
    Tested-by: Felipe Contreras
    Signed-off-by: Samuel Ortiz

    NeilBrown
     
  • The function is not actually cleaing the bitmask.

    Signed-off-by: Marcus Folkesson
    Signed-off-by: Samuel Ortiz

    Marcus Folkesson
     
  • Fix below build warning if CONFIG_DEBUG_FS is disabled.

    CC drivers/mfd/ab8500-core.o
    drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not used

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • Check inuse variable before trying to access twl_map to prevent
    dereferencing of uninitialized variable.

    Signed-off-by: Ilya Yanok
    Cc: stable@kernel.org
    Signed-off-by: Samuel Ortiz

    Ilya Yanok
     
  • Include linux/module.h to fix below build error:

    CC drivers/mfd/ab5500-debugfs.o
    drivers/mfd/ab5500-debugfs.c:571: error: 'THIS_MODULE' undeclared here (not in a function)
    make[2]: *** [drivers/mfd/ab5500-debugfs.o] Error 1

    Signed-off-by: Axel Lin
    Acked-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • This didn't go in as part of the original MFD patch for WM1811 due to
    cross tree issues.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • It does not make sense to write new value only when all the bit_mask
    bits are zero.
    We need to write new value if the bit mask fields of new value is
    not equal to old value.

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin