tegra: hwpm: th500: Add support for SMMU

This patch adds support for SMMU performance
monitoring in the driver.

Bug 4287384

Signed-off-by: Vishal Aslot <vaslot@nvidia.com>
Change-Id: I59e33a5ac6e8d860f4454fdf46476847aef42106
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2986919
Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Vishal Aslot
2023-09-27 17:26:36 +00:00
committed by mobile promotions
parent 9b9c743199
commit 095e1bafd8
8 changed files with 678 additions and 6 deletions

View File

@@ -78,6 +78,7 @@ enum tegra_hwpm_ip_enum {
TEGRA_HWPM_IP_MSS_MCF,
TEGRA_HWPM_IP_APE,
TEGRA_HWPM_IP_C2C,
TEGRA_HWPM_IP_SMMU,
TERGA_HWPM_NUM_IPS
};
@@ -107,6 +108,7 @@ enum tegra_hwpm_resource_enum {
TEGRA_HWPM_RESOURCE_CMD_SLICE_RTR,
TEGRA_HWPM_RESOURCE_APE,
TEGRA_HWPM_RESOURCE_C2C,
TEGRA_HWPM_RESOURCE_SMMU,
TERGA_HWPM_NUM_RESOURCES
};