[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation
From: |
Shannon Zhao |
Subject: |
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation |
Date: |
Fri, 13 May 2016 22:35:39 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 2016年05月12日 23:22, Peter Maydell wrote:
> On 12 May 2016 at 16:01, Shannon Zhao <address@hidden> wrote:
>> On 2016年05月12日 22:35, Peter Maydell wrote:
>>> 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
>
> OK, I can reproduce with that, and I think I know what this is.
> If we boot a "-bios" image then we don't apply the QEMU workaround
> for booting buggy Linux images which puts all the interrupts into
> Group 1, and it looks like a no-TZ-support UEFI doesn't
> configure the interrupt groups either. So Linux ends up hanging
> because the interrupt is group 0 but group 0 is disabled.
>
> If you apply this patch to your guest kernel you should find
> it boots OK I think:
> https://lkml.org/lkml/2016/5/10/297
>
Yeah, it boots OK with this patch.
> (I'm not sure why the images I was running worked OK; I must
> have been testing with an image that had that bugfix in it,
> though I could have sworn I wasn't.)
>
> I don't really want to apply the QEMU workaround when we're
> booting firmware images as well as raw kernels, but on the
> other hand via-UEFI is kind of supposed to be the normal way
> to boot in future. Perhaps we should drop the QEMU workaround
> altogether, putting everybody on the same playing field...
>
Maybe and if people want to use old kernels, they could use the stable
kernel after the kernel patch applied.
Thanks,
--
Shannon
- [Qemu-devel] [PATCH 09/23] hw/intc/arm_gicv3: ARM GICv3 device framework, (continued)
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation, Shannon Zhao, 2016/05/25