1. 07 Nov, 2013 4 commits
    • Linus Torvalds's avatar
      Merge tag 'tty-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 56edff75
      Linus Torvalds authored
      Pull tty/serial driver updates from Greg KH:
       "Here's the big tty/serial driver update for 3.13-rc1.
      
        There's some more minor n_tty work here, but nothing like previous
        kernel releases.  Also some new driver ids, driver updates for new
        hardware, and other small things.
      
        All of this has been in linux-next for a while with no issues"
      
      * tag 'tty-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (84 commits)
        serial: omap: fix missing comma
        serial: sh-sci: Enable the driver on all ARM platforms
        serial: mfd: Staticize local symbols
        serial: omap: fix a few checkpatch warnings
        serial: omap: improve RS-485 performance
        mrst_max3110: fix unbalanced IRQ issue during resume
        serial: omap: Add support for optional wake-up
        serial: sirf: remove duplicate defines
        tty: xuartps: Fix build error when COMMON_CLK is not set
        tty: xuartps: Fix build error due to missing forward declaration
        tty: xuartps: Fix "may be used uninitialized" build warning
        serial: 8250_pci: add Pericom PCIe Serial board Support (12d8:7952/4/8) - Chip PI7C9X7952/4/8
        tty: xuartps: Update copyright information
        tty: xuartps: Implement suspend/resume callbacks
        tty: xuartps: Dynamically adjust to input frequency changes
        tty: xuartps: Updating set_baud_rate()
        tty: xuartps: Force enable the UART in xuartps_console_write
        tty: xuartps: support 64 byte FIFO size
        tty: xuartps: Add polled mode support for xuartps
        tty: xuartps: Implement BREAK detection, add SYSRQ support
        ...
      56edff75
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.13-rc1' of... · 0324e745
      Linus Torvalds authored
      Merge tag 'driver-core-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core / sysfs patches from Greg KH:
       "Here's the big driver core / sysfs update for 3.13-rc1.
      
        There's lots of dev_groups updates for different subsystems, as they
        all get slowly migrated over to the safe versions of the attribute
        groups (removing userspace races with the creation of the sysfs
        files.) Also in here are some kobject updates, devres expansions, and
        the first round of Tejun's sysfs reworking to enable it to be used by
        other subsystems as a backend for an in-kernel filesystem.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'driver-core-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (83 commits)
        sysfs: rename sysfs_assoc_lock and explain what it's about
        sysfs: use generic_file_llseek() for sysfs_file_operations
        sysfs: return correct error code on unimplemented mmap()
        mdio_bus: convert bus code to use dev_groups
        device: Make dev_WARN/dev_WARN_ONCE print device as well as driver name
        sysfs: separate out dup filename warning into a separate function
        sysfs: move sysfs_hash_and_remove() to fs/sysfs/dir.c
        sysfs: remove unused sysfs_get_dentry() prototype
        sysfs: honor bin_attr.attr.ignore_lockdep
        sysfs: merge sysfs_elem_bin_attr into sysfs_elem_attr
        devres: restore zeroing behavior of devres_alloc()
        sysfs: fix sysfs_write_file for bin file
        input: gameport: convert bus code to use dev_groups
        input: serio: remove bus usage of dev_attrs
        input: serio: use DEVICE_ATTR_RO()
        i2o: convert bus code to use dev_groups
        memstick: convert bus code to use dev_groups
        tifm: convert bus code to use dev_groups
        virtio: convert bus code to use dev_groups
        ipack: convert bus code to use dev_groups
        ...
      0324e745
    • Linus Torvalds's avatar
      Merge tag 'char-misc-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 1071ec7b
      Linus Torvalds authored
      Pull char/misc patches from Greg KH:
       "Here's the big char/misc driver patchset for 3.13-rc1.
      
        Lots of stuff in here, including some new drivers for Intel's "MIC"
        co-processor devices, and a new eeprom driver.  Other things include
        the driver attribute cleanups, extcon driver updates, hyperv updates,
        and a raft of other miscellaneous driver fixes.
      
        All of these have been in linux-next for a while"
      
      * tag 'char-misc-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (121 commits)
        misc: mic: Fixes for randconfig build errors and warnings.
        tifm: fix error return code in tifm_7xx1_probe()
        w1-gpio: Use devm_* functions
        w1-gpio: Detect of_gpio_error for first gpio
        uio: Pass pointers to virt_to_page(), not integers
        uio: fix memory leak
        misc/at24: avoid infinite loop on write()
        misc/93xx46: avoid infinite loop on write()
        misc: atmel_pwm: add deferred-probing support
        mei: wd: host_init propagate error codes from called functions
        mei: replace stray pr_debug with dev_dbg
        mei: bus: propagate error code returned by mei_me_cl_by_id
        mei: mei_cl_link remove duplicated check for open_handle_count
        mei: print correct device state during unexpected reset
        mei: nfc: fix memory leak in error path
        lkdtm: add tests for additional page permissions
        lkdtm: adjust recursion size to avoid warnings
        lkdtm: isolate stack corruption test
        mei: move host_clients_map cleanup to device init
        mei: me: downgrade two errors to debug level
        ...
      1071ec7b
    • Linus Torvalds's avatar
      Merge tag 'usb-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · c287322c
      Linus Torvalds authored
      Pull USB driver update from Greg KH:
       "Here's the big USB driver update for 3.13-rc1.
      
        It includes the usual xhci changes, EHCI updates to get the scheduling
        of USB transactions working better, and a raft of gadget and musb
        updates as well.
      
        All of this has been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (305 commits)
        USB: Maintainers change for usb serial drivers
        usb: usbtest: support container id descriptor test
        usb: usbtest: support superspeed device capbility descriptor test
        usb: usbtest: support usb2 extension descriptor test
        usb: chipidea: only get vbus regulator for non-peripheral mode
        USB: ehci-atmel: add usb_clk for transition to CCF
        usb: cdc-wdm: ignore speed change notifications
        USB: cdc-wdm: support back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications
        usbatm: Fix dynamic_debug / ratelimited atm_dbg and atm_rldbg macros
        printk: pr_debug_ratelimited: check state first to reduce "callbacks suppressed" messages
        usb: usbtest: support bos descriptor test for usb 3.0
        USB: phy: samsung: Support multiple PHYs of same type
        usb: wusbcore: change WA_SEGS_MAX to a legal value
        usb: wusbcore: add a quirk for Alereon HWA device isoc behavior
        usb: wusbcore: combine multiple isoc frames in a single transfer request.
        usb: wusbcore: set the RPIPE wMaxPacketSize value correctly
        usb: chipidea: host: more enhancement when ci->hcd is NULL
        usb: ohci: remove ep93xx bus glue platform driver
        usb: usbtest: fix checkpatch warning as sizeof code style
        UWB: clean up attribute use by using ATTRIBUTE_GROUPS()
        ...
      c287322c
  2. 04 Nov, 2013 4 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · be408cd3
      Linus Torvalds authored
      Pull networking fixes from David Miller:
       "I'm sending a pull request of these lingering bug fixes for networking
        before the normal merge window material because some of this stuff I'd
        like to get to -stable ASAP"
      
       1) cxgb3 stopped working on 32-bit machines, fix from Ben Hutchings.
      
       2) Structures passed via netlink for netfilter logging are not fully
          initialized.  From Mathias Krause.
      
       3) Properly unlink upper openvswitch device during notifications, from
          Alexei Starovoitov.
      
       4) Fix race conditions involving access to the IP compression scratch
          buffer, from Michal Kubrecek.
      
       5) We don't handle the expiration of MTU information contained in ipv6
          routes sometimes, fix from Hannes Frederic Sowa.
      
       6) With Fast Open we can miscompute the TCP SYN/ACK RTT, from Yuchung
          Cheng.
      
       7) Don't take TCP RTT sample when an ACK doesn't acknowledge new data,
          also from Yuchung Cheng.
      
       8) The decreased IPSEC garbage collection threshold causes problems for
          some people, bump it back up.  From Steffen Klassert.
      
       9) Fix skb->truesize calculated by tcp_tso_segment(), from Eric
          Dumazet.
      
      10) flow_dissector doesn't validate packet lengths sufficiently, from
          Jason Wang
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (41 commits)
        net/mlx4_core: Fix call to __mlx4_unregister_mac
        net: sctp: do not trigger BUG_ON in sctp_cmd_delete_tcb
        net: flow_dissector: fail on evil iph->ihl
        xfrm: Fix null pointer dereference when decoding sessions
        can: kvaser_usb: fix usb endpoints detection
        can: c_can: Fix RX message handling, handle lost message before EOB
        doc:net: Fix typo in Documentation/networking
        bgmac: don't update slot on skb alloc/dma mapping error
        ibm emac: Fix locking for enable/disable eob irq
        ibm emac: Don't call napi_complete if napi_reschedule failed
        virtio-net: correctly handle cpu hotplug notifier during resuming
        bridge: pass correct vlan id to multicast code
        net: x25: Fix dead URLs in Kconfig
        netfilter: xt_NFQUEUE: fix --queue-bypass regression
        xen-netback: use jiffies_64 value to calculate credit timeout
        cxgb3: Fix length calculation in write_ofld_wr() on 32-bit architectures
        bnx2x: Disable VF access on PF removal
        bnx2x: prevent FW assert on low mem during unload
        tcp: gso: fix truesize tracking
        xfrm: Increase the garbage collector threshold
        ...
      be408cd3
    • Jack Morgenstein's avatar
      net/mlx4_core: Fix call to __mlx4_unregister_mac · c32b7dfb
      Jack Morgenstein authored
      In function mlx4_master_deactivate_admin_state() __mlx4_unregister_mac was
      called using the MAC index. It should be called with the value of the MAC itself.
      Signed-off-by: default avatarJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c32b7dfb
    • David S. Miller's avatar
      Merge branch 'fixes-for-3.12' of git://gitorious.org/linux-can/linux-can · e9b51a19
      David S. Miller authored
      Marc Kleine-Budde says:
      
      ====================
      I have two late fixes for the v3.12 release:
      
      The first patch fixes a problem in the c_can's RX message handling, which can
      lead to an endless interrupt loop under heavy load if messages are lost. The
      second patch is by Olivier Sobrie and fixes the endpoint detection of the
      kvaser_usb driver, which is needed for some devices.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e9b51a19
    • Daniel Borkmann's avatar
      net: sctp: do not trigger BUG_ON in sctp_cmd_delete_tcb · 7926c1d5
      Daniel Borkmann authored
      Introduced in f9e42b85 ("net: sctp: sideeffect: throw BUG if
      primary_path is NULL"), we intended to find a buggy assoc that's
      part of the assoc hash table with a primary_path that is NULL.
      However, we better remove the BUG_ON for now and find a more
      suitable place to assert for these things as Mark reports that
      this also triggers the bug when duplication cookie processing
      happens, and the assoc is not part of the hash table (so all
      good in this case). Such a situation can for example easily be
      reproduced by:
      
        tc qdisc add dev eth0 root handle 1: prio bands 2 priomap 1 1 1 1 1 1
        tc qdisc add dev eth0 parent 1:2 handle 20: netem loss 20%
        tc filter add dev eth0 protocol ip parent 1: prio 2 u32 match ip \
                  protocol 132 0xff match u8 0x0b 0xff at 32 flowid 1:2
      
      This drops 20% of COOKIE-ACK packets. After some follow-up
      discussion with Vlad we came to the conclusion that for now we
      should still better remove this BUG_ON() assertion, and come up
      with two follow-ups later on, that is, i) find a more suitable
      place for this assertion, and possibly ii) have a special
      allocator/initializer for such kind of temporary assocs.
      Reported-by: default avatarMark Thomas <Mark.Thomas@metaswitch.com>
      Signed-off-by: default avatarVlad Yasevich <vyasevich@gmail.com>
      Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
      Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7926c1d5
  3. 03 Nov, 2013 3 commits
  4. 02 Nov, 2013 4 commits
  5. 01 Nov, 2013 23 commits
  6. 31 Oct, 2013 2 commits
    • Linus Torvalds's avatar
      Merge branch 'akpm' (fixes from Andrew Morton) · 4f794ee8
      Linus Torvalds authored
      Merge four more fixes from Andrew Morton.
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        lib/scatterlist.c: don't flush_kernel_dcache_page on slab page
        mm: memcg: fix test for child groups
        mm: memcg: lockdep annotation for memcg OOM lock
        mm: memcg: use proper memcg in limit bypass
      4f794ee8
    • Ming Lei's avatar
      lib/scatterlist.c: don't flush_kernel_dcache_page on slab page · 3d77b50c
      Ming Lei authored
      Commit b1adaf65 ("[SCSI] block: add sg buffer copy helper
      functions") introduces two sg buffer copy helpers, and calls
      flush_kernel_dcache_page() on pages in SG list after these pages are
      written to.
      
      Unfortunately, the commit may introduce a potential bug:
      
       - Before sending some SCSI commands, kmalloc() buffer may be passed to
         block layper, so flush_kernel_dcache_page() can see a slab page
         finally
      
       - According to cachetlb.txt, flush_kernel_dcache_page() is only called
         on "a user page", which surely can't be a slab page.
      
       - ARCH's implementation of flush_kernel_dcache_page() may use page
         mapping information to do optimization so page_mapping() will see the
         slab page, then VM_BUG_ON() is triggered.
      
      Aaro Koskinen reported the bug on ARM/kirkwood when DEBUG_VM is enabled,
      and this patch fixes the bug by adding test of '!PageSlab(miter->page)'
      before calling flush_kernel_dcache_page().
      Signed-off-by: default avatarMing Lei <ming.lei@canonical.com>
      Reported-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Tested-by: default avatarSimon Baatz <gmbnomis@gmail.com>
      Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: <stable@vger.kernel.org>	[3.2+]
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3d77b50c