On 2016年05月12日 23:22, Peter Maydell wrote:
> On 12 May 2016 at 16:01, Shannon Zhao <shannon.z...@linaro.org> 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

Reply via email to