Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-12-02 Thread Simon Glass
Hi Shantur, On Thu, 23 Nov 2023 at 04:35, Shantur Rathore wrote: > > Hi Simon, > > On Tue, Nov 21, 2023 at 2:17 AM Simon Glass wrote: > > > > Hi Shantur, > > > > On Sun, 19 Nov 2023 at 15:47, Shantur Rathore wrote: > > > > > > Hi Simon, > > > > > > On Sun, Nov 19, 2023 at 7:12 PM Simon Glass w

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-23 Thread Shantur Rathore
Hi Simon, On Tue, Nov 21, 2023 at 2:17 AM Simon Glass wrote: > > Hi Shantur, > > On Sun, 19 Nov 2023 at 15:47, Shantur Rathore wrote: > > > > Hi Simon, > > > > On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote: > > > > > > When a USB device is unbound, it causes any bootflows attached to it to

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-21 Thread Mattijs Korpershoek
Hi Simon, Thank you for your patch. On dim., nov. 19, 2023 at 12:11, Simon Glass wrote: > When a USB device is unbound, it causes any bootflows attached to it to > be removed, via a call to bootdev_clear_bootflows() from > bootdev_pre_unbind(). This obviously makes it impossible to boot the > b

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-20 Thread Simon Glass
Hi Shantur, On Sun, 19 Nov 2023 at 15:47, Shantur Rathore wrote: > > Hi Simon, > > On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote: > > > > When a USB device is unbound, it causes any bootflows attached to it to > > be removed, via a call to bootdev_clear_bootflows() from > > bootdev_pre_unbin

Re: [PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-19 Thread Shantur Rathore
Hi Simon, On Sun, Nov 19, 2023 at 7:12 PM Simon Glass wrote: > > When a USB device is unbound, it causes any bootflows attached to it to > be removed, via a call to bootdev_clear_bootflows() from > bootdev_pre_unbind(). This obviously makes it impossible to boot the > bootflow. > > However, when

[PATCH v5 05/12] usb: Avoid unbinding devices in use by bootflows

2023-11-19 Thread Simon Glass
When a USB device is unbound, it causes any bootflows attached to it to be removed, via a call to bootdev_clear_bootflows() from bootdev_pre_unbind(). This obviously makes it impossible to boot the bootflow. However, when booting a bootflow that relies on USB, usb_stop() is called, which unbinds t