qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] ppc: regression in 2.7.0-rc3 on rfi/rfid/hrf


From: Mark Cave-Ayland
Subject: Re: [Qemu-ppc] [Qemu-devel] ppc: regression in 2.7.0-rc3 on rfi/rfid/hrfi instructions
Date: Wed, 24 Aug 2016 22:25:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

On 24/08/16 19:39, Hervé Poussineau wrote:

> Hi,
> 
> Following patch regresses Linux boot on PReP machine:
> 
> commit a2e71b28e832346409efc795ecd1f0a2bcb705a3
> Author: Benjamin Herrenschmidt <address@hidden>
> Date:   Tue Jun 21 23:48:46 2016 +0200
> 
>     ppc: Fix rfi/rfid/hrfi/... emulation
> 
>     This reworks emulation of the various "rfi" variants. I removed
>     some masking bits that I couldn't make sense of, the only bit that
>     I am aware we should mask here is POW, the CPU's MSR mask should
>     take care of the rest.
> 
>     This also fixes some problems when running 32-bit userspace under
>     a 64-bit kernel.
> 
>     This patch broke 32bit OpenBIOS when run under a 970 cpu. A fix was
>     proposed here :
> 
>         https://www.coreboot.org/pipermail/openbios/2016-June/009452.html
> 
>     Signed-off-by: Benjamin Herrenschmidt <address@hidden>
>     Reviewed-by: David Gibson <address@hidden>
>     [clg: updated the commit log with the reference of the openbios fix ]
>     Signed-off-by: Cédric Le Goater <address@hidden>
>     [dwg: Remove hunk which disabled rfi on 64-bit CPUS.  The change was
>      correct, but we need to fix OpenBIOS before applying it]
>     Signed-off-by: David Gibson <address@hidden>
> 
> Test case:
> - Download: http://www.juneau-lug.org/zImage.initrd.sandalfoot
> - Run: qemu-system-ppc -M prep -kernel zImage.initrd.sandalfoot
> 
> Firmware starts, loads kernel, but seems to error out just after PS/2
> detection.
> 
> Reverting the commit and fixing the conflict makes it work again, up to
> shell.

I can at least confirm that the v4 patch was applied to OpenBIOS for the
last update:
http://git.qemu.org/?p=openbios.git;a=commit;h=b747b6acc272f6ab839728193042455c9b36e26a.


ATB,

Mark.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]