[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b67c5c681ce96942c3cc3bd05b8c80d2@localhost>
Date: Thu, 18 Apr 2013 10:51:43 +0200
From: Marc Zyngier <marc.zyngier@....com>
To: Peter Maydell <peter.maydell@...aro.org>
Cc: PranavkumarSawargaonkar <pranavkumar@...aro.org>,
<linaro-kernel@...ts.linaro.org>, <patches@...aro.org>,
<linux-kernel@...r.kernel.org>, <kvmarm@...ts.cs.columbia.edu>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [RFC] arm64: Early printk support for virtio-mmio console devices.
On Thu, 18 Apr 2013 09:30:52 +0100, Peter Maydell
<peter.maydell@...aro.org> wrote:
> On 18 April 2013 07:49, Marc Zyngier <maz@...terjones.org> wrote:
>> If you need an early console, why not simply wire the 8250 emulation in
>> kvmtool to be useable from the MMIO bus? I reckon this would solve your
>> problem in a more elegant way...
>
> The other approach I thought of would be something involving
> defining a hypercall interface for console I/O, in the same
> way that we have hypercalls for "start cpu"/"stop cpu"/etc.
> Is there any mileage in considering that approach, or is it
> a non-starter?
That's always possible, but that becomes architecture dependent, which
means code duplication across architectures. I'd rather use the MMIO
infrastructure, which has some commonalities across the board.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists