Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966752Ab3DRIvs (ORCPT ); Thu, 18 Apr 2013 04:51:48 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:38223 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966221Ab3DRIvq (ORCPT ); Thu, 18 Apr 2013 04:51:46 -0400 To: Peter Maydell Subject: Re: [RFC] arm64: Early printk support for virtio-mmio console devices. X-PHP-Originating-Script: 0:func.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Thu, 18 Apr 2013 10:51:43 +0200 From: Marc Zyngier Cc: PranavkumarSawargaonkar , , , , , Organization: ARM Ltd In-Reply-To: References: <1366264344-28025-1-git-send-email-pranavkumar@linaro.org> Message-ID: User-Agent: RoundCube Webmail/0.3.1 X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: peter.maydell@linaro.org, pranavkumar@linaro.org, linaro-kernel@lists.linaro.org, patches@linaro.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on inca-roads.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1105 Lines: 25 On Thu, 18 Apr 2013 09:30:52 +0100, Peter Maydell wrote: > On 18 April 2013 07:49, Marc Zyngier 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/