Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757210Ab3DSKGL (ORCPT ); Fri, 19 Apr 2013 06:06:11 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34039 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754804Ab3DSKGK (ORCPT ); Fri, 19 Apr 2013 06:06:10 -0400 MIME-Version: 1.0 In-Reply-To: <20130419093953.GD13283@mudshark.cambridge.arm.com> References: <1366264344-28025-1-git-send-email-pranavkumar@linaro.org> <20130419090558.GA13283@mudshark.cambridge.arm.com> <20130419092752.GB13283@mudshark.cambridge.arm.com> <20130419093953.GD13283@mudshark.cambridge.arm.com> From: Peter Maydell Date: Fri, 19 Apr 2013 11:05:47 +0100 Message-ID: Subject: Re: [RFC] arm64: Early printk support for virtio-mmio console devices. To: Will Deacon Cc: Pranavkumar Sawargaonkar , "linaro-kernel@lists.linaro.org" , Patch Tracking , Marc Zyngier , "linux-kernel@vger.kernel.org" , "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 21 On 19 April 2013 10:39, Will Deacon wrote: > The point of mach-virt is that it is completely parameterised. So, if you're > not emulating an 8250, then don't tell the kernel that you have one! > Similarly, if you *do* emulate it, then either create a device-tree node for > it or pass the appropriate earlyprintk= string on the command line. > > As far as kvmtool is concerned, we'd probably have a new command-line option > for arm64, allowing you to specify the early console device. Please make the kernel pick the device out of the device tree blob. The whole point of device tree is that it's how to tell the kernel where things live -- making kvmtool/QEMU and/or the user also have to mess with the kernel command line is awkward and annoying. -- PMM -- 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/