Commit ca7ce08d authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
  ...
parents 1546cd4b af92c02f
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -95,3 +95,25 @@ Description:
		This file does not exist if the HBA driver does not implement
		support for the SATA NCQ priority feature, regardless of the
		device support for this feature.


What:		/sys/block/*/device/cdl_supported
Date:		May, 2023
KernelVersion:	v6.5
Contact:	linux-scsi@vger.kernel.org
Description:
		(RO) Indicates if the device supports the command duration
		limits feature found in some ATA and SCSI devices.


What:		/sys/block/*/device/cdl_enable
Date:		May, 2023
KernelVersion:	v6.5
Contact:	linux-scsi@vger.kernel.org
Description:
		(RW) For a device supporting the command duration limits
		feature, write to the file to turn on or off the feature.
		By default this feature is turned off.
		Writing "1" to this file enables the use of command duration
		limits for read and write commands in the kernel and turns on
		the feature on the device. Writing "0" disables the feature.
+11 −0
Original line number Diff line number Diff line
@@ -1426,6 +1426,17 @@ Description: This entry shows the status of WriteBooster buffer flushing
		If flushing is enabled, the device executes the flush
		operation when the command queue is empty.

What:		/sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold
What:		/sys/bus/platform/devices/*.ufs/wb_flush_threshold
Date:		June 2023
Contact:	Lu Hongfei <luhongfei@vivo.com>
Description:
		wb_flush_threshold represents the threshold for flushing WriteBooster buffer,
		whose value expressed in unit of 10% granularity, such as '1' representing 10%,
		'2' representing 20%, and so on.
		If avail_wb_buff < wb_flush_threshold, it indicates that WriteBooster buffer needs to
		be flushed, otherwise it is not necessary.

What:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/hpb_version
What:		/sys/bus/platform/devices/*.ufs/device_descriptor/hpb_version
Date:		June 2021
+26 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ properties:
          - qcom,msm8994-ufshc
          - qcom,msm8996-ufshc
          - qcom,msm8998-ufshc
          - qcom,sa8775p-ufshc
          - qcom,sc8280xp-ufshc
          - qcom,sdm845-ufshc
          - qcom,sm6350-ufshc
@@ -70,6 +71,10 @@ properties:
  power-domains:
    maxItems: 1

  qcom,ice:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: phandle to the Inline Crypto Engine node

  reg:
    minItems: 1
    maxItems: 2
@@ -105,6 +110,7 @@ allOf:
          contains:
            enum:
              - qcom,msm8998-ufshc
              - qcom,sa8775p-ufshc
              - qcom,sc8280xp-ufshc
              - qcom,sm8250-ufshc
              - qcom,sm8350-ufshc
@@ -187,6 +193,26 @@ allOf:

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

  - if:
      properties:
        qcom,ice:
          maxItems: 1
    then:
      properties:
        reg:
          maxItems: 1
        clocks:
          minItems: 8
          maxItems: 8
    else:
      properties:
        reg:
          minItems: 2
          maxItems: 2
        clocks:
          minItems: 9
          maxItems: 11

unevaluatedProperties: false

examples:
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ properties:
    const: ufs-phy

  samsung,sysreg:
    $ref: '/schemas/types.yaml#/definitions/phandle-array'
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description: Should be phandle/offset pair. The phandle to the syscon node
                 which indicates the FSYSx sysreg interface and the offset of
                 the control register for UFS io coherency setting.
+1 −0
Original line number Diff line number Diff line
===================
ARECA FIRMWARE SPEC
===================

Loading