]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Big-core scratch register fix
authorNicholas Piggin <npiggin@gmail.com>
Thu, 5 Sep 2024 22:13:51 +0000 (08:13 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 8 Apr 2025 10:52:43 +0000 (20:52 +1000)
commit9808ce6d5cb75a4f9db76a3d9b508560efdf5ac2
tree0c95018cfaaf9f423054e453a806a461b14e4efc
parentdfaecc04c46d298e9ee81bd0ca96d8754f1c27ed
target/ppc: Big-core scratch register fix

The per-core SCRATCH0-7 registers are shared between big cores, which
was missed in the big-core implementation. It is difficult to model
well with the big-core == 2xPnvCore scheme we moved to, this fix
uses the even PnvCore to store the scrach data.

Also remove a stray log message that came in with the same patch that
introduced patch.

Fixes: c26504afd5f5c ("ppc/pnv: Add a big-core mode that joins two regular cores")
Cc: qemu-stable@nongnu.org
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/misc_helper.c