1. 12 7月, 2016 1 次提交
    • G
      nvme/quirk: Add a delay before checking for adapter readiness · 54adc010
      Guilherme G. Piccoli 提交于
      When disabling the controller, the specification says the register
      NVME_REG_CC should be written and then driver needs to wait the
      adapter to be ready, which is checked by reading another register
      bit (NVME_CSTS_RDY). There's a timeout validation in this checking,
      so in case this timeout is reached the driver gives up and removes
      the adapter from the system.
      
      After a firmware activation procedure, the PCI_DEVICE(0x1c58, 0x0003)
      (HGST adapter) end up being removed if we issue a reset_controller,
      because driver keeps verifying the NVME_REG_CSTS until the timeout is
      reached. This patch adds a necessary quirk for this adapter, by
      introducing a delay before nvme_wait_ready(), so the reset procedure
      is able to be completed. This quirk is needed because just increasing
      the timeout is not enough in case of this adapter - the driver must
      wait before start reading NVME_REG_CSTS register on this specific
      device.
      Signed-off-by: NGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      54adc010
  2. 09 7月, 2016 1 次提交
    • J
      Merge branch 'for-4.8/block' of... · 41d512e5
      Jens Axboe 提交于
      Merge branch 'for-4.8/block' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm into for-4.8/drivers
      
      Dan writes:
      
      "The removal of ->driverfs_dev in favor of just passing the parent
      device in as a parameter to add_disk().  See below, it has received a
      "Reviewed-by" from Christoph, Bart, and Johannes.
      
      It is also a pre-requisite for Fam Zheng's work to cleanup gendisk
      uevents vs attribute visibility [1].  We would extend device_add_disk()
      to take an attribute_group list.
      
      This is based off a branch of block.git/for-4.8/drivers and has
      received a positive build success notification from the kbuild robot
      across several configs.
      
      [1]: "gendisk: Generate uevent after attribute available"
      http://marc.info/?l=linux-virtualization&m=146725201522201&w=2"
      41d512e5
  3. 08 7月, 2016 5 次提交
  4. 07 7月, 2016 19 次提交
  5. 06 7月, 2016 14 次提交