[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6cc97521-aba1-439b-9c06-a5a06adea498@acm.org>
Date: Fri, 21 Mar 2025 09:31:54 -0700
From: Bart Van Assche <bvanassche@....org>
To: "Bao D. Nguyen" <quic_nguyenb@...cinc.com>, quic_cang@...cinc.com,
quic_nitirawa@...cinc.com, avri.altman@....com, peter.wang@...iatek.com,
manivannan.sadhasivam@...aro.org, minwoo.im@...sung.com,
adrian.hunter@...el.com, martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, Alim Akhtar <alim.akhtar@...sung.com>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Bean Huo <beanhuo@...ron.com>, Keoseong Park <keosung.park@...sung.com>,
Ziqi Chen <quic_ziqichen@...cinc.com>, Al Viro <viro@...iv.linux.org.uk>,
Gwendal Grignou <gwendal@...omium.org>, Eric Biggers <ebiggers@...gle.com>,
open list <linux-kernel@...r.kernel.org>,
"moderated list:ARM/Mediatek SoC support:Keyword:mediatek"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support:Keyword:mediatek"
<linux-mediatek@...ts.infradead.org>
Subject: Re: [PATCH v4 1/1] scsi: ufs: core: add device level exception
support
On 3/20/25 8:18 PM, Bao D. Nguyen wrote:
> The ufs device JEDEC specification version 4.1 adds support for the
> device level exception events. To support this new device level
> exception feature, expose two new sysfs nodes below to provide
> the user space access to the device level exception information.
> /sys/bus/platform/drivers/ufshcd/*/device_lvl_exception_count
> /sys/bus/platform/drivers/ufshcd/*/device_lvl_exception_id
>
> The device_lvl_exception_count sysfs node reports the number of
> device level exceptions that have occurred since the last time
> this variable is reset. Writing a value of 0 will reset it.
> The device_lvl_exception_id reports the exception ID which is the
> qDeviceLevelExceptionID attribute of the device JEDEC specifications
> version 4.1 and later. The user space application can query these
> sysfs nodes to get more information about the device level exception.
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists