1. 09 1月, 2015 30 次提交
  2. 06 1月, 2015 1 次提交
    • B
      qla2xxx: fix busy wait regression · 975f7d46
      Bruno Prémont 提交于
      Commit e05fe292 (qla2xxx: Honor FCP_RSP retry delay timer field.)
      causes systems to busy-wait for about 3 minutes after boot prior to
      detecting SAN disks.
      
      During this wait period one kworker is running full-time
      (though /proc/<pid>/stack has no useful data). Another kworker is
      waiting for IO to complete during that whole time period.
      
      Looking at drivers/scsi/qla2xxx/qla_os.c, fcport->retry_delay_timestamp
      has a special value of 0 though that 0 value forces system to wait when
      jiffies is very large value (e.g. 4294952605 - "negative" value when
      signed on 32bit systems).
      Signed-off-by: NBruno Prémont <bonbons@linux-vserver.org>
      Acked-by: NChad Dupuis <chad.dupuis@qlogic.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      975f7d46
  3. 01 1月, 2015 1 次提交
  4. 31 12月, 2014 1 次提交
  5. 30 12月, 2014 4 次提交
  6. 29 12月, 2014 3 次提交
    • A
      mmc: core: stop trying to switch width when only one bit is supported · 1c2d26e3
      Alexandre Belloni 提交于
      mmc_select_bus_width() will try to switch to MMC_BUS_WIDTH_4 even if
      MMC_CAP_4_BIT_DATA and MMC_CAP_8_BIT_DATA are not set in host->caps.
      Return as soon as possible when those flags are not set
      
      Fixes: 577fb131 (mmc: rework selection of bus speed mode)
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      Cc: <stable@vger.kernel.org> # 3.17
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      1c2d26e3
    • M
      vhost: relax used address alignment · 5d9a07b0
      Michael S. Tsirkin 提交于
      virtio 1.0 only requires used address to be 4 byte aligned,
      vhost required 8 bytes (size of vring_used_elem).
      Fix up vhost to match that.
      
      Additionally, while vhost correctly requires 8 byte
      alignment for log, it's unconnected to used ring:
      it's a consequence that log has u64 entries.
      Tweak code to make that clearer.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      5d9a07b0
    • T
      video/logo: prevent use of logos after they have been freed · 92b004d1
      Tomi Valkeinen 提交于
      If the probe of an fb driver has been deferred due to missing
      dependencies, and the probe is later ran when a module is loaded, the
      fbdev framework will try to find a logo to use.
      
      However, the logos are __initdata, and have already been freed. This
      causes sometimes page faults, if the logo memory is not mapped,
      sometimes other random crashes as the logo data is invalid, and
      sometimes nothing, if the fbdev decides to reject the logo (e.g. the
      random value depicting the logo's height is too big).
      
      This patch adds a late_initcall function to mark the logos as freed. In
      reality the logos are freed later, and fbdev probe may be ran between
      this late_initcall and the freeing of the logos. In that case we will
      miss drawing the logo, even if it would be possible.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: stable@vger.kernel.org
      92b004d1