[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ? |
Date: |
Sun, 24 Jul 2016 22:51:37 +1000 |
On Sun, 2016-07-24 at 22:42 +1000, Benjamin Herrenschmidt wrote:
>
> What *did* work was to copy what x86 does, which is to change my
> helper_stvebx() to not use cpu_stb_data at all, but instead use
> cpu_stb_data_ra(...., GETPC()), which mimmics what x86 does for some
> of
> it's helpers.
>
> That fixed the specific problem I was chasing.
>
> However, there are a ton of other helpers, in powerpc, s390 and other
> archs, doing that cpu_stb_data() the same way we do, so I really
> wonder
> what's going on here.
>
> Some advice would be very much appreciated ;-)
FYI: This probably completely wrong patch (but it was easier than
hacking all the helpers) fixed the problem for me. With this (and the
video driver I wrote that I will publish asap), I can now reliably boot
various versions of MacOS X in qemu ppc using a 7400 CPU.
Cheers,
Ben.
- [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/24
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?,
Benjamin Herrenschmidt <=
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/24
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Richard Henderson, 2016/07/24
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/24
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/24
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Richard Henderson, 2016/07/25
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/25
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Peter Maydell, 2016/07/25
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/25
- Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Benjamin Herrenschmidt, 2016/07/25
Re: [Qemu-devel] TCG problem with cpu_{st,ld}x_data ?, Richard Henderson, 2016/07/24