mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Bao D. Nguyen" <quic_nguyenb@quicinc.com>
To: Avri Altman <Avri.Altman@sandisk.com>,
	"quic_cang@quicinc.com" <quic_cang@quicinc.com>,
	"quic_nitirawa@quicinc.com" <quic_nitirawa@quicinc.com>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	"avri.altman@wdc.com" <avri.altman@wdc.com>,
	"peter.wang@mediatek.com" <peter.wang@mediatek.com>,
	"manivannan.sadhasivam@linaro.org"
	<manivannan.sadhasivam@linaro.org>,
	"minwoo.im@samsung.com" <minwoo.im@samsung.com>,
	"adrian.hunter@intel.com" <adrian.hunter@intel.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	Alim Akhtar <alim.akhtar@samsung.com>,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	Keoseong Park <keosung.park@samsung.com>,
	Bean Huo <beanhuo@micron.com>, Al Viro <viro@zeniv.linux.org.uk>,
	Gwendal Grignou <gwendal@chromium.org>,
	"Andrew Halaney" <ahalaney@redhat.com>,
	Eric Biggers <ebiggers@google.com>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [RFC v1 1/1] scsi: ufs: core: Add device level exeption support
Date: Mon, 24 Feb 2025 11:44:25 -0800	[thread overview]
Message-ID: <afffd4d2-0dd7-d81c-bc10-6b4195050495@quicinc.com> (raw)
In-Reply-To: <PH7PR16MB6196948621D2B89F13B4A12BE5C12@PH7PR16MB6196.namprd16.prod.outlook.com>

On 2/22/2025 10:50 PM, Avri Altman wrote:
>> +static void ufshcd_device_lvl_exception_event_handler(struct ufs_hba
>> +*hba) {
>> +	u64 *exception_id;
>> +	int err;
>> +
>> +	hba->dev_lvl_exception_count++;
>> +	exception_id = &hba->dev_lvl_exception_id;
>> +	err = ufshcd_read_device_lvl_exception_id(hba, exception_id);
> Why is it important to read qDeviceLevelExceptionID immediately?
> Why can't it be added as part of the standard attributes sysfs ABI,
> To be available for read once the exception occurred.

We can do that Avri.

Thanks, Bao

      reply	other threads:[~2025-02-24 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-20  1:51 Bao D. Nguyen
2025-02-20 10:01 ` Avri Altman
2025-02-20 18:29   ` Bart Van Assche
2025-02-24 19:43     ` Bao D. Nguyen
2025-02-23  6:50 ` Avri Altman
2025-02-24 19:44   ` Bao D. Nguyen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afffd4d2-0dd7-d81c-bc10-6b4195050495@quicinc.com \
    --to=quic_nguyenb@quicinc.com \
    --cc=Avri.Altman@sandisk.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=adrian.hunter@intel.com \
    --cc=ahalaney@redhat.com \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=beanhuo@micron.com \
    --cc=bvanassche@acm.org \
    --cc=ebiggers@google.com \
    --cc=gwendal@chromium.org \
    --cc=keosung.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=martin.petersen@oracle.com \
    --cc=minwoo.im@samsung.com \
    --cc=peter.wang@mediatek.com \
    --cc=quic_cang@quicinc.com \
    --cc=quic_nitirawa@quicinc.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®