From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFtg2-0001Sy-Ca for qemu-devel@nongnu.org; Wed, 22 Jun 2016 21:43:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFtfy-0006gQ-4P for qemu-devel@nongnu.org; Wed, 22 Jun 2016 21:43:29 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:60031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFtfx-0006eM-F5 for qemu-devel@nongnu.org; Wed, 22 Jun 2016 21:43:26 -0400 Message-ID: <576B3E86.4090103@huawei.com> Date: Thu, 23 Jun 2016 09:42:30 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1465915112-29272-1-git-send-email-peter.maydell@linaro.org> <5761178F.60004@huawei.com> <20160615092023.fk2vfowubdk6nhmk@hawk.localdomain> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 00/20] GICv3 emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ed Maste , Peter Maydell Cc: QEMU Developers , Laszlo Ersek , Ard Biesheuvel On 2016/6/23 5:45, Ed Maste wrote: > On 22 June 2016 at 16:53, Peter Maydell wrote: >> >> Yeah, it looks like the same bug is also present in UEFI itself >> (it's super popular!). Laszlo, Ard, do you have a prebuilt >> UEFI binary with Ard's fix? >> >> Probably you'll find that if UEFI is configuring the GIC interrupt >> groups FreeBSD will boot even without doing it itself, I try this with Ard's patch. Looks like UEFI already loader guest kernel not like berfore. But the FreeBSD kernel still hangs. FreeBSD/arm64 EFI loader, Revision 1.1 (root@releng2.nyi.freebsd.org, Sat Jun 11 17:18:43 UTC 2016) Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x704ca8+0x32db74 syms=[0x8+0xda1c0+0x8+0xd6db0] /boot/entropy size=0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x13ffb9000. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-ALPHA3 #0 r301815: Sat Jun 11 17:22:24 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/arm64.aarch64/usr/src/sys/GENERIC arm64 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) WARNING: WITNESS option enabled, expect reduced performance. Thanks, -- Shannon