Skip to content

RFC target/ppc: Rework spapr_caps

Suraj Jitindar Singh qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/ppc/spapr_caps: Rework spapr_caps to use uint8 internal representationhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+222 -1737 replies
2/3hw/spapr/spapr_caps: Add new caps safe_[cache/bounds_check/indirect_branch]hw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h +3 more+293 -15 replies
3/3target/ppc: Add H-Call H_GET_CPU_CHARACTERISTICShw/ppc/spapr_hcall.c include/hw/ppc/spapr.h+82 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [QEMU-PPC] [RFC 0/3] target/ppc: Rework spapr_caps

The following patch series reworks the implementation of spapr_caps to allow for a increased number of possible values in the internal representation.

It also adds 3 new tristate capabilities.

A new H-Call is implemented which a guest will use to query the requirement for and availability of workarounds for certain cpu behaviours.

Suraj Jitindar Singh (3):
hw/ppc/spapr_caps: Rework spapr_caps to use uint8 internal
representation
hw/spapr/spapr_caps: Add new caps
safe_[cache/bounds_check/indirect_branch]
target/ppc: Add H-Call H_GET_CPU_CHARACTERISTICS

 hw/ppc/spapr.c            |  25 ++-
 hw/ppc/spapr_caps.c       | 555 ++++++++++++++++++++++++++++++++++------------
 hw/ppc/spapr_hcall.c      |  81 +++++++
 include/hw/ppc/spapr.h    |  57 +++--
 linux-headers/linux/kvm.h |   3 +
 target/ppc/kvm.c          |  28 +++
 target/ppc/kvm_ppc.h      |  18 ++
 7 files changed, 595 insertions(+), 172 deletions(-)
Signature · 1 line
2.13.6