diff options
| author | Greg Kurz <groug@kaod.org> | 2019-12-13 12:59:56 +0100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2019-12-17 10:59:10 +1100 |
| commit | 7a90c6a1b650e3cd6391543cdf6587c5bc9f28c1 (patch) | |
| tree | 204262444461cf0ff94de8f541fc11e657d0d27a /docs/sphinx/kerneldoc.py | |
| parent | d76f2da7a5b6330fba70f2c14f209de92e26abab (diff) | |
| download | focaccia-qemu-7a90c6a1b650e3cd6391543cdf6587c5bc9f28c1.tar.gz focaccia-qemu-7a90c6a1b650e3cd6391543cdf6587c5bc9f28c1.zip | |
ppc/pnv: Introduce PnvMachineClass::dt_power_mgt()
We add an extra node to advertise power management on some machines, namely powernv9 and powernv10. This is achieved by using the pnv_is_power9() and pnv_is_power10() helpers. This can be achieved with QOM. Add a method to the base class for powernv machines and have it implemented by machine types that support power management instead. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <157623839642.360005.9243510140436689941.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'docs/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions