Re: [PATCH v2] riscv: Move virtio scan to board_late_init()

2024-03-28 Thread Leo Liang
On Thu, Mar 28, 2024 at 10:58:24AM +0100, Łukasz Stelmach wrote: > [EXTERNAL MAIL] > > When virtio_init() gets called from board_init() PCI isn't ready. Thus, > virtio-over-PCI (e.g. network interfaces) devices can't be detected and > used without additional `virtio scan` scan in the shell or a sc

[PATCH v2] riscv: Move virtio scan to board_late_init()

2024-03-28 Thread Łukasz Stelmach
When virtio_init() gets called from board_init() PCI isn't ready. Thus, virtio-over-PCI (e.g. network interfaces) devices can't be detected and used without additional `virtio scan` scan in the shell or a script. Signed-off-by: Łukasz Stelmach --- Changes since v1: - remove virtio_init() call fr