]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Restore [H]DEXCR to 64-bits
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 20 Mar 2024 01:50:24 +0000 (12:50 +1100)
committerNicholas Piggin <npiggin@gmail.com>
Sat, 30 Mar 2024 08:50:24 +0000 (18:50 +1000)
commit978897a572e975faad912a473815a668a43d9f1f
tree7d062ed750ce28f94b83b9ef0abd17a3668a3bd0
parentd7d9c6071e6dc5d466b229457fc4ad34e101dccd
target/ppc: Restore [H]DEXCR to 64-bits

The DEXCR emulation was recently changed to a 32-bit register, possibly
because it does have a 32-bit read-only view. It is a full 64-bit
SPR though, so use the corresponding 64-bit write functions.

Fixes: fbda88f7abdee ("target/ppc: Fix width of some 32-bit SPRs")
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu_init.c