RE: [PATCH v1 1/1] scsi: ufs: core: add device level exception support

From: Avri Altman
Date: Fri Mar 14 2025 - 03:10:03 EST


> >> +    if (status & hba->ee_drv_mask & MASK_EE_DEV_LVL_EXCEPTION) {
> >> +        hba->dev_lvl_exception_count++;
> >> +        sysfs_notify(&hba->dev->kobj, NULL, "device_lvl_exception");
> >> +    }
> >
> > sysfs_notify() may sleep and hence must not be called from an
> > interrupt handler.
> I will look into this.
ufshcd_exception_event_handler is a worker.

Thanks,
Avri
>
> Thanks, Bao
>
> >
> > Thanks,
> >
> > Bart.