1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * Copyright (C) 2013 Advanced Micro Devices, 4 * 5 * Author: Steven Kinney <Steven.Kinney@amd.co 6 * Author: Suravee Suthikulpanit <Suraveee.Sut 7 */ 8 9 #ifndef _PERF_EVENT_AMD_IOMMU_H_ 10 #define _PERF_EVENT_AMD_IOMMU_H_ 11 12 /* iommu pc mmio region register indexes */ 13 #define IOMMU_PC_COUNTER_REG 14 #define IOMMU_PC_COUNTER_SRC_REG 15 #define IOMMU_PC_PASID_MATCH_REG 16 #define IOMMU_PC_DOMID_MATCH_REG 17 #define IOMMU_PC_DEVID_MATCH_REG 18 #define IOMMU_PC_COUNTER_REPORT_REG 19 20 /* maximum specified bank/counters */ 21 #define PC_MAX_SPEC_BNKS 22 #define PC_MAX_SPEC_CNTRS 23 24 #endif /*_PERF_EVENT_AMD_IOMMU_H_*/ 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.