Re: [Qemu-devel] [QEMU-PPC] [PATCH 0/3] target/ppc: Rework spapr_caps

2018-01-14 Thread David Gibson
On Fri, Jan 12, 2018 at 04:33:42PM +1100, Suraj Jitindar Singh wrote:
> 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.
> 
> Applies on top of David's series - spapr: Add optional capabilities
> Based on ppc-for-2.12
> 
> The patches could be split up more, but in the interest of getting
> them out there they are as they are.

I've applied 1/3.  2/3 will need rework since the necessary kvm
changes were nacked, 3/3 isn't much use without it, so I'll wait on a
respin of those.

-- 
David Gibson| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson


signature.asc
Description: PGP signature


[Qemu-devel] [QEMU-PPC] [PATCH 0/3] target/ppc: Rework spapr_caps

2018-01-11 Thread Suraj Jitindar Singh
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.

Applies on top of David's series - spapr: Add optional capabilities
Based on ppc-for-2.12

The patches could be split up more, but in the interest of getting
them out there they are as they are.

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|  51 -
 hw/ppc/spapr_caps.c   | 483 --
 hw/ppc/spapr_hcall.c  |  78 
 include/hw/ppc/spapr.h|  61 +++---
 linux-headers/linux/kvm.h |   3 +
 target/ppc/kvm.c  |  28 +++
 target/ppc/kvm_ppc.h  |  18 ++
 7 files changed, 544 insertions(+), 178 deletions(-)

-- 
2.13.6