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

From: Marc Zyngier
Date: Thu Apr 18 2013 - 11:59:58 EST


On Thu, 18 Apr 2013 11:25:56 -0400, Christopher Covington
<cov@xxxxxxxxxxxxxx> wrote:
> Hi Pranavkumar,
>
> On 04/18/2013 01:52 AM, PranavkumarSawargaonkar wrote:
>> From: Pranavkumar Sawargaonkar <pranavkumar@xxxxxxxxxx>
>>
>> This patch implements early printk support for virtio-mmio console
>> devices
>> without using any hypercalls.
>
> Is it possible that using DCC might be an easier solution?

You would end up with the exact same problem as with a hypercall based
solution: once you're in the hypervisor, what do you do with the data? You
end up having to invent another channel to forward it down to your platform
emulation in order to have it printed where the user expects it.

Using a MMIO based solution is probably the best solution, as it uses the
existing infrastructure.

M.
--
Fast, cheap, reliable. Pick two.
--
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/