01 Jun, 2021

2 commits


29 Apr, 2021

1 commit

  • Pull block updates from Jens Axboe:
    "Pretty quiet round this time, which is nice. In detail:

    - Series revamping bounce buffer support (Christoph)

    - Dead code removal (Christoph, Bart)

    - Partition iteration revamp, now using xarray (Christoph)

    - Passthrough request scheduler improvements (Lin)

    - Series of BFQ improvements (Paolo)

    - Fix ioprio task iteration (Peter)

    - Various little tweaks and fixes (Tejun, Saravanan, Bhaskar, Max,
    Nikolay)"

    * tag 'for-5.13/block-2021-04-27' of git://git.kernel.dk/linux-block: (41 commits)
    blk-iocost: don't ignore vrate_min on QD contention
    blk-mq: Fix spurious debugfs directory creation during initialization
    bfq/mq-deadline: remove redundant check for passthrough request
    blk-mq: bypass IO scheduler's limit_depth for passthrough request
    block: Remove an obsolete comment from sg_io()
    block: move bio_list_copy_data to pktcdvd
    block: remove zero_fill_bio_iter
    block: add queue_to_disk() to get gendisk from request_queue
    block: remove an incorrect check from blk_rq_append_bio
    block: initialize ret in bdev_disk_changed
    block: Fix sys_ioprio_set(.which=IOPRIO_WHO_PGRP) task iteration
    block: remove disk_part_iter
    block: simplify diskstats_show
    block: simplify show_partition
    block: simplify printk_all_partitions
    block: simplify partition_overlaps
    block: simplify partition removal
    block: take bd_mutex around delete_partitions in del_gendisk
    block: refactor blk_drop_partitions
    block: move more syncing and invalidation to delete_partition
    ...

    Linus Torvalds
     

06 Apr, 2021

2 commits

  • Remove the unchecked_isa_dma now that all users are gone.

    Signed-off-by: Christoph Hellwig
    Acked-by: Martin K. Petersen
    Reviewed-by: Hannes Reinecke
    Link: https://lore.kernel.org/r/20210331073001.46776-6-hch@lst.de
    Signed-off-by: Jens Axboe

    Christoph Hellwig
     
  • The ISA support in Buslogic has been broken for a long time, as all
    the I/O path expects a struct device for DMA mapping that is derived from
    the PCI device, which would simply crash for ISA adapters.

    Signed-off-by: Christoph Hellwig
    Acked-by: Martin K. Petersen
    Reviewed-by: Hannes Reinecke
    Acked-by: Khalid Aziz
    Link: https://lore.kernel.org/r/20210331073001.46776-3-hch@lst.de
    Signed-off-by: Jens Axboe

    Christoph Hellwig
     

26 Mar, 2021

1 commit


23 Feb, 2021

1 commit

  • Pull SCSI updates from James Bottomley:
    "This series consists of the usual driver updates (ufs, ibmvfc,
    qla2xxx, hisi_sas, pm80xx) plus the removal of the gdth driver (which
    is bound to cause conflicts with a trivial change somewhere).

    The only big major rework of note is the one from Hannes trying to
    clean up our result handling code in the drivers to make it
    consistent"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (194 commits)
    scsi: MAINTAINERS: Adjust to reflect gdth scsi driver removal
    scsi: ufs: Give clk scaling min gear a value
    scsi: lpfc: Fix 'physical' typos
    scsi: megaraid_mbox: Fix spelling of 'allocated'
    scsi: qla2xxx: Simplify the calculation of variables
    scsi: message: fusion: Fix 'physical' typos
    scsi: target: core: Change ASCQ for residual write
    scsi: target: core: Signal WRITE residuals
    scsi: target: core: Set residuals for 4Kn devices
    scsi: hisi_sas: Add trace FIFO debugfs support
    scsi: hisi_sas: Flush workqueue in hisi_sas_v3_remove()
    scsi: hisi_sas: Enable debugfs support by default
    scsi: hisi_sas: Don't check .nr_hw_queues in hisi_sas_task_prep()
    scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()
    scsi: lpfc: Add auto select on IRQ_POLL
    scsi: ncr53c8xx: Fix typos
    scsi: lpfc: Fix ancient double free
    scsi: qla2xxx: Fix some memory corruption
    scsi: qla2xxx: Remove redundant NULL check
    scsi: megaraid: Fix ifnullfree.cocci warnings
    ...

    Linus Torvalds
     

09 Feb, 2021

1 commit


23 Jan, 2021

6 commits

  • These variants were added for bisectability. Remove them, as all call sites
    have now been convertd to use the original API.

    Link: https://lore.kernel.org/r/20210118100955.1761652-20-a.darwish@linutronix.de
    Cc: Jason Yan
    Reviewed-by: John Garry
    Signed-off-by: Ahmed S. Darwish
    Signed-off-by: Martin K. Petersen

    Ahmed S. Darwish
     
  • All call-sites of below libsas APIs:

    - sas_alloc_event()
    - sas_notify_port_event()
    - sas_notify_phy_event()

    have been converted to use the _gfp()-suffixed version. Modify the
    original APIs above to take a gfp_t flags parameter by default.

    For bisectability, call-sites will be modified again to use the original
    libsas APIs (while passing gfp_t). The temporary _gfp()-suffixed versions
    can then be removed.

    Link: https://lore.kernel.org/r/20210118100955.1761652-13-a.darwish@linutronix.de
    Cc: Jason Yan
    Reviewed-by: John Garry
    Signed-off-by: Ahmed S. Darwish
    Signed-off-by: Martin K. Petersen

    Ahmed S. Darwish
     
  • sas_alloc_event() uses in_interrupt() to decide which allocation should be
    used.

    The usage of in_interrupt() in drivers is phased out and Linus clearly
    requested that code which changes behaviour depending on context should
    either be separated or the context be conveyed in an argument passed by the
    caller, which usually knows the context.

    The in_interrupt() check is also only partially correct, because it fails
    to choose the correct code path when just preemption or interrupts are
    disabled. For example, as in the following call chain:

    mvsas/mv_sas.c: mvs_work_queue() [process context]
    spin_lock_irqsave(mvs_info::lock, )
    -> libsas/sas_event.c: sas_notify_phy_event()
    -> sas_alloc_event()
    -> in_interrupt() = false
    -> invalid GFP_KERNEL allocation
    -> libsas/sas_event.c: sas_notify_port_event()
    -> sas_alloc_event()
    -> in_interrupt() = false
    -> invalid GFP_KERNEL allocation

    Introduce sas_alloc_event_gfp(), sas_notify_port_event_gfp(), and
    sas_notify_phy_event_gfp(), which all behave like the non _gfp() variants
    but use a caller-passed GFP mask for allocations.

    For bisectability, all callers will be modified first to pass GFP context,
    then the non _gfp() libsas API variants will be modified to take a gfp_t by
    default.

    Link: https://lore.kernel.org/r/20210118100955.1761652-4-a.darwish@linutronix.de
    Fixes: 1c393b970e0f ("scsi: libsas: Use dynamic alloced work to avoid sas event lost")
    Cc: Jason Yan
    Reviewed-by: John Garry
    Signed-off-by: Ahmed S. Darwish
    Signed-off-by: Martin K. Petersen

    Ahmed S. Darwish
     
  • LLDDs report events to libsas with .notify_port_event and .notify_phy_event
    callbacks.

    These callbacks are fixed and so there is no reason why the functions
    cannot be called directly, so do that.

    This neatens the code slightly, makes it more obvious, and reduces function
    pointer usage, which is generally a good thing. Downside is that there are
    2x more symbol exports.

    [a.darwish@linutronix.de: Remove the now unused "sas_ha" local variables]

    Link: https://lore.kernel.org/r/20210118100955.1761652-3-a.darwish@linutronix.de
    Reviewed-by: Christoph Hellwig
    Reviewed-by: Jack Wang
    Signed-off-by: John Garry
    Signed-off-by: Ahmed S. Darwish
    Signed-off-by: Martin K. Petersen

    John Garry
     
  • The ->notify_ha_event() hook has long been removed from the libsas event
    interface.

    Remove it from documentation.

    Link: https://lore.kernel.org/r/20210118100955.1761652-2-a.darwish@linutronix.de
    Fixes: 042ebd293b86 ("scsi: libsas: kill useless ha_event and do some cleanup")
    Cc: stable@vger.kernel.org
    Reviewed-by: John Garry
    Reviewed-by: Jack Wang
    Signed-off-by: Ahmed S. Darwish
    Signed-off-by: Martin K. Petersen

    Ahmed S. Darwish
     
  • The gdth driver refers to a SCSI parallel, PCI-only HBA RAID adapter which
    was manufactured by the now-defunct ICP Vortex company, later acquired by
    Adaptec and superseded by the aacraid series of controllers. The driver
    itself would require a major overhaul before any modifications can be
    attempted, but seeing that it's unlikely to have any users left it should
    rather be removed completely.

    Link: https://lore.kernel.org/r/20210113090500.129644-2-hare@suse.de
    Cautiously-Acked-by: Christoph Hellwig
    Signed-off-by: Hannes Reinecke
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

15 Oct, 2020

1 commit

  • Pull SPDX updates from Greg KH:
    "Here are some SPDX-specific changes for 5.10-rc1.

    They include:

    - driver fixes to make spdxcheck.pl work properly

    - add GFDL licenses as "deprecated" but required due to some of our
    documentation using them

    - add Zlib license as "deprecated" but required because we have code
    with this license in the tree.

    - convert some drivers to have SPDX identifiers that previously
    didn't have them.

    All have been in linux-next for a very long time with no reported
    issues"

    * tag 'spdx-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx:
    scripts/spdxcheck.py: handle license identifiers in XML comments
    net/mlx5: IPsec: make spdxcheck.py happy
    LICENSES/deprecated: add Zlib license text
    LICENSE: add GFDL deprecated licenses
    net/qla3xxx: Convert to SPDX license identifiers
    net/qlge: Convert to SPDX license identifiers
    net/qlcnic: Convert to SPDX license identifiers
    scsi/qla2xxx: Convert to SPDX license identifiers
    scsi/qla4xxx: Convert to SPDX license identifiers

    Linus Torvalds
     

16 Sep, 2020

2 commits

  • All files in this driver directory contain the following notice:

    See LICENSE.qla2xxx for copyright and licensing details.

    LICENSE.qla2xxx can be found in Documentation/scsi/. The file contains:

    - A copyright notice

    This copyright notice is redundant as all files contain the same
    copyright notice already

    - A license notice

    You may modify and redistribute the device driver code under the
    GNU General Public License (a copy of which is attached hereto as
    Exhibit A) published by the Free Software Foundation (version 2).

    This can be replaced with the corresponding SPDX license identifier
    (GPL-2.0-only) in the source files which reference this license
    file.

    - The full GPLv2 license text

    A redundant copy of LICENSES/preferred/GPL-2.0

    Remove the notices and add the SPDX license identifier GPL-2.0-only to the
    source files.

    Finally remove the now redundant LICENSE.qla2xxx file.

    Reviewed-by: Richard Fontana
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Alexios Zavras
    Acked-by: Igor Russkikh
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Lukas Bulwahn
    Acked-by: Nilesh Javali
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • All files in this driver directory contain the following notice:

    See LICENSE.qla4xxx for copyright and licensing details.

    LICENSE.qla4xxx can be found in Documentation/scsi/. The file contains:

    - A copyright notice

    This copyright notice is redundant as all files contain the same
    copyright notice already

    - A license notice

    You may modify and redistribute the device driver code under the
    GNU General Public License (a copy of which is attached hereto as
    Exhibit A) published by the Free Software Foundation (version 2).

    - The full GPLv2 license text

    This can be replaced with the corresponding SPDX license identifier
    (GPL-2.0-only) in the source files which reference this license
    file.

    - The full GPLv2 license text

    A redundant copy of LICENSES/preferred/GPL-2.0

    Remove the notices and add the SPDX license identifier GPL-2.0-only to the
    source files.

    Finally remove the now redundant LICENSE.qla4xxx file.

    Reviewed-by: Richard Fontana
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Alexios Zavras
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Lukas Bulwahn
    Acked-by: Nilesh Javali
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

09 Sep, 2020

1 commit

  • Commit 91ebc1facd77 ("scsi: core: remove Scsi_Cmnd typedef") removed the
    Scsi_cmnd typedef but it was still mentioned in a paragraph in the "SCSI
    mid_level - lower_level driver interface" documentation page. Remove this
    obsolete paragraph.

    Link: https://lore.kernel.org/r/20200905210211.2286172-1-nfraprado@protonmail.com
    Suggested-by: Randy Dunlap
    Suggested-by: Jonathan Corbet
    Acked-by: Randy Dunlap
    Signed-off-by: Nícolas F. R. A. Prado
    Signed-off-by: Martin K. Petersen

    Nícolas F. R. A. Prado
     

03 Sep, 2020

1 commit

  • Change Microsemi references to Microchip.

    Link: https://lore.kernel.org/r/159864895592.13630.18113151805817361168.stgit@brunhilda
    Reviewed-by: Scott Teel
    Reviewed-by: Scott Benesh
    Signed-off-by: Don Brace
    Signed-off-by: Martin K. Petersen

    Don Brace
     

08 Jul, 2020

2 commits

  • Drop the doubled word "be".

    Link: https://lore.kernel.org/r/20200707180414.10467-18-rdunlap@infradead.org
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Matthew Wilcox
    Cc: Hannes Reinecke
    Cc: linux-scsi@vger.kernel.org
    Cc: "James E.J. Bottomley"
    Cc: "Martin K. Petersen"
    Signed-off-by: Randy Dunlap
    Signed-off-by: Martin K. Petersen

    Randy Dunlap
     
  • IBM decided to retire a lot of the content that was previously hosted on
    "developerworks", and so some of the links we've used for documentation are
    now dead or redirect to some general landing page with no correlation to
    what the links were meant to provide.

    The s390-tools package is meanwhile also hosted on github, so we can link
    to the script directly instead of to the archive.

    Link: https://lore.kernel.org/r/9ab0341d6ddca46cfc885e4cd9dc38f535969b02.1593780621.git.bblock@linux.ibm.com
    Reviewed-by: Julian Wiedmann
    Reviewed-by: Steffen Maier
    Signed-off-by: Benjamin Block
    Signed-off-by: Martin K. Petersen

    Benjamin Block
     

03 Apr, 2020

1 commit

  • Pull SCSI updates from James Bottomley:
    "This series has a huge amount of churn because it pulls in Mauro's doc
    update changing all our txt files to rst ones.

    Excluding that, we have the usual driver updates (qla2xxx, ufs, lpfc,
    zfcp, ibmvfc, pm80xx, aacraid), a treewide update for scnprintf and
    some other minor updates.

    The major core change is Hannes moving functions out of the aacraid
    driver and into the core"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (223 commits)
    scsi: aic7xxx: aic97xx: Remove FreeBSD-specific code
    scsi: ufs: Do not rely on prefetched data
    scsi: dc395x: remove dc395x_bios_param
    scsi: libiscsi: Fix error count for active session
    scsi: hpsa: correct race condition in offload enabled
    scsi: message: fusion: Replace zero-length array with flexible-array member
    scsi: qedi: Add PCI shutdown handler support
    scsi: qedi: Add MFW error recovery process
    scsi: ufs: Enable block layer runtime PM for well-known logical units
    scsi: ufs-qcom: Override devfreq parameters
    scsi: ufshcd: Let vendor override devfreq parameters
    scsi: ufshcd: Update the set frequency to devfreq
    scsi: ufs: Resume ufs host before accessing ufs device
    scsi: ufs-mediatek: customize the delay for enabling host
    scsi: ufs: make HCE polling more compact to improve initialization latency
    scsi: ufs: allow custom delay prior to host enabling
    scsi: ufs-mediatek: use common delay function
    scsi: ufs: introduce common and flexible delay function
    scsi: ufs: use an enum for host capabilities
    scsi: ufs: fix uninitialized tx_lanes in ufshcd_disable_tx_lcc()
    ...

    Linus Torvalds
     

24 Mar, 2020

1 commit

  • Call scsi_bios_ptable from scsi_partsize instead of requiring boilerplate
    code in the callers. Also switch the calling convention to match that
    of the ->bios_param instances calling this function, and use true/false
    for the return value instead of the weird -1 convention.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Jens Axboe

    Christoph Hellwig
     

12 Mar, 2020

17 commits