RE: [PATCH] ufs: core: bsg: Add hibern8 enter/exit to ufshcd_send_bsg_uic_cmd

From: Arthur Simchaev
Date: Fri Mar 07 2025 - 04:18:49 EST




> -----Original Message-----
> From: Bean Huo <huobean@xxxxxxxxx>
> Sent: Thursday, March 6, 2025 2:50 PM
> To: Arthur Simchaev <Arthur.Simchaev@xxxxxxxxxxx>;
> martin.petersen@xxxxxxxxxx; quic_mapa@xxxxxxxxxxx;
> quic_cang@xxxxxxxxxxx
> Cc: Avri Altman <Avri.Altman@xxxxxxxxxxx>; Avi Shchislowski
> <Avi.Shchislowski@xxxxxxxxxxx>; linux-scsi@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; bvanassche@xxxxxxx
> Subject: Re: [PATCH] ufs: core: bsg: Add hibern8 enter/exit to
> ufshcd_send_bsg_uic_cmd
>
>
> Arthur,
>
> At present, we lack a user-space tool to initiate eye monitor measurements.
> Additionally, opening a channel for users in user land to send MP commands
> seems unsafe.
>
>
> Kind regards,
> Bean
>

Hi Bean.

Actually, the EOM tool was published two months ago
See the mail from Can Guo. The patch simply extends the UIC debugging functionality from user space.
I think it is quite safe to use hibern8 functionality for debugging purposes.

Regards
Arthur