]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 19 Jan 2018 05:00:05 +0000 (16:00 +1100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 6 Feb 2018 01:07:38 +0000 (19:07 -0600)
commited8b4ecc68d6bfe98000b08d649049d0c1174c11
tree7a9b07e89b66f7382333321f64dbb70255141f03
parenteab4b5170f1dd9b0e36722dcc118104e43d11e26
target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS

The new H-Call H_GET_CPU_CHARACTERISTICS is used by the guest to query
behaviours and available characteristics of the cpu.

Implement the handler for this new H-Call which formulates its response
based on the setting of the spapr_caps cap-cfpc, cap-sbbc and cap-ibs.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit c59704b254734182c3202e0c261589ea2ccf485e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h