1. 28 May, 2016 14 commits
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 4e8440b3
      Linus Torvalds authored
      Pull i2c fix from Wolfram Sang:
       "A fix for a regression introduced yesterday.
      
        The regression didn't show up here locally because I did not have
        PAGE_POISONING enabled.  And buildbots discovered this only after it
        hit your tree.  Thanks to Dan for the quick response"
      
      * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: dev: use after free in detach
      4e8440b3
    • Linus Torvalds's avatar
      Merge tag 'chrome-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform · a1842b2b
      Linus Torvalds authored
      Pull chrome platform updates from Olof Johansson
       "A handful of Chrome driver and binding changes this merge window:
      
         - a few patches to fix probing and configuration of pstore
      
         - a few patches adding Elan touchpad registration on a few devices
      
         - EC changes: a security fix dealing with max message sizes and
           addition of compat_ioctl support.
      
         - keyboard backlight control support
      
        There was also an accidential duplicate registration of trackpads on
        'Leon', which was reverted just recently"
      
      * tag 'chrome-platform' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform:
        Revert "platform/chrome: chromeos_laptop: Add Leon Touch"
        platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf
        platform/chrome: chromeos_laptop - Add elan trackpad option for C720
        platform/chrome: cros_ec_dev - Populate compat_ioctl
        platform/chrome: cros_ec_lightbar - use name instead of ID to hide lightbar attributes
        platform/chrome: cros_ec_dev - Fix security issue
        platform/chrome: Add Chrome OS keyboard backlight LEDs support
        platform/chrome: use to_platform_device()
        platform/chrome: pstore: Move to larger record size.
        platform/chrome: pstore: probe for ramoops buffer using acpi
        platform/chrome: chromeos_laptop: Add Leon Touch
      a1842b2b
    • Linus Torvalds's avatar
      Merge tag 'sound-4.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 0723ab4a
      Linus Torvalds authored
      Pull more sound updates from Takashi Iwai:
       "This is the second update round for 4.7-rc1.  Most of changes are
        about the pending ASoC updates and fixes, including a few new drivers.
        Below are some highlights:
      
        ASoC:
         - New drivers for MAX98371 and TAS5720
         - SPI support for TLV320AIC32x4, along with the module split
         - TDM support for STI Uniperf IPs
         - Remaining topology API fixes / updates
      
        HDA:
         - A couple of Dell quirks and new Realtek codec support"
      
      * tag 'sound-4.7-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (63 commits)
        ALSA: hda - Fix headset mic detection problem for one Dell machine
        spi: spi-ep93xx: Fix the PTR_ERR() argument
        ALSA: hda/realtek - Add support for ALC295/ALC3254
        ASoC: kirkwood: fix build failure
        ALSA: hda - Fix headphone noise on Dell XPS 13 9360
        ASoC: ak4642: Enable cache usage to fix crashes on resume
        ASoC: twl6040: Disconnect AUX output pads on digital mute
        ASoC: tlv320aic32x4: Properly implement the positive and negative pins into the mixers
        rcar: src: skip disabled-SRC nodes
        ASoC: max98371 Remove duplicate entry in max98371_reg
        ASoC: twl6040: Select LPPLL during standby
        ASoC: rsnd: don't use prohibited number to PDMACHCRn.SRS
        ASoC: simple-card: Add pm callbacks to platform driver
        ASoC: pxa: Fix module autoload for platform drivers
        ASoC: topology: Fix memory leak in widget creation
        ASoC: Add max98371 codec driver
        ASoC: rsnd: count .probe/.remove for rsnd_mod_call()
        ASoC: topology: Check size mismatch of ABI objects before parsing
        ASoC: topology: Check failure to create a widget
        ASoC: add support for TAS5720 digital amplifier
        ...
      0723ab4a
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 9ba55cf7
      Linus Torvalds authored
      Pull SCSI target updates from Nicholas Bellinger:
       "Here are the outstanding target pending updates for v4.7-rc1.
      
        The highlights this round include:
      
         - Allow external PR/ALUA metadata path be defined at runtime via top
           level configfs attribute (Lee)
         - Fix target session shutdown bug for ib_srpt multi-channel (hch)
         - Make TFO close_session() and shutdown_session() optional (hch)
         - Drop se_sess->sess_kref + convert tcm_qla2xxx to internal kref
           (hch)
         - Add tcm_qla2xxx endpoint attribute for basic FC jammer (Laurence)
         - Refactor iscsi-target RX/TX PDU encode/decode into common code
           (Varun)
         - Extend iscsit_transport with xmit_pdu, release_cmd, get_rx_pdu,
           validate_parameters, and get_r2t_ttt for generic ISO offload
           (Varun)
         - Initial merge of cxgb iscsi-segment offload target driver (Varun)
      
        The bulk of the changes are Chelsio's new driver, along with a number
        of iscsi-target common code improvements made by Varun + Co along the
        way"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (29 commits)
        iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
        cxgbit: Use type ISCSI_CXGBIT + cxgbit tpg_np attribute
        iscsi-target: Convert transport drivers to signal rdma_shutdown
        iscsi-target: Make iscsi_tpg_np driver show/store use generic code
        tcm_qla2xxx Add SCSI command jammer/discard capability
        iscsi-target: graceful disconnect on invalid mapping to iovec
        target: need_to_release is always false, remove redundant check and kfree
        target: remove sess_kref and ->shutdown_session
        iscsi-target: remove usage of ->shutdown_session
        tcm_qla2xxx: introduce a private sess_kref
        target: make close_session optional
        target: make ->shutdown_session optional
        target: remove acl_stop
        target: consolidate and fix session shutdown
        cxgbit: add files for cxgbit.ko
        iscsi-target: export symbols
        iscsi-target: call complete on conn_logout_comp
        iscsi-target: clear tx_thread_active
        iscsi-target: add new offload transport type
        iscsi-target: use conn_transport->transport_type in text rsp
        ...
      9ba55cf7
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma · 1cbe06c3
      Linus Torvalds authored
      Pull more rdma updates from Doug Ledford:
       "This is the second group of code for the 4.7 merge window.  It looks
        large, but only in one sense.  I'll get to that in a minute.  The list
        of changes here breaks down as follows:
      
         - Dynamic counter infrastructure in the IB drivers
      
           This is a sysfs based code to allow free form access to the
           hardware counters RDMA devices might support so drivers don't need
           to code this up repeatedly themselves
      
         - SendOnlyFullMember multicast support
      
         - IB router support
      
         - A couple misc fixes
      
         - The big item on the list: hfi1 driver updates, plus moving the hfi1
           driver out of staging
      
        There was a group of 15 patches in the hfi1 list that I thought I had
        in the first pull request but they weren't.  So that added to the
        length of the hfi1 section here.
      
        As far as these go, everything but the hfi1 is pretty straight
        forward.
      
        The hfi1 is, if you recall, the driver that Al had complaints about
        how it used the write/writev interfaces in an overloaded fashion.  The
        write portion of their interface behaved like the write handler in the
        IB stack proper and did bi-directional communications.  The writev
        interface, on the other hand, only accepts SDMA request structures.
        The completions for those structures are sent back via an entirely
        different event mechanism.
      
        With the security patch, we put security checks on the write
        interface, however, we also knew they would be going away soon.  Now,
        we've converted the write handler in the hfi1 driver to use ioctls
        from the IB reserved magic area for its bidirectional communications.
        With that change, Intel has addressed all of the items originally on
        their TODO when they went into staging (as well as many items added to
        the list later).
      
        As such, I moved them out, and since they were the last item in the
        staging/rdma directory, and I don't have immediate plans to use the
        staging area again, I removed the staging/rdma area.
      
        Because of the move out of staging, as well as a series of 5 patches
        in the hfi1 driver that removed code people thought should be done in
        a different way and was optional to begin with (a snoop debug
        interface, an eeprom driver for an eeprom connected directory to their
        hfi1 chip and not via an i2c bus, and a few other things like that),
        the line count, especially the removal count, is high"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (56 commits)
        staging/rdma: Remove the entire rdma subdirectory of staging
        IB/core: Make device counter infrastructure dynamic
        IB/hfi1: Fix pio map initialization
        IB/hfi1: Correct 8051 link parameter settings
        IB/hfi1: Update pkey table properly after link down or FM start
        IB/rdamvt: Fix rdmavt s_ack_queue sizing
        IB/rdmavt: Max atomic value should be a u8
        IB/hfi1: Fix hard lockup due to not using save/restore spin lock
        IB/hfi1: Add tracing support for send with invalidate opcode
        IB/hfi1, qib: Add ieth to the packet header definitions
        IB/hfi1: Move driver out of staging
        IB/hfi1: Do not free hfi1 cdev parent structure early
        IB/hfi1: Add trace message in user IOCTL handling
        IB/hfi1: Remove write(), use ioctl() for user cmds
        IB/hfi1: Add ioctl() interface for user commands
        IB/hfi1: Remove unused user command
        IB/hfi1: Remove snoop/diag interface
        IB/hfi1: Remove EPROM functionality from data device
        IB/hfi1: Remove UI char device
        IB/hfi1: Remove multiple device cdev
        ...
      1cbe06c3
    • Benson Leung's avatar
      Revert "platform/chrome: chromeos_laptop: Add Leon Touch" · 8d057e3a
      Benson Leung authored
      This reverts commit bff3c624.
      
      Board "Leon" is otherwise known as "Toshiba CB35" and we already have
      the entry that supports that board as of this commit :
      963cb6fa platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
      
      Remove this duplicate.
      Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      8d057e3a
    • Dan Carpenter's avatar
      i2c: dev: use after free in detach · e6be18f6
      Dan Carpenter authored
      The call to put_i2c_dev() frees "i2c_dev" so there is a use after
      free when we call cdev_del(&i2c_dev->cdev).
      
      Fixes: d6760b14 ('i2c: dev: switch from register_chrdev to cdev API')
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      e6be18f6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · ed2608fa
      Linus Torvalds authored
      Pull more input subsystem updates from Dmitry Torokhov:
       "Just a few more driver fixes; new drivers will be coming in the next
        merge window"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: pwm-beeper - fix - scheduling while atomic
        Input: xpad - xbox one elite controller support
        Input: xpad - add more third-party controllers
        Input: xpad - prevent spurious input from wired Xbox 360 controllers
        Input: xpad - move pending clear to the correct location
        Input: uinput - handle compat ioctl for UI_SET_PHYS
      ed2608fa
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 06d2e781
      Linus Torvalds authored
      Pull more i2c updates from Wolfram Sang:
       "Here is the second pull request from I2C for this merge window:
      
         - one new feature (which nearly fell through the cracks): i2c-dev
           does now use the cdev API so it can handle >256 minors.  Seems
           people do need that.
      
         - two fixes for the just added DMA feature for i2c-rcar
      
         - some typo fixes"
      
      * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: dev: don't start function name with 'return'
        i2c: dev: switch from register_chrdev to cdev API
        i2c: xlr: rename ARCH_TANGOX to ARCH_TANGO
        i2c: at91: change log when dma configuration fails
        misc: at24: Fix typo in at24 header file
        i2c: rcar: should depend on HAS_DMA
        i2c: rcar: use dma_request_chan()
      06d2e781
    • Linus Torvalds's avatar
      Merge branch 'for-linus-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml · 7d8eb502
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
       "This contains a nice FPU fixup from Eli Cooper for UML"
      
      * 'for-linus-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: add extended processor state save/restore support
        um: extend fpstate to _xstate to support YMM registers
        um: fix FPU state preservation around signal handlers
      7d8eb502
    • Linus Torvalds's avatar
      Merge tag 'upstream-4.7-rc1' of git://git.infradead.org/linux-ubifs · 23a3e178
      Linus Torvalds authored
      Pull UBI/UBIFS updates from Richard Weinberger:
       "This contains mostly cleanups and minor improvements of UBI and UBIFS"
      
      * tag 'upstream-4.7-rc1' of git://git.infradead.org/linux-ubifs:
        ubifs: ubifs_dump_inode: Fix dumping field bulk_read
        UBI: Fix static volume checks when Fastmap is used
        UBI: Set free_count to zero before walking through erase list
        UBI: Silence an unintialized variable warning
        UBI: Clean up return in ubi_remove_volume()
        UBI: Modify wrong comment in ubi_leb_map function.
        UBI: Don't read back all data in ubi_eba_copy_leb()
        UBI: Add ro-mode sysfs attribute
      23a3e178
    • Linus Torvalds's avatar
      nfs: fix anonymous member initializer build failure with older compilers · e0714ec4
      Linus Torvalds authored
      Older versions of gcc don't understand named initializers inside a
      anonymous structure or union member.  It can be worked around by adding
      the bracin gin the initializer for the anonymous member.
      
      Without this, gcc 4.4.4 will fail the build with
      
          CC      fs/nfs/nfs4state.o
        fs/nfs/nfs4state.c:69: error: unknown field ‘data’ specified in initializer
        fs/nfs/nfs4state.c:69: warning: missing braces around initializer
        fs/nfs/nfs4state.c:69: warning: (near initialization for ‘zero_stateid.<anonymous>.data’)
        make[2]: *** [fs/nfs/nfs4state.o] Error 1
      
      introduced in commit 93b717fd ("NFSv4: Label stateids with the type")
      Reported-and-tested-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Cc: Anna Schumaker <Anna.Schumaker@netapp.com>
      Cc: Trond Myklebust <trond.myklebust@primarydata.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e0714ec4
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d102a56e
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
       "Followups to the parallel lookup work:
      
         - update docs
      
         - restore killability of the places that used to take ->i_mutex
           killably now that we have down_write_killable() merged
      
         - Additionally, it turns out that I missed a prerequisite for
           security_d_instantiate() stuff - ->getxattr() wasn't the only thing
           that could be called before dentry is attached to inode; with smack
           we needed the same treatment applied to ->setxattr() as well"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        switch ->setxattr() to passing dentry and inode separately
        switch xattr_handler->set() to passing dentry and inode separately
        restore killability of old mutex_lock_killable(&inode->i_mutex) users
        add down_write_killable_nested()
        update D/f/directory-locking
      d102a56e
    • Al Viro's avatar
      switch ->setxattr() to passing dentry and inode separately · 3767e255
      Al Viro authored
      smack ->d_instantiate() uses ->setxattr(), so to be able to call it before
      we'd hashed the new dentry and attached it to inode, we need ->setxattr()
      instances getting the inode as an explicit argument rather than obtaining
      it from dentry.
      
      Similar change for ->getxattr() had been done in commit ce23e640.  Unlike
      ->getxattr() (which is used by both selinux and smack instances of
      ->d_instantiate()) ->setxattr() is used only by smack one and unfortunately
      it got missed back then.
      Reported-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
      Tested-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      3767e255
  2. 27 May, 2016 26 commits