From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:32779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqj4l-0001R0-Ma for qemu-devel@nongnu.org; Fri, 27 Jan 2012 05:30:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rqj4h-0006FC-8V for qemu-devel@nongnu.org; Fri, 27 Jan 2012 05:30:35 -0500 Received: from service88.mimecast.com ([195.130.217.12]:45870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqj4g-0006EL-UT for qemu-devel@nongnu.org; Fri, 27 Jan 2012 05:30:31 -0500 Message-ID: <4F227C5D.1070005@arm.com> Date: Fri, 27 Jan 2012 10:28:45 +0000 From: Marc Zyngier MIME-Version: 1.0 References: <1326487969-12462-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Android-virt] [PATCH 00/12] Add support for Cortex-A15 and vexpress-a15 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Christoffer Dall , "qemu-devel@nongnu.org" , "android-virt@lists.cs.columbia.edu" , "patches@linaro.org" On 17/01/12 19:08, Peter Maydell wrote: > On 15 January 2012 22:56, Christoffer Dall wrote: >> On Fri, Jan 13, 2012 at 3:57 PM, Peter Maydell wrote: >>> PPS: these patches are against qemu-master so for kvm you'd need >>> to (a) rebase them on qemu-linaro (b) put the kvm patches on top >>> of these (c) wait for me to do a. for you ;-) >> >> ok, I'll test this with the most recent KVM changes soon and also look >> forward for your merge... :) >=20 > vexpress-a15 now in qemu-linaro git tree. However it doesn't boot under > KVM: >=20 > root@LinaroE102767:~# /usr/local/bin/qemu-system-arm -enable-kvm > -kernel /a15-no-lpae-uImage -m 128 -serial stdio -drive > if=3Dsd,file=3D/maz/vex > press.img -M vexpress-a15 -display none -append "console=3DttyAMA0 > earlyprintk rootwait mem=3D128M root=3D/dev/mmcblk0p2 rw --debug" > Uncompressing Linux... done, booting the kernel. > Booting Linux on physical CPU 0 > Linux version 3.1.0+ (petmay01@LinaroE102767) (gcc version 4.6.1 > (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #19 SMP Fri Jan 13 12:23:22 GMT 2012 > CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=3D10c5387f > CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache > Machine: ARM-Versatile Express > SoC: ARM VE Platform > bootconsole [earlycon0] enabled > Memory policy: ECC disabled, Data cache writealloc > error: kvm run failed Invalid argument > Aborted >=20 > Under TCG the next thing printed is > ct_ca15x4_init_cpu_map: ncores 1 > Architected timer frequency not available > sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms >=20 > ...possibly the kernel side needs to implement the A15 L2 cache control > register, which is where the guest kernel picks up the number of cores > from; see patch 10 for the TCG version. I've pushed a new branch (kvm-v3.3-rc1) to my arm-platforms repo. It contains a fix (or shall we call it a horrible hack?) for the above. =09M. --=20 Jazz is not dead. It just smells funny...