target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS
commitc59704b254734182c3202e0c261589ea2ccf485e
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 19 Jan 2018 05:00:05 +0000 (19 16:00 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 29 Jan 2018 03:24:55 +0000 (29 14:24 +1100)
tree5a006b0c6fa20a8f9e3911e4570adc3ba08b2c9f
parent4be8d4e7d935fc8919d61f53a0f0fb7230052bb3
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>
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h