1. 31 Mar, 2017 6 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 3 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