Re: [PATCH v3 0/3] scsi: ufs: core: Add debugfs for PA TFS/FEC error counters
From: Peter Wang
Date: Thu Nov 26 2026 - 01:27:11 EST
On Wed, 2026-11-25 at 19:33 +0800, Po-Wen Kao wrote:
> From: Brian Kao <powenkao@xxxxxxxxxx>
>
> This series exposes the MIPI UniPro v3.0 PA layer TFS/FEC error
> counters (0x15C3-0x15C7) under debugfs:
>
> /sys/kernel/debug/ufshcd/<dev>/pa_err_stats/{host,device}/
>
> Patch 1 fixes an existing teardown race by removing debugfs and
> disabling debugfs_ee_work before scsi_remove_host() removes the WLUN.
> Patch 2 defers debugfs creation until after device init while keeping
> debugfs_ee_work initialization before IRQs are enabled. Patch 3 adds
> the PA_TFS_* and UniPro 2.0/3.0 definitions and creates
> pa_err_stats/{host,device}/ based on PA_LOCALVERINFO /
> PA_REMOTEVERINFO.
>
Hi Brian,
The series looks good to me.
Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>