On Sun, 28 Mar 2021 21:12:22 +0800 Xueming Li <xuemi...@nvidia.com> wrote:
> When parsing EAL allowed or blocked device arguments, only device bus > being parsed got default scan mode updated. If the devargs was vdev, PCI > bus default scan mode not touched, all PCI bus devices will got probed > even none appear in allowed list. > > This patch update all buses default scan mode when parsing first > devargs. > > Signed-off-by: Xueming Li <xuemi...@nvidia.com> Looking back at this old patch, and wondering why it never got applied. Probably because it wasn't clear the exact problem. It does raise the issue that scan_mode is currently a property of the bus, not global. This patch would cause setting of allowed list for PCI to also impact other bus types. That doesn't follow current practice. If you want to resubmit, make it per bus.