Commit 2e3fcbcc authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull SCSI updates from James Bottomley:
 "Updates to the usual drivers (scsi_debug, ufs, lpfc, st, fnic, mpi3mr,
  mpt3sas) and the removal of cxlflash.

  The only non-trivial core change is an addition to unit attention
  handling to recognize UAs for power on/reset and new media so the tape
  driver can use it"

* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (107 commits)
  scsi: st: Tighten the page format heuristics with MODE SELECT
  scsi: st: ERASE does not change tape location
  scsi: st: Fix array overflow in st_setup()
  scsi: target: tcm_loop: Fix wrong abort tag
  scsi: lpfc: Restore clearing of NLP_UNREG_INP in ndlp->nlp_flag
  scsi: hisi_sas: Fixed failure to issue vendor specific commands
  scsi: fnic: Remove unnecessary NUL-terminations
  scsi: fnic: Remove redundant flush_workqueue() calls
  scsi: core: Use a switch statement when attaching VPD pages
  scsi: ufs: renesas: Add initialization code for R-Car S4-8 ES1.2
  scsi: ufs: renesas: Add reusable functions
  scsi: ufs: renesas: Refactor 0x10ad/0x10af PHY settings
  scsi: ufs: renesas: Remove register control helper function
  scsi: ufs: renesas: Add register read to remove save/set/restore
  scsi: ufs: renesas: Replace init data by init code
  scsi: ufs: dt-bindings: renesas,ufs: Add calibration data
  scsi: mpi3mr: Task Abort EH Support
  scsi: storvsc: Don't report the host packet status as the hv status
  scsi: isci: Make most module parameters static
  scsi: megaraid_sas: Make most module parameters static
  ...
parents 22093997 8db816c6
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
@@ -1559,3 +1559,48 @@ Description:
		Symbol - HCMID. This file shows the UFSHCD manufacturer id.
		The Manufacturer ID is defined by JEDEC in JEDEC-JEP106.
		The file is read only.

What:		/sys/bus/platform/drivers/ufshcd/*/critical_health
What:		/sys/bus/platform/devices/*.ufs/critical_health
Date:		February 2025
Contact:	Avri Altman <avri.altman@wdc.com>
Description:	Report the number of times a critical health event has been
		reported by a UFS device. Further insight into the specific
		issue can be gained by reading one of: bPreEOLInfo,
		bDeviceLifeTimeEstA, bDeviceLifeTimeEstB,
		bWriteBoosterBufferLifeTimeEst, and bRPMBLifeTimeEst.

		The file is read only.

What:		/sys/bus/platform/drivers/ufshcd/*/clkscale_enable
What:		/sys/bus/platform/devices/*.ufs/clkscale_enable
Date:		January 2025
Contact:	Ziqi Chen <quic_ziqichen@quicinc.com>
Description:
		This attribute shows whether the UFS clock scaling is enabled or not.
		And it can be used to enable/disable the clock scaling by writing
		1 or 0 to this attribute.

		The attribute is read/write.

What:		/sys/bus/platform/drivers/ufshcd/*/clkgate_enable
What:		/sys/bus/platform/devices/*.ufs/clkgate_enable
Date:		January 2025
Contact:	Ziqi Chen <quic_ziqichen@quicinc.com>
Description:
		This attribute shows whether the UFS clock gating is enabled or not.
		And it can be used to enable/disable the clock gating by writing
		1 or 0 to this attribute.

		The attribute is read/write.

What:		/sys/bus/platform/drivers/ufshcd/*/clkgate_delay_ms
What:		/sys/bus/platform/devices/*.ufs/clkgate_delay_ms
Date:		January 2025
Contact:	Ziqi Chen <quic_ziqichen@quicinc.com>
Description:
		This attribute shows and sets the number of milliseconds of idle time
		before the UFS driver starts to perform clock gating. This can
		prevent the UFS from frequently performing clock gating/ungating.

		The attribute is read/write.
+0 −433

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ powerpc
    cpu_families
    cpu_features
    cxl
    cxlflash
    dawr-power9
    dexcr
    dscr
+12 −0
Original line number Diff line number Diff line
@@ -33,6 +33,16 @@ properties:
  resets:
    maxItems: 1

  nvmem-cells:
    maxItems: 1

  nvmem-cell-names:
    items:
      - const: calibration

dependencies:
  nvmem-cells: [ nvmem-cell-names ]

required:
  - compatible
  - reg
@@ -58,4 +68,6 @@ examples:
        freq-table-hz = <200000000 200000000>, <38400000 38400000>;
        power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
        resets = <&cpg 1514>;
        nvmem-cells = <&ufs_tune>;
        nvmem-cell-names = "calibration";
    };
+105 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading