On 20.06.16 09:08, Benjamin Herrenschmidt wrote: > On Mon, 2016-06-20 at 08:35 +1000, Benjamin Herrenschmidt wrote: >> , >> Ok so Darwin uses some of the HSPRG etc... that we don't emulate on >> the 970 so I suspect it never worked. I've added them but something >> else breaks, I'll dig, I have the kernel source so it shouldn't be >> too hard >> ;-) > > Well, it ended up being harder than I thought. In fact I'm not there > yet ! So the Darwin VM layer dies early because HID5 isn't set > properly, thus dcbz is doing 128 bytes clear instead of 32, clobbering > things. > > It looks like Apple's kernel doesn't set the right default in HID5, so > we have to either do it in openbios or in qemu. Alex, what did you find
Uh, I'm fairy sure XNU sets HID5. > out back in the day ? Or you never bothered running a 64-bit MacOS > under PR KVM ? I don't think I ever had 64bit Mac OS X working in TCG or KVM :). Alex > That fixed, it dies elsewhere in something related to page faults, > still digging. > > Cheers, > Ben. >