/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Copyright (C) 2013 Advanced Micro Devices, Inc.3*4* Author: Steven Kinney <[email protected]>5* Author: Suravee Suthikulpanit <[email protected]>6*/78#ifndef _PERF_EVENT_AMD_IOMMU_H_9#define _PERF_EVENT_AMD_IOMMU_H_1011/* iommu pc mmio region register indexes */12#define IOMMU_PC_COUNTER_REG 0x0013#define IOMMU_PC_COUNTER_SRC_REG 0x0814#define IOMMU_PC_PASID_MATCH_REG 0x1015#define IOMMU_PC_DOMID_MATCH_REG 0x1816#define IOMMU_PC_DEVID_MATCH_REG 0x2017#define IOMMU_PC_COUNTER_REPORT_REG 0x281819/* maximum specified bank/counters */20#define PC_MAX_SPEC_BNKS 6421#define PC_MAX_SPEC_CNTRS 162223#endif /*_PERF_EVENT_AMD_IOMMU_H_*/242526