]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Add Power9/10 power management SPRs
authorNicholas Piggin <npiggin@gmail.com>
Wed, 18 Dec 2024 13:28:47 +0000 (23:28 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:30 +0000 (22:43 +1000)
commitd3ce7dc9e282e1785c7a6da73b3ebb1da5c34971
tree7c7ad4056f72b39dce4a96eb1e35f3a9494f62d5
parenta1750b2cba9c70191221f206bfbed277251dd644
target/ppc: Add Power9/10 power management SPRs

Linux power management code accesses these registers for pstate
management. Wire up a very simple implementation.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
After OCC fixes in QEMU pnv model and skiboot (since they have suffered
some bitrot), Linux will start performing PM SPR accesses. This is a
very simple implementation that makes it a bit happier.

Thanks,
Nick
target/ppc/cpu.h
target/ppc/cpu_init.c
target/ppc/helper.h
target/ppc/misc_helper.c
target/ppc/spr_common.h
target/ppc/translate.c