/* SPDX-License-Identifier: GPL-2.0 */1#ifndef LINUX_POWERPC_PERF_HV_GPCI_H_2#define LINUX_POWERPC_PERF_HV_GPCI_H_34/*5* counter info version => fw version/reference (spec version)6*7* 8 => power8 (1.07)8* [7 is skipped by spec 1.07]9* 6 => TLBIE (1.07)10* 5 => v7r7m0.phyp (1.05)11* [4 skipped]12* 3 => v7r6m0.phyp (?)13* [1,2 skipped]14* 0 => v7r{2,3,4}m0.phyp (?)15*/16#define COUNTER_INFO_VERSION_CURRENT 0x81718/* capability mask masks. */19enum {20HV_GPCI_CM_GA = (1 << 7),21HV_GPCI_CM_EXPANDED = (1 << 6),22HV_GPCI_CM_LAB = (1 << 5)23};2425#define REQUEST_FILE "../hv-gpci-requests.h"26#define NAME_LOWER hv_gpci27#define NAME_UPPER HV_GPCI28#define ENABLE_EVENTS_COUNTERINFO_V629#include "req-gen/perf.h"30#undef REQUEST_FILE31#undef NAME_LOWER32#undef NAME_UPPER3334#endif353637