1. 03 2月, 2017 1 次提交
  2. 31 1月, 2017 2 次提交
  3. 27 1月, 2017 3 次提交
    • A
      HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 · 877a021e
      Ardinartsev Nikita 提交于
      With NOGET quirk Logitech F510 is now fully workable in dinput mode including
      rumble effects (according to fftest).
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=117091
      
      [jkosina@suse.cz: fix patch format]
      Signed-off-by: NArdinartsev Nikita <ardinar23@gmail.com>
      Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      877a021e
    • C
      HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL · ed9ab428
      Colin Ian King 提交于
      Quirking the following AMI USB device with ALWAYS_POLL fixes an AMI
      virtual keyboard and mouse from not responding and timing out when
      it is attached to a ppc64el Power 8 system and when we have some
      rapid open/closes on the mouse device.
      
       usb 1-3: new high-speed USB device number 2 using xhci_hcd
       usb 1-3: New USB device found, idVendor=046b, idProduct=ff01
       usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
       usb 1-3: Product: Virtual Hub
       usb 1-3: Manufacturer: American Megatrends Inc.
       usb 1-3: SerialNumber: serial
       usb 1-3.3: new high-speed USB device number 3 using xhci_hcd
       usb 1-3.3: New USB device found, idVendor=046b, idProduct=ff31
       usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
       usb 1-3.3: Product: Virtual HardDisk Device
       usb 1-3.3: Manufacturer: American Megatrends Inc.
       usb 1-3.4: new low-speed USB device number 4 using xhci_hcd
       usb 1-3.4: New USB device found, idVendor=046b, idProduct=ff10
       usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
       usb 1-3.4: Product: Virtual Keyboard and Mouse
       usb 1-3.4: Manufacturer: American Megatrends Inc.
      
      With the quirk I have not been able to trigger the issue with
      half an hour of saturation soak testing.
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ed9ab428
    • J
      HID: wacom: Fix poor prox handling in 'wacom_pl_irq' · 282e4637
      Jason Gerecke 提交于
      Commit 025bcc15 performed cleanup work on the 'wacom_pl_irq' function, making
      it follow the standards used in the rest of the codebase. The change
      unintiontionally allowed the function to send input events from reports
      that are not marked as being in prox. This can cause problems as the
      report values for X, Y, etc. are not guaranteed to be correct. In
      particular, occasionally the tablet will send a report with these values
      set to zero. If such a report is received it can caus an unexpected jump
      in the XY position.
      
      This patch surrounds more of the processing code with a proximity check,
      preventing these zeroed reports from overwriting the current state. To
      be safe, only the tool type and ABS_MISC events should be reported when
      the pen is marked as being out of prox.
      
      Fixes: 025bcc15 ("HID: wacom: Simplify 'wacom_pl_irq'")
      Signed-off-by: NJason Gerecke <jason.gerecke@wacom.com>
      Reviewed-by: NPing Cheng <pingc@wacom.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      282e4637
  4. 19 1月, 2017 1 次提交
    • J
      HID: wacom: Fix sibling detection regression · a9ce7856
      Jason Gerecke 提交于
      Commit 345857bb ("HID: wacom: generic: Add support for sensor offsets") included
      a change to the operation and location of the call to 'wacom_add_shared_data'
      in 'wacom_parse_and_register'. The modifications included moving it higher up
      so that it would occur before the call to 'wacom_retrieve_hid_descriptor'. This
      was done to prevent a crash that would have occured when the report containing
      tablet offsets was fed into the driver with 'wacom_hid_report_raw_event'
      (specifically: the various 'wacom_wac_*_report' functions were written with the
      assumption that they would only be called once tablet setup had completed;
      'wacom_wac_pen_report' in particular dereferences 'shared' which wasn't yet
      allocated).
      
      Moving the call to 'wacom_add_shared_data' effectively prevented the crash but
      also broke the sibiling detection code which assumes that the HID descriptor
      has been read and the various device_type flags set.
      
      To fix this situation, we restore the original 'wacom_add_shared_data'
      operation and location and instead implement an alternative change that can
      also prevent the crash. Specifically, we notice that the report functions
      mentioned above expect to be called only for input reports.  By adding a check,
      we can prevent feature reports (such as the offset report) from
      causing trouble.
      
      Fixes: 345857bb ("HID: wacom: generic: Add support for sensor offsets")
      Signed-off-by: NJason Gerecke <jason.gerecke@wacom.com>
      Tested-by: NPing Cheng <pingc@wacom.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      a9ce7856
  5. 13 1月, 2017 2 次提交
  6. 12 1月, 2017 1 次提交
  7. 06 1月, 2017 1 次提交
  8. 05 1月, 2017 1 次提交
  9. 02 1月, 2017 3 次提交
  10. 19 12月, 2016 4 次提交
  11. 14 12月, 2016 3 次提交
    • L
      Revert "nvme: add support for the Write Zeroes command" · cdb98c26
      Linus Torvalds 提交于
      This reverts commit 6d31e3ba.
      
      This causes bootup problems for me both on my laptop and my desktop.
      What they have in common is that they have NVMe disks with dm-crypt, but
      it's not the same controller, so it's not controller-specific.
      
      Jens does not see it on his machine (also NVMe), so it's presumably
      something that triggers just on bootup.  Possibly related to dm-crypt
      and the fact that I mark my luks volume with "allow-discards" in
      /etc/crypttab.
      
      It's 100% repeatable for me, which made it fairly straightforward to
      bisect the problem to this commit. Small mercies.
      
      So we don't know what the reason is yet, but the revert is needed to get
      things going again.
      Acked-by: NJens Axboe <axboe@fb.com>
      Cc: Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cdb98c26
    • A
      ata: avoid probing NCQ Prio Support if not explicitly requested · 9f56eca3
      Adam Manzanares 提交于
      Previously, when the ata device was being initialized we were
      probing for NCQ prio support by checking the identify information
      and also checking the log page that holds information about ncq prio
      support.
      
      This caused an error on an Intel HBA so the code is now updated to
      only probe for NCQ prio support when the sysfs variable controlling
      NCQ prio support is enabled.
      
      tj: Update formatting, switch to spin_[un]lock_irq() and update
          locking a bit, use REVALIDATE instead of RESET, and return -EIO
          instead of -EINVAL on config failure.
      Signed-off-by: NAdam Manzanares <adam.manzanares@wdc.com>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      9f56eca3
    • M
      dm flakey: introduce "error_writes" feature · ef548c55
      Mike Snitzer 提交于
      Recent dm-flakey fixes, to have reads error out during the "down"
      interval, made it so that the previous read behaviour is no longer
      available.
      
      It is useful to have reads complete like normal but have writes error
      out, so make it possible again with a new "error_writes" feature.
      Signed-off-by: NMike Snitzer <snitzer@redhat.com>
      ef548c55
  12. 13 12月, 2016 18 次提交