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

2023-11-15 Thread Simon Glass
Hi Heinrich, On Wed, 15 Nov 2023 at 19:06, Heinrich Schuchardt wrote: > > On 11/16/23 02:42, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 15 Nov 2023 at 18:34, Heinrich Schuchardt > > wrote: > >> > >> On 11/15/23 17:23, Heinrich Schuchardt wrote: > >>> On 11/15/23 16:50, Simon Glass

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

2023-11-15 Thread Heinrich Schuchardt
On 11/16/23 02:42, Simon Glass wrote: Hi Heinrich, On Wed, 15 Nov 2023 at 18:34, Heinrich Schuchardt wrote: On 11/15/23 17:23, Heinrich Schuchardt wrote: On 11/15/23 16:50, Simon Glass wrote: Hi Heinrich, On Sun, 12 Nov 2023 at 16:35, Heinrich Schuchardt wrote: Am 12. November 2023

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

2023-11-15 Thread Simon Glass
Hi Heinrich, On Wed, 15 Nov 2023 at 18:34, Heinrich Schuchardt wrote: > > On 11/15/23 17:23, Heinrich Schuchardt wrote: > > On 11/15/23 16:50, Simon Glass wrote: > >> Hi Heinrich, > >> > >> On Sun, 12 Nov 2023 at 16:35, Heinrich Schuchardt > >> wrote: > >>> > >>> > >>> > >>> Am 12. November

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

2023-11-15 Thread Heinrich Schuchardt
On 11/15/23 17:23, Heinrich Schuchardt wrote: On 11/15/23 16:50, Simon Glass wrote: Hi Heinrich, On Sun, 12 Nov 2023 at 16:35, Heinrich Schuchardt wrote: Am 12. November 2023 22:20:50 MEZ schrieb Simon Glass : Hi Heinrich, On Sun, 12 Nov 2023 at 13:32, Heinrich Schuchardt wrote: Am

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

2023-11-15 Thread Heinrich Schuchardt
On 11/15/23 16:50, Simon Glass wrote: Hi Heinrich, On Sun, 12 Nov 2023 at 16:35, Heinrich Schuchardt wrote: Am 12. November 2023 22:20:50 MEZ schrieb Simon Glass : Hi Heinrich, On Sun, 12 Nov 2023 at 13:32, Heinrich Schuchardt wrote: Am 12. November 2023 21:02:42 MEZ schrieb Simon

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

2023-11-15 Thread Simon Glass
Hi Heinrich, On Sun, 12 Nov 2023 at 16:35, Heinrich Schuchardt wrote: > > > > Am 12. November 2023 22:20:50 MEZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Sun, 12 Nov 2023 at 13:32, Heinrich Schuchardt wrote: > >> > >> > >> > >> Am 12. November 2023 21:02:42 MEZ schrieb Simon Glass : > >>

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

2023-11-15 Thread Shantur Rathore
On Sun, Nov 12, 2023 at 8:04 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 booting a

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

2023-11-12 Thread Heinrich Schuchardt
Am 12. November 2023 22:20:50 MEZ schrieb Simon Glass : >Hi Heinrich, > >On Sun, 12 Nov 2023 at 13:32, Heinrich Schuchardt wrote: >> >> >> >> Am 12. November 2023 21:02:42 MEZ schrieb Simon Glass : >> >When a USB device is unbound, it causes any bootflows attached to it to >> >be removed, via

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

2023-11-12 Thread Simon Glass
Hi Heinrich, On Sun, 12 Nov 2023 at 13:32, Heinrich Schuchardt wrote: > > > > Am 12. November 2023 21:02:42 MEZ schrieb 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().

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

2023-11-12 Thread Heinrich Schuchardt
Am 12. November 2023 21:02:42 MEZ schrieb 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

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

2023-11-12 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