1. 19 10月, 2017 34 次提交
  2. 11 10月, 2017 2 次提交
    • A
      USB: dummy-hcd: remove unsupported isochronous endpoints · c9f20aaf
      Alan Stern 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      Reported-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      c9f20aaf
    • A
      USB: dummy-hcd: bandwidth limits for non-bulk transfers · ffc4ea79
      Alan Stern 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      ffc4ea79
  3. 09 10月, 2017 1 次提交
  4. 08 10月, 2017 3 次提交
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 85b1bb24
      Linus Torvalds 提交于
      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
    • L
      Merge branch 'i2c/for-current-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 67936a41
      Linus Torvalds 提交于
      Pull i2c fixes from Wolfram Sang:
       "I2C has three driver fixes for the newly introduced drivers and one ID
        addition for the i801 driver"
      
      * 'i2c/for-current-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: i2c-stm32f7: make structure stm32f7_setup static const
        i2c: ensure termination of *_device_id tables
        i2c: i801: Add support for Intel Cedar Fork
        i2c: stm32f7: fix setup structure
      67936a41
    • L
      Merge tag 'mmc-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 031b8140
      Linus Torvalds 提交于
      Pull MMC fixes from Ulf Hansson:
       "MMC core:
      
         - Fix driver strength selection when selecting hs400es
      
         - Delete bounce buffer handling:
      
           This change fixes a problem related to how bounce buffers are being
           allocated. However, instead of trying to fix that, let's just
           remove the mmc bounce buffer code altogether, as it has practically
           no use.
      
        MMC host:
      
         - meson-gx: A couple of fixes related to clock/phase/tuning
      
         - sdhci-xenon: Fix clock resource by adding an optional bus clock"
      
      * tag 'mmc-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock
        mmc: meson-gx: include tx phase in the tuning process
        mmc: meson-gx: fix rx phase reset
        mmc: meson-gx: make sure the clock is rounded down
        mmc: Delete bounce buffer handling
        mmc: core: add driver strength selection when selecting hs400es
      031b8140