forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
703 B
24 lines
703 B
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
/* |
|
* Copyright (C) 2013 Advanced Micro Devices, Inc. |
|
* |
|
* Author: Steven Kinney <[email protected]> |
|
* Author: Suravee Suthikulpanit <[email protected]> |
|
*/ |
|
|
|
#ifndef _PERF_EVENT_AMD_IOMMU_H_ |
|
#define _PERF_EVENT_AMD_IOMMU_H_ |
|
|
|
/* iommu pc mmio region register indexes */ |
|
#define IOMMU_PC_COUNTER_REG 0x00 |
|
#define IOMMU_PC_COUNTER_SRC_REG 0x08 |
|
#define IOMMU_PC_PASID_MATCH_REG 0x10 |
|
#define IOMMU_PC_DOMID_MATCH_REG 0x18 |
|
#define IOMMU_PC_DEVID_MATCH_REG 0x20 |
|
#define IOMMU_PC_COUNTER_REPORT_REG 0x28 |
|
|
|
/* maximum specified bank/counters */ |
|
#define PC_MAX_SPEC_BNKS 64 |
|
#define PC_MAX_SPEC_CNTRS 16 |
|
|
|
#endif /*_PERF_EVENT_AMD_IOMMU_H_*/
|
|
|