[RFC] arm64: Early printk support for virtio-mmio console devices.

Pranavkumar Sawargaonkar pranavkumar at linaro.org
Thu Apr 18 03:32:40 EDT 2013


On 18 April 2013 12:21, Rusty Russell <rusty at rustcorp.com.au> wrote:
>
> PranavkumarSawargaonkar <pranavkumar at linaro.org> writes:
> > From: Pranavkumar Sawargaonkar <pranavkumar at linaro.org>
> >
> > This patch implements early printk support for virtio-mmio console devices without using any hypercalls.
>
> This makes some sense, though not sure that early console *read* makes
> much sense.  I can see the PCI version of this being useful as well.

Read can be useful for "mach-virt" which will have only virtio console
as a console device. Then if someone wants to have UEFI or any other
boot-loader emulation, which expects user to input few things, in that
case read might become handy.
>
>
> The spec definition for this will be interesting, because it can be used
> before the device is initialized (something which is generally
> verboten).
>
> Cheers,
> Rusty.

Thanks,
Pranav



More information about the linux-arm-kernel mailing list