[PATCH v6] ufs: core: Add HID support

Bart Van Assche bvanassche at acm.org
Tue May 27 14:38:00 PDT 2025


On 5/22/25 11:46 PM, Huan Tang wrote:
> Follow JESD220G, support HID(Host Initiated Defragmentation)
> through sysfs, the relevant sysfs nodes are as follows:
> 	1.analysis_trigger
> 	2.defrag_trigger
> 	3.fragmented_size
> 	4.defrag_size
> 	5.progress_ratio
> 	6.state
> The detailed definition	of the six nodes can be	found in the sysfs
> documentation.
> 
> HID's execution policy is given to user-space.
> 
> Signed-off-by: Huan Tang <tanghuan at vivo.com>
> Signed-off-by: Wenxing Cheng <wenxing.cheng at vivo.com>
> Suggested-by: Bart Van Assche <bvanassche at acm.org>
> Reviewed-by: Peter Wang <peter.wang at mediatek.com>
> Reviewed-by: Bean Huo <huobean at gmail.com>

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the linux-arm-kernel mailing list