[PATCH v2 02/14] qemu: arm: Initialise virtio in board_late_init

2020-12-21 Thread Sughosh Ganu
On the qemu arm platform, the virtio devices are initialised in board_init, which gets called before the initr_pci. With this, the virtio block devices on the pci bus are not initialised. Move the initialisation of virtio devices to board_late_init which gets called after the call to initr_pci. Si

Re: [PATCH v2 02/14] qemu: arm: Initialise virtio in board_late_init

2020-12-21 Thread Heinrich Schuchardt
On 12/21/20 12:43 PM, Sughosh Ganu wrote: On the qemu arm platform, the virtio devices are initialised in board_init, which gets called before the initr_pci. With this, the virtio block devices on the pci bus are not initialised. Move the initialisation of virtio devices to board_late_init which

Re: [PATCH v2 02/14] qemu: arm: Initialise virtio in board_late_init

2020-12-21 Thread Heinrich Schuchardt
On 12/21/20 1:19 PM, Heinrich Schuchardt wrote: On 12/21/20 12:43 PM, Sughosh Ganu wrote: On the qemu arm platform, the virtio devices are initialised in board_init, which gets called before the initr_pci. With this, the virtio block devices on the pci bus are not initialised. Move the initialis

Re: [PATCH v2 02/14] qemu: arm: Initialise virtio in board_late_init

2020-12-21 Thread Sughosh Ganu
On Mon, 21 Dec 2020 at 18:21, Heinrich Schuchardt wrote: > On 12/21/20 1:19 PM, Heinrich Schuchardt wrote: > > On 12/21/20 12:43 PM, Sughosh Ganu wrote: > >> On the qemu arm platform, the virtio devices are initialised in > >> board_init, which gets called before the initr_pci. With this, the > >