+static void ufshcd_device_lvl_exception_event_handler(struct ufs_hbaWhy is it important to read qDeviceLevelExceptionID immediately?
+*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 can't it be added as part of the standard attributes sysfs ABI,
To be available for read once the exception occurred.