summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>2017-06-30 00:55:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-02 13:40:29 +0300
commit12bf85a71000af7419b19b5e90910919f36f336c (patch)
tree694b0a1292ed0da2f55f5c14068c02fdaa141e60 /drivers
parentc07424414c28c8ae9a54803a4496e4d8718b3613 (diff)
downloadlinux-12bf85a71000af7419b19b5e90910919f36f336c.tar.xz
powerpc/perf/hv-24x7: Fix passing of catalog version number
H_GET_24X7_CATALOG_PAGE needs to be passed the version number obtained from the first catalog page obtained previously. This is a 64 bit number, but create_events_from_catalog truncates it to 32-bit. This worked on POWER8, but POWER9 actually uses the upper bits so the call fails with H_P3 because the hypervisor doesn't recognize the version. This patch also adds the hcall return code to the error message, which is helpful when debugging the problem. Fixes: 5c5cd7b50259 ("powerpc/perf/hv-24x7: parse catalog and populate sysfs with events") Reviewed-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions