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

From: Rusty Russell
Date: Sun Apr 21 2013 - 21:59:35 EST


Pranavkumar Sawargaonkar <pranavkumar@xxxxxxxxxx> writes:
> On 18 April 2013 12:21, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>>
>> PranavkumarSawargaonkar <pranavkumar@xxxxxxxxxx> writes:
>> > From: Pranavkumar Sawargaonkar <pranavkumar@xxxxxxxxxx>
>> >
>> > 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.

But implementing virtio inside a bootloader has already been done for
coreboot, for example. A bootloader probably wants a virtio block
device, so a console is trivial.

A single writable field for debugging makes sense. Anything more is far
less certain.

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/