On Fri, 2013-09-27 at 02:31 +0200, Laszlo Ersek wrote:
> Hi Mark,
> 
> just my 2 cents:
> 
> On 09/26/13 21:33, Mark Salter wrote:
> > I've been trying out this patch series on AArch64 foundation model.
> > I have UEFI booting a linux kernel image in an EFI system partition.
> > But the kernel itself doesn't see the virtio device. If I boot with
> > an UEFI image without virtio support built in, the same kernel does
> > see the virtio disk device.
> > 
> > So, could this be a case of the UEFI virtio driver not releasing the
> > virtio device?
> 
> Interesting. We'd only know for sure if we debugged into the kernel
> ("drivers/virtio/virtio_mmio.c" more precisely).

Well, the virtio_blk probe fails with error of -ENOENT. I tracked that
down to vm_setup_vq() in virtio_mmio.c:

        /* Queue shouldn't already be set up. */
        if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
                err = -ENOENT;
                goto error_available;
        }

--Mark



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to