Re: [PATCH] scsi: ufs: core: Add debugfs for PA TFS/FEC error counters
From: Peter Wang
Date: Mon Nov 23 2026 - 04:16:36 EST
On Mon, 2026-11-23 at 10:57 +0800, Po-Wen Kao wrote:
> Because ufs_debugfs_hba_init() runs before hba->ufs_version and the
> device descriptor are probed, support is checked at access time
> (attached device W-LUN, UFSHCI >= 5.0, UFS device >= 5.0 for peer
> entries, and UFSHCD_STATE_OPERATIONAL under host_sem). Positive
> UniPro
Hi Brian,
Have you considered moving ufs_debugfs_hba_init() to after
device init (i.e. once hba->ufs_version and the device
descriptor are available)?
Thanks
Peter