Hello Bruce, On Thu, 5 Mar 2026 at 18:30, Bruce Richardson <[email protected]> wrote: > > On Thu, Mar 05, 2026 at 05:45:48PM +0100, David Marchand wrote: > > All buses (thankfully) implement the same logic when it comes to > > selecting the devices to probe based on -a/-b options. > > As we want to adjust how devices are selected, provide a common helper > > in EAL and use it in the buses. > > > > Signed-off-by: David Marchand <[email protected]> > > --- > > Acked-by: Bruce Richardson <[email protected]> > > I was going to suggest that we avoid having a per-bus scan mode, but then I > realised after looking that the final patch in this series that that won't > work for vdev bus which can't use auto-probing.
I also think we don't need the per-bus mode. I don't understand why it was added in the first place. The vdev bus does not consider the bus scan mode, so the current behavior would not be broken if we removed it. >From a user pov (even before this series), -a/-b are mutually exclusive and --vdev lives in parallel. I'll see if it is as easy as I think and I have a try for the non RFC series for 26.07. -- David Marchand

