From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: kvm enable over cortex-a53? Date: Tue, 03 Jun 2014 10:11:03 +0100 Message-ID: <87tx82z7bs.fsf@approximate.cambridge.arm.com> References: <538C4366.8060201@arm.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Christoffer Dall , "kvm\@vger.kernel.org" , "kvmarm\@lists.cs.columbia.edu" To: Lei Wen Return-path: Received: from fw-tnat.austin.arm.com ([217.140.110.23]:36296 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751201AbaFCJLH (ORCPT ); Tue, 3 Jun 2014 05:11:07 -0400 In-Reply-To: (Lei Wen's message of "Tue, 3 Jun 2014 03:14:33 +0100") Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jun 03 2014 at 3:14:33 am BST, Lei Wen wrote: > Hi Marc, > > On Mon, Jun 2, 2014 at 5:27 PM, Marc Zyngier wrote: >> kvmtool tells you where the console lives (it is one of the virtio-mmio >> devices that it prints out when it starts). The address you quote >> (assuming that this is an IPA) doesn't seem to have anything to do with >> anything kvmtool emulates. Pretty sure your kernel is trying to poke at >> some area without parsing the device tree... > > Do you have any suggestion for how to debug it?... I suggest you start with a very simple guest kernel config (only virtio drivers), no additional stuff. My gut feeling is that you have stuff in your 3.10 kernel that shouldn't be there. Your best bet would probably to use a recent tree for your guests. > Would kvmtool auto load the device tree, or shall I put the device > tree binary into somewhere? kvmtool generates the device tree based on what option you give it. >>> BTW, my lkvm tool is from: >>> https://github.com/virtualopensystems/linux-kvm-arm.git >>> with some modification to add cortex-a53 support. >> >> What is wrong with *mainline* kvmtool? > > The kvmtool seems not mainline yet? Am I wrong? Mainline in this case means in Pekka Enberg's tree (he is the kvmtool maintainer). > I also try below git, but nothing different... > http://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git This is Will Deacon's staging tree, not the mainline tree. The real thing is at: git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git kvmtool/next M. -- Jazz is not dead. It just smells funny.