1. 20 Oct, 2017 1 commit
  2. 19 Oct, 2017 35 commits
  3. 11 Oct, 2017 2 commits
    • Alan Stern's avatar
      USB: dummy-hcd: remove unsupported isochronous endpoints · c9f20aaf
      Alan Stern authored
      The dummy-hcd driver doesn't support emulation of isochronous
      transfers.  Therefore it doesn't need to export isochronous endpoint
      descriptors; they can be commented out.
      
      Also, the comments in the source code don't express clearly enough the
      fact that isochronous isn't supported.  They need to be more explicit.
      
      Finally, change the error status value we use (in theory) for
      isochronous URBs.  checkpatch complains about ENOSYS; EINVAL is more
      appropriate (it is documented to mean "ISO madness").
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Reported-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      c9f20aaf
    • Alan Stern's avatar
      USB: dummy-hcd: bandwidth limits for non-bulk transfers · ffc4ea79
      Alan Stern authored
      Part of the emulation performed by dummy-hcd is accounting for
      bandwidth utilization.  The total amount of data transferred in a
      single frame is supposed to be no larger than an actual USB connection
      could accommodate.
      
      Currently the driver performs bandwidth limiting only for bulk
      transfers; control and periodic transfers are effectively unlimited.
      (Presumably drivers were not expected to request extremely large
      control or interrupt transfers.)  This patch improves the situation
      somewhat by restricting them as well.
      
      The emulation still isn't perfect.  On a real system, even 0-length
      transfers use some bandwidth because of transaction overhead
      (IN, OUT, ACK, NACK packets) and packet overhead (SYNC, PID, bit
      stuffing, CRC, EOP).  Adding in those factors is left as an exercise
      for a later patch.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      ffc4ea79
  4. 09 Oct, 2017 1 commit
  5. 07 Oct, 2017 1 commit
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 85b1bb24
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
      
       - a couple of serious fixes: use after free and blacklist for WRITE
         SAME
      
       - one error leg fix: write_pending failure
      
       - one user experience problem: do not override max_sectors_kb
      
       - one minor unused function removal
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ibmvscsis: Fix write_pending failure path
        scsi: libiscsi: Remove iscsi_destroy_session
        scsi: libiscsi: Fix use-after-free race during iscsi_session_teardown
        scsi: sd: Do not override max_sectors_kb sysfs setting
        scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP
      85b1bb24