Skip to content

Commit ca7ce08

Browse files
committed
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley: "Updates to the usual drivers (ufs, pm80xx, libata-scsi, smartpqi, lpfc, qla2xxx). We have a couple of major core changes impacting other systems: - Command Duration Limits, which spills into block and ATA - block level Persistent Reservation Operations, which touches block, nvme, target and dm Both of these are added with merge commits containing a cover letter explaining what's going on" * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (187 commits) scsi: core: Improve warning message in scsi_device_block() scsi: core: Replace scsi_target_block() with scsi_block_targets() scsi: core: Don't wait for quiesce in scsi_device_block() scsi: core: Don't wait for quiesce in scsi_stop_queue() scsi: core: Merge scsi_internal_device_block() and device_block() scsi: sg: Increase number of devices scsi: bsg: Increase number of devices scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue scsi: ufs: ufs-pci: Add support for Intel Arrow Lake scsi: sd: sd_zbc: Use PAGE_SECTORS_SHIFT scsi: ufs: wb: Add explicit flush_threshold sysfs attribute scsi: ufs: ufs-qcom: Switch to the new ICE API scsi: ufs: dt-bindings: qcom: Add ICE phandle scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_INTR quirk scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR scsi: ufs: core: Remove dedicated hwq for dev command scsi: ufs: core: mcq: Fix the incorrect OCS value for the device command scsi: ufs: dt-bindings: samsung,exynos: Drop unneeded quotes ...
2 parents 1546cd4 + af92c02 commit ca7ce08

File tree

177 files changed

+4837
-2244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+4837
-2244
lines changed

Documentation/ABI/testing/sysfs-block-device

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,25 @@ Description:
9595
This file does not exist if the HBA driver does not implement
9696
support for the SATA NCQ priority feature, regardless of the
9797
device support for this feature.
98+
99+
100+
What: /sys/block/*/device/cdl_supported
101+
Date: May, 2023
102+
KernelVersion: v6.5
103+
Contact: linux-scsi@vger.kernel.org
104+
Description:
105+
(RO) Indicates if the device supports the command duration
106+
limits feature found in some ATA and SCSI devices.
107+
108+
109+
What: /sys/block/*/device/cdl_enable
110+
Date: May, 2023
111+
KernelVersion: v6.5
112+
Contact: linux-scsi@vger.kernel.org
113+
Description:
114+
(RW) For a device supporting the command duration limits
115+
feature, write to the file to turn on or off the feature.
116+
By default this feature is turned off.
117+
Writing "1" to this file enables the use of command duration
118+
limits for read and write commands in the kernel and turns on
119+
the feature on the device. Writing "0" disables the feature.

Documentation/ABI/testing/sysfs-driver-ufs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,17 @@ Description: This entry shows the status of WriteBooster buffer flushing
14261426
If flushing is enabled, the device executes the flush
14271427
operation when the command queue is empty.
14281428

1429+
What: /sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold
1430+
What: /sys/bus/platform/devices/*.ufs/wb_flush_threshold
1431+
Date: June 2023
1432+
Contact: Lu Hongfei <luhongfei@vivo.com>
1433+
Description:
1434+
wb_flush_threshold represents the threshold for flushing WriteBooster buffer,
1435+
whose value expressed in unit of 10% granularity, such as '1' representing 10%,
1436+
'2' representing 20%, and so on.
1437+
If avail_wb_buff < wb_flush_threshold, it indicates that WriteBooster buffer needs to
1438+
be flushed, otherwise it is not necessary.
1439+
14291440
What: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/hpb_version
14301441
What: /sys/bus/platform/devices/*.ufs/device_descriptor/hpb_version
14311442
Date: June 2021

Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
- qcom,msm8994-ufshc
2727
- qcom,msm8996-ufshc
2828
- qcom,msm8998-ufshc
29+
- qcom,sa8775p-ufshc
2930
- qcom,sc8280xp-ufshc
3031
- qcom,sdm845-ufshc
3132
- qcom,sm6350-ufshc
@@ -70,6 +71,10 @@ properties:
7071
power-domains:
7172
maxItems: 1
7273

74+
qcom,ice:
75+
$ref: /schemas/types.yaml#/definitions/phandle
76+
description: phandle to the Inline Crypto Engine node
77+
7378
reg:
7479
minItems: 1
7580
maxItems: 2
@@ -105,6 +110,7 @@ allOf:
105110
contains:
106111
enum:
107112
- qcom,msm8998-ufshc
113+
- qcom,sa8775p-ufshc
108114
- qcom,sc8280xp-ufshc
109115
- qcom,sm8250-ufshc
110116
- qcom,sm8350-ufshc
@@ -187,6 +193,26 @@ allOf:
187193

188194
# TODO: define clock bindings for qcom,msm8994-ufshc
189195

196+
- if:
197+
properties:
198+
qcom,ice:
199+
maxItems: 1
200+
then:
201+
properties:
202+
reg:
203+
maxItems: 1
204+
clocks:
205+
minItems: 8
206+
maxItems: 8
207+
else:
208+
properties:
209+
reg:
210+
minItems: 2
211+
maxItems: 2
212+
clocks:
213+
minItems: 9
214+
maxItems: 11
215+
190216
unevaluatedProperties: false
191217

192218
examples:

Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ properties:
5454
const: ufs-phy
5555

5656
samsung,sysreg:
57-
$ref: '/schemas/types.yaml#/definitions/phandle-array'
57+
$ref: /schemas/types.yaml#/definitions/phandle-array
5858
description: Should be phandle/offset pair. The phandle to the syscon node
5959
which indicates the FSYSx sysreg interface and the offset of
6060
the control register for UFS io coherency setting.

Documentation/scsi/arcmsr_spec.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
===================
12
ARECA FIRMWARE SPEC
23
===================
34

Documentation/scsi/dc395x.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
3-
======================================
4-
README file for the dc395x SCSI driver
5-
======================================
3+
==================
4+
dc395x SCSI driver
5+
==================
66

77
Status
88
------
@@ -11,13 +11,10 @@ be safe to use. Testing with hard disks has not been done to any
1111
great degree and caution should be exercised if you want to attempt
1212
to use this driver with hard disks.
1313

14-
This is a 2.5 only driver. For a 2.4 driver please see the original
15-
driver (which this driver started from) at
16-
http://www.garloff.de/kurt/linux/dc395/
17-
18-
Problems, questions and patches should be submitted to the mailing
19-
list. Details on the list, including archives, are available at
20-
http://lists.twibble.org/mailman/listinfo/dc395x/
14+
This driver is evolved from `the original 2.4 driver
15+
<https://web.archive.org/web/20140129181343/http://www.garloff.de/kurt/linux/dc395/>`_.
16+
Problems, questions and patches should be submitted to the `Linux SCSI
17+
mailing list <linux-scsi@vger.kernel.org>`_.
2118

2219
Parameters
2320
----------

Documentation/scsi/g_NCR5380.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
.. include:: <isonum.txt>
33

4-
==========================================
5-
README file for the Linux g_NCR5380 driver
6-
==========================================
4+
================
5+
g_NCR5380 driver
6+
================
77

88
Copyright |copy| 1993 Drew Eckhard
99

Documentation/scsi/index.rst

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,38 @@
44
SCSI Subsystem
55
==============
66

7+
.. toctree::
8+
:maxdepth: 1
9+
10+
Introduction
11+
============
12+
13+
.. toctree::
14+
:maxdepth: 1
15+
16+
scsi
17+
18+
SCSI driver APIs
19+
================
20+
21+
.. toctree::
22+
:maxdepth: 1
23+
24+
scsi_mid_low_api
25+
scsi_eh
26+
27+
SCSI driver parameters
28+
======================
29+
30+
.. toctree::
31+
:maxdepth: 1
32+
33+
scsi-parameters
34+
link_power_management_policy
35+
36+
SCSI host adapter drivers
37+
=========================
38+
739
.. toctree::
840
:maxdepth: 1
941

@@ -25,20 +57,15 @@ SCSI Subsystem
2557
hpsa
2658
hptiop
2759
libsas
28-
link_power_management_policy
2960
lpfc
3061
megaraid
3162
ncr53c8xx
3263
NinjaSCSI
3364
ppa
3465
qlogicfas
3566
scsi-changer
36-
scsi_eh
3767
scsi_fc_transport
3868
scsi-generic
39-
scsi_mid_low_api
40-
scsi-parameters
41-
scsi
4269
sd-parameters
4370
smartpqi
4471
st

Documentation/scsi/megaraid.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
3-
==========================
4-
Notes on Management Module
5-
==========================
3+
=================================
4+
Megaraid Common Management Module
5+
=================================
66

77
Overview
88
--------

Documentation/scsi/ncr53c8xx.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. SPDX-License-Identifier: GPL-2.0
22
3-
=================================================
4-
The Linux NCR53C8XX/SYM53C8XX drivers README file
5-
=================================================
3+
===========================
4+
NCR53C8XX/SYM53C8XX drivers
5+
===========================
66

77
Written by Gerard Roudier <groudier@free.fr>
88

0 commit comments

Comments
 (0)