aboutsummaryrefslogtreecommitdiff
path: root/numa.c
diff options
context:
space:
mode:
authorKurban Mallachiev <mallachiev@ispras.ru>2017-11-29 19:22:19 +0300
committerDavid Gibson <david@gibson.dropbear.id.au>2017-11-30 14:56:42 +1100
commitbe1b21e885743c08c921846c7201ff59fe82b8b0 (patch)
treefca5f857b4afb63c02c5825597bd7c33c5ddf401 /numa.c
parent0c86b2df78fecf1d0b5017e1bab6b2607556c5ed (diff)
downloadqemu-be1b21e885743c08c921846c7201ff59fe82b8b0.zip
qemu-be1b21e885743c08c921846c7201ff59fe82b8b0.tar.gz
qemu-be1b21e885743c08c921846c7201ff59fe82b8b0.tar.bz2
target-ppc: Don't invalidate non-supported msr bits
The msr invalidation code (commits 993eb and 2360b) inverts all bits except MSR_TGPR and MSR_HVB. On non PowerPC 601 processors this leads to incorrect change of excp_prefix in hreg_store_msr() function. The problem is that new msr value get multiplied by msr_mask and inverted msr does not, thus values of MSR_EP bit in new msr value and inverted msr are distinct, so that excp_prefix changes but should not. Signed-off-by: Kurban Mallachiev <mallachiev@ispras.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'numa.c')
0 files changed, 0 insertions, 0 deletions