1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_POWERPC_PERF_HV_GPCI_H_
3 #define LINUX_POWERPC_PERF_HV_GPCI_H_
6 * counter info version => fw version/reference (spec version)
9 * [7 is skipped by spec 1.07]
11 * 5 => v7r7m0.phyp (1.05)
13 * 3 => v7r6m0.phyp (?)
15 * 0 => v7r{2,3,4}m0.phyp (?)
17 #define COUNTER_INFO_VERSION_CURRENT 0x8
19 /* capability mask masks. */
21 HV_GPCI_CM_GA
= (1 << 7),
22 HV_GPCI_CM_EXPANDED
= (1 << 6),
23 HV_GPCI_CM_LAB
= (1 << 5)
26 #define REQUEST_FILE "../hv-gpci-requests.h"
27 #define NAME_LOWER hv_gpci
28 #define NAME_UPPER HV_GPCI
29 #include "req-gen/perf.h"