On 06/20/2016 11:32 AM, Benjamin Herrenschmidt wrote:
On Mon, 2016-06-20 at 18:02 +1000, Benjamin Herrenschmidt wrote:
On Mon, 2016-06-20 at 17:08 +1000, Benjamin Herrenschmidt wrote:
That fixed, it dies elsewhere in something related to page faults,
still digging.
Next problem: Darwin kernel assumes DSISR is 0 on a 0x380 exception !
qemu was leaving it to whatever value it had before. Kaboom.
Now it crashes a bit further :-)
Right so it tries to load a MacRISC2 PE because we don't really emulate
a MacRISC4 with U3 etc... and that isn't going to do it any good,
really..
I'm not *actually* sure where MacOS gets itself into a spin, it seems
to be poking at something at 0xf280_0000 which is somewhat odd as this
would be the IO space and we have nothing there afaik, but I am not
enough of a MacOS expert to figure out quite how to track down which
kext it gets into etc...
In any case, the machine we give it is definitely nowhere near a real
G5 and that might be the main reason. More work needed.
I'll still cleanup & submit my current crop of fixes in case somebody
wants to have a look.
Since the patches do get you further along and get us closer to an
actual 970, I guess it's a good idea to actually push them into the tree.
Alex