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

Pranavkumar Sawargaonkar pranavkumar at linaro.org
Fri Apr 19 05:34:56 EDT 2013


On 19 April 2013 15:00, Peter Maydell <peter.maydell at linaro.org> wrote:
> On 19 April 2013 10:27, Will Deacon <will.deacon at arm.com> wrote:
>> On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote:
>>> I am not against using 8250 emulation (as far as it solves printk
>>> issues for kernel booting logs), but my point is why not to add early
>>> read-write support for virtio console, which also can be useful in
>>> emulation less mach-virt environment also ?
>>
>> We can have both, but only one of those requires a change to the virtio
>> specification.
>
> I don't think avoiding writing a spec is necessarily a good reason
> for insisting on emulation of a lump of hardware 95% of whose
> capabilities you aren't going to use...

True.
Also 8250 will require emulation of registers, and i am not sure about
if mach-virt will have any emulation of real hw ?

Thanks,
Pranav

>
> -- PMM



More information about the linux-arm-kernel mailing list