]> xenbits.xensource.com Git - qemu-xen.git/commit
linux-user: ppc64: set MSR_CM bit for BookE 2.06 MMU
authorMichael Walle <michael@walle.cc>
Fri, 22 Jul 2016 15:18:05 +0000 (17:18 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 21 Sep 2016 18:42:11 +0000 (21:42 +0300)
commitc836112997e19966565cd6eb68e0836c8972720b
tree1fa7d09cae2e6fda8e0e2fcc9993dff97ed44c2c
parentee8e76141b4dd00f8e97fda274876a17f9a46bbe
linux-user: ppc64: set MSR_CM bit for BookE 2.06 MMU

64 bit user mode doesn't work for the e5500 core because the MSR_CM bit is
not set which enables the 64 bit mode for this MMU model. Memory addresses
are truncated to 32 bit, which results in "Invalid data memory access"
error messages. Fix it by setting the MSR_CM bit for this MMU model.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/main.c