18 Jan, 2020

1 commit

  • commit a2bdd0c904da12b223c8d7218e98138d4e6d9f4f upstream.

    The file name in the documentation is currently incorrect, so fix it.

    Link: https://lore.kernel.org/r/fe264d62-0371-ea59-b66a-6d855290ce65@molgen.mpg.de
    Fixes: 6d90615f1346 ("scsi: smartpqi: add sysfs entries")
    Signed-off-by: Paul Menzel
    Signed-off-by: Martin K. Petersen
    Signed-off-by: Greg Kroah-Hartman

    Paul Menzel
     

27 Jun, 2019

1 commit


19 Jun, 2019

1 commit

  • The osst driver is becoming obsolete, as the manufacturer went out of
    business ages ago, and the maintainer has no means of testing any
    improvements anymore. Plus these days flash drives are cheaper and offer a
    higher capacity. So drop it completely.

    Cc: Willem Riede
    Signed-off-by: Hannes Reinece
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

27 Feb, 2019

2 commits

  • Add this functionality, placing the descriptor being read in the actual
    data buffer in the bio.

    That is, for both read and write descriptors query upiu, we are using the
    job's request_payload. This in turn, is mapped back in user land to the
    applicable sg_io_v4 xferp: dout_xferp for write descriptor, and din_xferp
    for read descriptor.

    Signed-off-by: Avri Altman
    Reviewed-by: Evan Green
    Reviewed-by: Bean Huo
    Signed-off-by: Martin K. Petersen

    Avri Altman
     
  • When we had a write descriptor query upiu, we appended the descriptor right
    after the bsg request. This was fine as the bsg driver allows to allocate
    whatever buffer we needed in its job request.

    Still, the proper way to deliver payload, however small (we only write
    config descriptors of 144 bytes), is by using the job request payload data
    buffer.

    So change this ABI now, while ufs-bsg is still new, and nobody is actually
    using it.

    Signed-off-by: Avri Altman
    Reviewed-by: Evan Green
    Reviewed-by: Bean Huo
    Signed-off-by: Martin K. Petersen

    Avri Altman
     

06 Feb, 2019

2 commits


29 Dec, 2018

1 commit

  • Pull SCSI updates from James Bottomley:
    "This is mostly update of the usual drivers: smarpqi, lpfc, qedi,
    megaraid_sas, libsas, zfcp, mpt3sas, hisi_sas.

    Additionally, we have a pile of annotation, unused variable and minor
    updates.

    The big API change is the updates for Christoph's DMA rework which
    include removing the DISABLE_CLUSTERING flag.

    And finally there are a couple of target tree updates"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (259 commits)
    scsi: isci: request: mark expected switch fall-through
    scsi: isci: remote_node_context: mark expected switch fall-throughs
    scsi: isci: remote_device: Mark expected switch fall-throughs
    scsi: isci: phy: Mark expected switch fall-through
    scsi: iscsi: Capture iscsi debug messages using tracepoints
    scsi: myrb: Mark expected switch fall-throughs
    scsi: megaraid: fix out-of-bound array accesses
    scsi: mpt3sas: mpt3sas_scsih: Mark expected switch fall-through
    scsi: fcoe: remove set but not used variable 'port'
    scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
    scsi: smartpqi: fix build warnings
    scsi: smartpqi: update driver version
    scsi: smartpqi: add ofa support
    scsi: smartpqi: increase fw status register read timeout
    scsi: smartpqi: bump driver version
    scsi: smartpqi: add smp_utils support
    scsi: smartpqi: correct lun reset issues
    scsi: smartpqi: correct volume status
    scsi: smartpqi: do not offline disks for transient did no connect conditions
    scsi: smartpqi: allow for larger raid maps
    ...

    Linus Torvalds
     

19 Dec, 2018

1 commit

  • The same effects can be achieved by setting the dma_boundary to
    PAGE_SIZE - 1 and the max_segment_size to PAGE_SIZE, so shift those
    settings into the drivers. Note that in many cases the setting might
    be bogus, but this keeps the status quo.

    [mkp: fix myrs and myrb]

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     

08 Nov, 2018

1 commit

  • This removes the legacy (non-mq) IO path for SCSI.

    Cc: linux-scsi@vger.kernel.org
    Acked-by: Himanshu Madhani
    Reviewed-by: Hannes Reinecke
    Tested-by: Ming Lei
    Reviewed-by: Omar Sandoval
    Acked-by: Martin K. Petersen
    Signed-off-by: Jens Axboe

    Jens Axboe
     

25 Oct, 2018

2 commits

  • Pull SCSI updates from James Bottomley:
    "This is mostly updates of the usual drivers: UFS, esp_scsi, NCR5380,
    qla2xxx, lpfc, libsas, hisi_sas.

    In addition there's a set of mostly small updates to the target
    subsystem a set of conversions to the generic DMA API, which do have
    some potential for issues in the older drivers but we'll handle those
    as case by case fixes.

    A new myrs driver for the DAC960/mylex raid controllers to replace the
    block based DAC960 which is also being removed by Jens in this merge
    window.

    Plus the usual slew of trivial changes"

    [ "myrs" stands for "MYlex Raid Scsi". Obviously. Silly of me to even
    wonder. There's also a "myrb" driver, where the 'b' stands for
    'block'. Truly, somebody has got mad naming skillz. - Linus ]

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (237 commits)
    scsi: myrs: Fix the processor absent message in processor_show()
    scsi: myrs: Fix a logical vs bitwise bug
    scsi: hisi_sas: Fix NULL pointer dereference
    scsi: myrs: fix build failure on 32 bit
    scsi: fnic: replace gross legacy tag hack with blk-mq hack
    scsi: mesh: switch to generic DMA API
    scsi: ips: switch to generic DMA API
    scsi: smartpqi: fully convert to the generic DMA API
    scsi: vmw_pscsi: switch to generic DMA API
    scsi: snic: switch to generic DMA API
    scsi: qla4xxx: fully convert to the generic DMA API
    scsi: qla2xxx: fully convert to the generic DMA API
    scsi: qla1280: switch to generic DMA API
    scsi: qedi: fully convert to the generic DMA API
    scsi: qedf: fully convert to the generic DMA API
    scsi: pm8001: switch to generic DMA API
    scsi: nsp32: switch to generic DMA API
    scsi: mvsas: fully convert to the generic DMA API
    scsi: mvumi: switch to generic DMA API
    scsi: mpt3sas: switch to generic DMA API
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "This is a fairly typical cycle for documentation. There's some welcome
    readability improvements for the formatted output, some LICENSES
    updates including the addition of the ISC license, the removal of the
    unloved and unmaintained 00-INDEX files, the deprecated APIs document
    from Kees, more MM docs from Mike Rapoport, and the usual pile of typo
    fixes and corrections"

    * tag 'docs-4.20' of git://git.lwn.net/linux: (41 commits)
    docs: Fix typos in histogram.rst
    docs: Introduce deprecated APIs list
    kernel-doc: fix declaration type determination
    doc: fix a typo in adding-syscalls.rst
    docs/admin-guide: memory-hotplug: remove table of contents
    doc: printk-formats: Remove bogus kobject references for device nodes
    Documentation: preempt-locking: Use better example
    dm flakey: Document "error_writes" feature
    docs/completion.txt: Fix a couple of punctuation nits
    LICENSES: Add ISC license text
    LICENSES: Add note to CDDL-1.0 license that it should not be used
    docs/core-api: memory-hotplug: add some details about locking internals
    docs/core-api: rename memory-hotplug-notifier to memory-hotplug
    docs: improve readability for people with poorer eyesight
    yama: clarify ptrace_scope=2 in Yama documentation
    docs/vm: split memory hotplug notifier description to Documentation/core-api
    docs: move memory hotplug description into admin-guide/mm
    doc: Fix acronym "FEKEK" in ecryptfs
    docs: fix some broken documentation references
    iommu: Fix passthrough option documentation
    ...

    Linus Torvalds
     

11 Oct, 2018

1 commit

  • For now, just provide an API to allocate and remove ufs-bsg node. We
    will use this framework to manage ufs devices by sending UPIU
    transactions.

    For the time being, implements an empty bsg_request() - will add some
    more functionality in coming patches.

    Nonetheless, we reveal here the protocol we are planning to use: UFS
    Transport Protocol Transactions. UFS transactions consist of packets
    called UFS Protocol Information Units (UPIU).

    There are UPIU’s defined for UFS SCSI commands, responses, data in and
    data out, task management, utility functions, vendor functions,
    transaction synchronization and control, and more.

    By using UPIUs, we get access to the most fine-grained internals of this
    protocol, and able to communicate with the device in ways, that are
    sometimes beyond the capacity of the ufs driver.

    Moreover and as a result, our core structure - ufs_bsg_node has a pretty
    lean structure: using upiu transactions that contains the outmost
    detailed info, so we don't really need complex constructs to support it.

    Signed-off-by: Avri Altman
    Reviewed-by: Christoph Hellwig
    Reviewed-by: Bart Van Assche
    Signed-off-by: Martin K. Petersen

    Avri Altman
     

10 Sep, 2018

1 commit

  • This is a respin with a wider audience (all that get_maintainer returned)
    and I know this spams a *lot* of people. Not sure what would be the correct
    way, so my apologies for ruining your inbox.

    The 00-INDEX files are supposed to give a summary of all files present
    in a directory, but these files are horribly out of date and their
    usefulness is brought into question. Often a simple "ls" would reveal
    the same information as the filenames are generally quite descriptive as
    a short introduction to what the file covers (it should not surprise
    anyone what Documentation/sched/sched-design-CFS.txt covers)

    A few years back it was mentioned that these files were no longer really
    needed, and they have since then grown further out of date, so perhaps
    it is time to just throw them out.

    A short status yields the following _outdated_ 00-INDEX files, first
    counter is files listed in 00-INDEX but missing in the directory, last
    is files present but not listed in 00-INDEX.

    List of outdated 00-INDEX:
    Documentation: (4/10)
    Documentation/sysctl: (0/1)
    Documentation/timers: (1/0)
    Documentation/blockdev: (3/1)
    Documentation/w1/slaves: (0/1)
    Documentation/locking: (0/1)
    Documentation/devicetree: (0/5)
    Documentation/power: (1/1)
    Documentation/powerpc: (0/5)
    Documentation/arm: (1/0)
    Documentation/x86: (0/9)
    Documentation/x86/x86_64: (1/1)
    Documentation/scsi: (4/4)
    Documentation/filesystems: (2/9)
    Documentation/filesystems/nfs: (0/2)
    Documentation/cgroup-v1: (0/2)
    Documentation/kbuild: (0/4)
    Documentation/spi: (1/0)
    Documentation/virtual/kvm: (1/0)
    Documentation/scheduler: (0/2)
    Documentation/fb: (0/1)
    Documentation/block: (0/1)
    Documentation/networking: (6/37)
    Documentation/vm: (1/3)

    Then there are 364 subdirectories in Documentation/ with several files that
    are missing 00-INDEX alltogether (and another 120 with a single file and no
    00-INDEX).

    I don't really have an opinion to whether or not we /should/ have 00-INDEX,
    but the above 00-INDEX should either be removed or be kept up to date. If
    we should keep the files, I can try to keep them updated, but I rather not
    if we just want to delete them anyway.

    As a starting point, remove all index-files and references to 00-INDEX and
    see where the discussion is going.

    Signed-off-by: Henrik Austad
    Acked-by: "Paul E. McKenney"
    Just-do-it-by: Steven Rostedt
    Reviewed-by: Jens Axboe
    Acked-by: Paul Moore
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mark Brown
    Acked-by: Mike Rapoport
    Cc: [Almost everybody else]
    Signed-off-by: Jonathan Corbet

    Henrik Austad
     

28 Aug, 2018

1 commit


29 May, 2018

2 commits


22 Mar, 2018

1 commit


20 Mar, 2018

2 commits


15 Mar, 2018

2 commits


02 Mar, 2018

1 commit


02 Dec, 2017

1 commit


23 Oct, 2017

2 commits


07 Apr, 2017

2 commits

  • There hasn't been any reports for HBAs where asynchronous abort
    would not work, so we should make it mandatory and remove
    the fallback.

    Signed-off-by: Hannes Reinecke
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Bart Van Assche
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     
  • If a failed command is retried and fails again we need
    to enter SCSI EH, otherwise we will never be able to
    recover the command.
    To detect this situation we must not clear scmd->eh_eflags
    when EH finishes but rather make it persistent throughout
    the lifetime of the command.

    Signed-off-by: Hannes Reinecke
    Reviewed-by: Benjamin Block
    Reviewed-by: Bart Van Assche
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

28 Feb, 2017

1 commit

  • Fix typos and add the following to the scripts/spelling.txt:

    varible||variable

    While we are here, tidy up the comment blocks that fit in a single line
    for drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c and
    net/sctp/transport.c.

    Link: http://lkml.kernel.org/r/1481573103-11329-11-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

23 Dec, 2016

1 commit


09 Dec, 2016

1 commit

  • Automatically probe the board irq when no irq parameter is provided, to
    simulate PnP. The old default behaviour was to disable the irq.

    Update driver documentation accordingly and add some printk messages to
    make this behaviour visible.

    Signed-off-by: Finn Thain
    Tested-by: Ondrej Zary
    Signed-off-by: Martin K. Petersen

    Finn Thain
     

24 Oct, 2016

1 commit


30 Sep, 2016

2 commits

  • Convert g_NCR5380 to use scsi_add_host instead of scsi_module.c Use
    pnp_driver and isa_driver to manage cards.

    In order to support multiple cards, new module parameter format is
    introduced. The old parameters are kept for compatibility.

    Signed-off-by: Ondrej Zary
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Ondrej Zary
     
  • Remove deprecated __setup for parsing command line parameters.
    g_NCR5380.* parameters could be used instead.

    This might break existing setups with g_NCR5380 built-in (if there are
    any). But it has to go in order to remove the overrides[] array.

    Signed-off-by: Ondrej Zary
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Ondrej Zary
     

27 Sep, 2016

6 commits

  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig