]> xenbits.xensource.com Git - qemu-xen.git/commit
target/ppc: add helper to write per-LPAR SPRs
authorNicholas Piggin <npiggin@gmail.com>
Fri, 26 May 2023 17:17:38 +0000 (03:17 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:34:39 +0000 (09:34 +1000)
commit5fa7efe4730586648412f59f13bd370c40f372ff
tree9f339e928dc9e267da139dfcdae429b60b888065
parent1cbcbcb8d6f10d742aa7cf6ad7bc768492e6407e
target/ppc: add helper to write per-LPAR SPRs

An SPR can be either per-thread, per-core, or per-LPAR. Per-LPAR means
per-thread or per-core, depending on 1LPAR mode.

Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/spr_common.h
target/ppc/translate.c