Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / powerpc / perf / hv-gpci.h
blob4d108262bed791d4ec8282987dfc20304c6661f9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_POWERPC_PERF_HV_GPCI_H_
3 #define LINUX_POWERPC_PERF_HV_GPCI_H_
5 /*
6 * counter info version => fw version/reference (spec version)
8 * 8 => power8 (1.07)
9 * [7 is skipped by spec 1.07]
10 * 6 => TLBIE (1.07)
11 * 5 => v7r7m0.phyp (1.05)
12 * [4 skipped]
13 * 3 => v7r6m0.phyp (?)
14 * [1,2 skipped]
15 * 0 => v7r{2,3,4}m0.phyp (?)
17 #define COUNTER_INFO_VERSION_CURRENT 0x8
19 /* capability mask masks. */
20 enum {
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"
30 #undef REQUEST_FILE
31 #undef NAME_LOWER
32 #undef NAME_UPPER
34 #endif