On 20.05.2011, at 05:34, David Gibson wrote:
On Thu, May 19, 2011 at 10:25:04AM +0200, Andreas Färber wrote:
QEMU HEAD still uses a 32-bit binary for both 32-bit and 64-bit. That one uses mtsrin so will need the compatibility, it seemed affected, too.
OpenBIOS SVN HEAD (blob) uses slb* as linked to. We're in the preparation of 1.1 and I need to test it before we can update the QEMU binary. ;)
Sorry for top-posting, Android sucks.
So, my theory was half right. It was a problem with 64-bit mtsr emulation, but it wasn't that I just removed that code with the SLB cleanup. The code was still there and *almost* right. I was off by one in one shift, causing the storage key bits to end up in the wrong place in the SLB entry. I'll send out the patch right after I've sent this mail.
Thanks a lot for tracking it down you two :)
Alex