[PATCH 0/8] Support for 24x7 hcall interface version 2
Sukadev Bhattiprolu
sukadev at linux.vnet.ibm.com
Wed Jun 14 14:33:15 AEST 2017
Thiago Jung Bauermann [bauerman at linux.vnet.ibm.com] wrote:
> Hello,
>
> The hypervisor interface to access 24x7 performance counters (which collect
> performance information from system power on to system power off) has been
> extended in POWER9 adding new fields to the request and result element
> structures.
>
> Also, results for some domains now return more than one result element and
> those need to be added to get a total count.
>
> The first two patches fix bugs in the existing code. The following 4
> patches are code improvements and the last two finally implement support
> for the changes in POWER9 described above.
>
> POWER8 systems only support version 1 of the interface, while POWER9
> systems only support version 2. I tested these patches on POWER8 to verify
> that there are no regressions, and also on POWER9 DD1.
>
> Thiago Jung Bauermann (8):
> powerpc/perf/hv-24x7: Fix passing of catalog version number
> powerpc/perf/hv-24x7: Fix off-by-one error in request_buffer check
> powerpc/perf/hv-24x7: Properly iterate through results
> powerpc-perf/hx-24x7: Don't log failed hcall twice
> powerpc/perf/hv-24x7: Fix return value of hcalls
> powerpc/perf/hv-24x7: Minor improvements
> powerpc/perf/hv-24x7: Support v2 of the hypervisor API
> powerpc/perf/hv-24x7: Aggregate result elements on POWER9 SMT8
>
> arch/powerpc/perf/hv-24x7.c | 255 +++++++++++++++++++++++++--------
> arch/powerpc/perf/hv-24x7.h | 70 +++++++--
> arch/powerpc/platforms/pseries/Kconfig | 2 +-
> 3 files changed, 255 insertions(+), 72 deletions(-)
Reviewed-by: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
>
> --
> 2.7.4
More information about the Linuxppc-dev
mailing list