Re: [RFC v1 1/1] scsi: ufs: core: Add device level exeption support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux