Re: [PATCH] staging: greybus: bootrom: power off module on timeout
From: Greg KH
Date: Sat Jul 04 2026 - 03:37:56 EST
On Sat, Jul 04, 2026 at 12:49:26PM +0530, adi25charis@xxxxxxxxx wrote:
> From: Aditya Chari S <adi25charis@xxxxxxxxx>
>
> Previously, when a firmware size request, get firmware request, or
> ready-to-boot request from a module timed out, the driver would log
> an error and free any firmware buffer, but left the module powered
> on in a potentially inconsistent state.
>
> Fix this by ejecting the module's interface via the SVC when a
> timeout occurs, forcing it to be power-cycled and re-detected rather
> than left in limbo.
>
> Signed-off-by: Aditya Chari S <adi25charis@xxxxxxxxx>
> ---
> drivers/staging/greybus/bootrom.c | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
Cool, but how was this tested? What hardware needs this?
thanks,
greg k-h