Re: [PATCH v2 5/5] bus: host: mhi: Need to honor sys_err at power_up state

From: Konrad Dybcio
Date: Thu Jul 10 2025 - 08:48:16 EST


On 7/10/25 10:58 AM, Vivek.Pernamitta@xxxxxxxxxxx wrote:
> From: Vivek Pernamitta <quic_vpernami@xxxxxxxxxxx>
>
> In mhi_sync_power_up() host waits for device to enter in to mission mode
> but SYS_ERR is an valid state, If device sends an SYS_ERR host will bail
> out for wait_event_timeout() as MHI is in error state and if MHI is tear
> downed sys err cant't be serviced and mhi can't be recovered.
>
> If there is any SYS_ERR, sys_err handler needs to process SYS_ERR state
> and queues the next state transition for device to bring in to Mission
> mode, so mhi_sync_power_up() needs to wait for device to enter in to
> mission mode.

This is very difficult to read, please rephrase the commit message

Konrad