1. 31 Mar, 2017 2 commits
  2. 30 Mar, 2017 2 commits
  3. 28 Mar, 2017 7 commits
  4. 24 Mar, 2017 1 commit
  5. 22 Mar, 2017 21 commits
  6. 21 Mar, 2017 7 commits
    • Huang Ying's avatar
      mm, swap: Remove WARN_ON_ONCE() in free_swap_slot() · 093b995e
      Huang Ying authored
      Before commit 452b94b8 ("mm/swap: don't BUG_ON() due to
      uninitialized swap slot cache"), the following bug is reported,
      
        ------------[ cut here ]------------
        kernel BUG at mm/swap_slots.c:270!
        invalid opcode: 0000 [#1] SMP
        CPU: 5 PID: 1745 Comm: (sd-pam) Not tainted 4.11.0-rc1-00243-g24c534bb #1
        Hardware name: System manufacturer System Product Name/Z170-K, BIOS 1803 05/06/2016
        RIP: 0010:free_swap_slot+0xba/0xd0
        Call Trace:
         swap_free+0x36/0x40
         do_swap_page+0x360/0x6d0
         __handle_mm_fault+0x880/0x1080
         handle_mm_fault+0xd0/0x240
         __do_page_fault+0x232/0x4d0
         do_page_fault+0x20/0x70
         page_fault+0x22/0x30
        ---[ end trace aefc9ede53e0ab21 ]---
      
      This is raised by the BUG_ON(!swap_slot_cache_initialized) in
      free_swap_slot().  This is incorrect, because even if the swap slots
      cache fails to be initialized, the swap should operate properly without
      the swap slots cache.  And the use_swap_slot_cache check later in the
      function will protect the uninitialized swap slots cache case.
      
      In commit 452b94b8, the BUG_ON() is replaced by WARN_ON_ONCE().  In
      the patch, the WARN_ON_ONCE() is removed too.
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Acked-by: default avatarTim Chen <tim.c.chen@linux.intel.com>
      Cc: Michal Hocko <mhocko@suse.com>
      Signed-off-by: default avatar"Huang, Ying" <ying.huang@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      093b995e
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 1f020713
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Nine small fixes: the biggest is probably finally sorting out Kconfig
        issues with lpfc nvme.  There are some performance fixes for megaraid
        and hpsa and a static checker fix"
      
      [ Johannes Thumshirn points out that there still seems to be more lpfc
        vs nvme config issues.  Oh well.   - Linus ]
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: lpfc: Finalize Kconfig options for nvme
        scsi: ufs: don't check unsigned type for a negative value
        scsi: hpsa: do not timeout reset operations
        scsi: hpsa: limit outstanding rescans
        scsi: hpsa: update check for logical volume status
        scsi: megaraid_sas: Driver version upgrade
        scsi: megaraid_sas: raid6 also require cpuSel check same as raid5
        scsi: megaraid_sas: add correct return type check for ldio hint logic for raid1
        scsi: megaraid_sas: enable intx only if msix request fails
      1f020713
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 2c867ac3
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
      
       - regression fixes for Wacom devices, from Aaron Armstrong Skomra and
         Ping Cheng
      
       - memory leak in hid-sony driver from Roderick Colenbrander
      
       - new device IDs support from Oscar Campos and Daniel Drake
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: wacom: generic: Wacom mouse is only provided for opaque tablets
        HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
        HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
        HID: wacom: don't manually release resources for the EKR
        HID: wacom: Correct Intuos Pro 2 resolution
        HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT
        HID: chicony: Add support for another ASUS Zen AiO keyboard
      2c867ac3
    • Linus Torvalds's avatar
      Merge tag 'gpio-v4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 47191777
      Linus Torvalds authored
      Pull GPIO fixes from Linus Walleij:
       "Here is the first set of GPIO fixes for 4.11. It was delayed a bit
        beacuse I was chicken when linux-next was not rotating last week.
      
        This hits the ST serial driver in drivers/tty/serial and that has an
        ACK from Greg, he suggested to keep the old GPIO fwnode API around to
        smoothen things in the merge Windod and those have now served their
        purpose so we take them out and convert the last driver to the new
        API.
      
        Apart from that it's fixes as usual.
      
        Summary:
      
         - set the parent on the Altera A10SR driver, also fix high level
           IRQs.
      
         - fix error path on the mockup driver.
      
         - compilation noise about unused functions fixed.
      
         - fix missed interrupts on the MCP23S08 expander, this is also tagged
           for stable.
      
         - retire the interrim helpers devm_get_gpiod_from_child() used to
           smoothen merging in the merge window"
      
      * tag 'gpio-v4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio:mcp23s08 Fixed missing interrupts
        serial: st-asc: Use new GPIOD API to obtain RTS pin
        gpio: altera: Use handle_level_irq when configured as a level_high
        gpio: xgene: mark PM functions as __maybe_unused
        gpio: mockup: return -EFAULT if copy_from_user() fails
        gpio: altera-a10sr: Set gpio_chip parent property
      47191777
    • Linus Torvalds's avatar
      Merge tag 'rproc-v4.11-fixes' of git://github.com/andersson/remoteproc · 8a011508
      Linus Torvalds authored
      Pull remoteproc fix from Bjorn Andersson:
       "This fixes a Kbuild dependency issue related to the Qualcomm
        remoteproc drivers"
      
      * tag 'rproc-v4.11-fixes' of git://github.com/andersson/remoteproc:
        remoteproc: qcom: fix QCOM_SMD dependencies
      8a011508
    • Linus Torvalds's avatar
      Merge tag 'for-f2fs-4.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 689b957b
      Linus Torvalds authored
      Pull f2fs fixes from Jaegeuk Kim:
      
       - fix performance regression reported by lkp-rebot
      
       - fix potential data lost after power-cut due to SSR reallocation
      
      * tag 'for-f2fs-4.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs:
        f2fs: combine nat_bits and free_nid_bitmap cache
        f2fs: skip scanning free nid bitmap of full NAT blocks
        f2fs: use __set{__clear}_bit_le
        f2fs: declare static functions
        f2fs: don't overwrite node block by SSR
      689b957b
    • Ping Cheng's avatar
      HID: wacom: generic: Wacom mouse is only provided for opaque tablets · 6e5364f5
      Ping Cheng authored
      Commit f85c9dc6 ("Support tool ID and additional tool types") introduced mouse
      and lens cursor tools to generic codepath, which covers both display (direct)
      and opaque tablets (indirect devices). However, mouse and lens cursor tools are
      only provided for opaque tablets. This patch ignores mouse and lens cursor tools
      if the device is a display tablet.
      Signed-off-by: default avatarPing Cheng <ping.cheng@wacom.com>
      Reviewed-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      6e5364f5