mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 10:13:00 +03:00
tegra: hwpm: Enable PVA, DLA, MSS_Channel in HWPM
- Enable PVA, NVDLA and MSS_Channel IPs for HWPM profiling. - Force enable MSS_Channel in Hypervisor config, NVDLA by default. - Remove hypervisor checks in ip_readl and ip_writel functions. - Replace PCIE config enable flag from CONFIG_PCIE_TEGRA to CONFIG_PCIE_TEGRA194. - Add missing resource status init value for MSS channel IP. Bug 3632111 Change-Id: I6b36a3a3b3179b99542d8ed03027c8849fe9f712 Signed-off-by: vasukis <vasukis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2725087 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
5c94e7dad3
commit
d1de75a664
@@ -99,12 +99,6 @@ static int ip_readl(struct tegra_soc_hwpm *hwpm, struct hwpm_ip_inst *ip_inst,
|
||||
u64 reg_addr = tegra_hwpm_safe_add_u64(
|
||||
aperture->start_abs_pa, offset);
|
||||
|
||||
if (is_tegra_hypervisor_mode()) {
|
||||
tegra_hwpm_err(hwpm,
|
||||
"Fallback method not implemented on hypervisor config");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
ptr = ioremap(reg_addr, 0x4);
|
||||
if (!ptr) {
|
||||
tegra_hwpm_err(hwpm,
|
||||
@@ -153,12 +147,6 @@ static int ip_writel(struct tegra_soc_hwpm *hwpm, struct hwpm_ip_inst *ip_inst,
|
||||
u64 reg_addr = tegra_hwpm_safe_add_u64(
|
||||
aperture->start_abs_pa, offset);
|
||||
|
||||
if (is_tegra_hypervisor_mode()) {
|
||||
tegra_hwpm_err(hwpm,
|
||||
"Fallback method not implemented on hypervisor config");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
ptr = ioremap(reg_addr, 0x4);
|
||||
if (!ptr) {
|
||||
tegra_hwpm_err(hwpm,
|
||||
|
||||
Reference in New Issue
Block a user