From: Shannon Zhao <shannon.zhao@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Shannon Zhao <zhaoshenglong@huawei.com>,
qemu-arm <qemu-arm@nongnu.org>,
QEMU Developers <qemu-devel@nongnu.org>,
Patch Tracking <patches@linaro.org>,
Shlomo Pongratz <shlomo.pongratz@huawei.com>,
Shlomo Pongratz <shlomopongratz@gmail.com>,
Pavel Fedin <p.fedin@samsung.com>,
Christoffer Dall <christoffer.dall@linaro.org>
Subject: Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation
Date: Thu, 12 May 2016 23:01:29 +0800 [thread overview]
Message-ID: <57349AC9.5070407@linaro.org> (raw)
In-Reply-To: <CAFEAcA8BeETRW_Rm5HwGX6_y6sBez86p5-WYUZoPdin54KoTxw@mail.gmail.com>
On 2016年05月12日 22:35, Peter Maydell wrote:
> On 12 May 2016 at 15:31, Shannon Zhao <shannon.zhao@linaro.org> wrote:
>> > On 2016年05月12日 21:53, Peter Maydell wrote:
>>> >> On 11 May 2016 at 07:51, Shannon Zhao <zhaoshenglong@huawei.com> wrote:
>>>> >>> Hi Peter,
>>>> >>>
>>>> >>> On 2016/5/10 1:29, Peter Maydell wrote:
>>>> >>>
>>>>> >>>> Code review, testing, attempts to run guests other than Linux
>>>>> >>>> welcome (UEFI, anybody?)
>>>> >>> I run a guest with UEFI firmware. It gets stuck when kernel boots:
>>>> >>>
>>>> >>> [ 0.186331] Brought up 1 CPUs
>>>> >>> [ 0.186613] SMP: Total of 1 processors activated.
>>>> >>> [ 0.187976] CPU: All CPU(s) started at EL1
>>>> >>> [ 0.191060] alternatives: patching kernel code
>>>> >>> [ 0.234352] devtmpfs: initialized
>>>> >>> [ 0.273918] SMBIOS 3.0.0 present.
>>>> >>> [ 0.280438] clocksource: jiffies: mask: 0xffffffff max_cycles:
>>>> >>> 0xffffffff, max_idle_ns: 7645041785100000 ns
>>>> >>> [ 0.289983] pinctrl core: initialized pinctrl subsystem
>>>> >>> [ 0.347558] NET: Registered protocol family 16
>>> >>
>>> >> Hmm, this works for me. I'm using the Linaro built UEFI from
>>> >> https://releases.linaro.org/components/kernel/uefi-linaro/15.12/release/qemu64/QEMU_EFI.fd
>>> >> and a 4.4 kernel and a command line
>>> >> ./build/a64-targets-nodbg/aarch64-softmmu/qemu-system-aarch64 -m 1024
>>> >> -M virt,gic-version=3 -cpu cortex-a57 -nographic -kernel
>>> >> ~/test-images/virtv8/Image -bios /tmp/QEMU_EFI.fd -append
>>> >> 'console=ttyAMA0,38400 keep_bootcon root=/dev/vda2'
>>> >>
>> > I wget the UEFI you use from above url and test with below script. It
>> > still hangs.
>> > ./qemu/aarch64-softmmu/qemu-system-aarch64 -smp 1 \
>> > -m 1024 -M virt,gic-version=3 -cpu cortex-a57 -nographic -kernel Image \
>> > -bios QEMU_EFI.fd -append 'console=ttyAMA0 root=/dev/ram
>> > earlycon=pl011,0x9000000 rw'
> Can you put the Image file somewhere I can download it, please?
I just upload it to
http://people.linaro.org/~shannon.zhao/ACPI_ARM/Image
--
Shannon
next prev parent reply other threads:[~2016-05-12 15:01 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 17:29 [Qemu-devel] [PATCH 00/23] GICv3 emulation Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 01/23] migration: Define VMSTATE_UINT64_2DARRAY Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 02/23] bitops.h: Implement half-shuffle and half-unshuffle ops Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 03/23] target-arm: Define new arm_is_el3_or_mon() function Peter Maydell
2016-05-10 13:42 ` Shannon Zhao
2016-05-09 17:29 ` [Qemu-devel] [PATCH 04/23] target-arm: Provide hook to tell GICv3 about changes of security state Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 05/23] target-arm: Add mp-affinity property for ARM CPU class Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 06/23] hw/intc/arm_gicv3: Add state information Peter Maydell
2016-05-19 9:36 ` Shannon Zhao
2016-05-19 9:47 ` Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 07/23] hw/intc/arm_gicv3: Move irq lines into GICv3CPUState structure Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 08/23] hw/intc/arm_gicv3: Add vmstate descriptors Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 09/23] hw/intc/arm_gicv3: ARM GICv3 device framework Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 10/23] hw/intc/arm_gicv3: Implement functions to identify next pending irq Peter Maydell
2016-05-19 12:59 ` Shannon Zhao
2016-05-19 13:21 ` Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 11/23] hw/intc/arm_gicv3: Implement GICv3 distributor registers Peter Maydell
2016-05-13 15:05 ` Shannon Zhao
2016-05-13 15:24 ` Peter Maydell
2016-05-16 8:56 ` Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 12/23] hw/intc/arm_gicv3: Implement GICv3 redistributor registers Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 13/23] hw/intc/arm_gicv3: Wire up distributor and redistributor MMIO regions Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 14/23] hw/intc/arm_gicv3: Implement gicv3_set_irq() Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 15/23] hw/intc/arm_gicv3: Implement GICv3 CPU interface registers Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 16/23] hw/intc/arm_gicv3: Implement gicv3_cpuif_update() Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 17/23] hw/intc/arm_gicv3: Implement CPU i/f SGI generation registers Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 18/23] hw/intc/arm_gicv3: Add IRQ handling CPU interface registers Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 19/23] target-arm/machine.c: Allow user to request GICv3 emulation Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 20/23] target-arm/monitor.c: Advertise emulated GICv3 in capabilities Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 21/23] hw/intc/arm_gicv3: Work around Linux assuming interrupts are group 1 Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 22/23] NOT-FOR-UPSTREAM: kernel: Add definitions for GICv3 attributes Peter Maydell
2016-05-09 17:29 ` [Qemu-devel] [PATCH 23/23] RFC: hw/intc/arm_gicv3_kvm: Implement get/put functions Peter Maydell
2016-05-11 6:51 ` [Qemu-devel] [PATCH 00/23] GICv3 emulation Shannon Zhao
2016-05-12 13:53 ` Peter Maydell
2016-05-12 14:31 ` Shannon Zhao
2016-05-12 14:35 ` Peter Maydell
2016-05-12 15:01 ` Shannon Zhao [this message]
2016-05-12 15:22 ` Peter Maydell
2016-05-13 14:35 ` Shannon Zhao
2016-05-25 14:50 ` Shannon Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57349AC9.5070407@linaro.org \
--to=shannon.zhao@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=p.fedin@samsung.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=shlomo.pongratz@huawei.com \
--cc=shlomopongratz@gmail.com \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).