mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 10:13:00 +03:00
tegra: hwpm: add debugfs node to skip alist
Currently, HWPM driver checks regops address to validate that the address belongs to an IP allowlist that is reserved for profiling. However, it is possible that the allowlist doesn't include all register offset that are required for profiling. This scenario is often encountered during early stages of bringup. This patch adds a debugfs node to make HWPM driver skip allowlist check. This change will allow users to dynamically skip allowlist check when debugfs is available. JIRA THWPM-65 Change-Id: Ic85a1c7fac6a95f7cde532f3bdf6040bbcc7f5f3 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3241080 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: Vasuki Shankar <vasukis@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
cda058bccc
commit
2c2a933a9f
@@ -132,6 +132,7 @@ int tegra_hwpm_init_sw_components(struct tegra_soc_hwpm *hwpm,
|
||||
tegra_hwpm_fn(hwpm, " ");
|
||||
|
||||
hwpm->dbg_mask = TEGRA_HWPM_DEFAULT_DBG_MASK;
|
||||
hwpm->dbg_skip_alist = false;
|
||||
|
||||
err = tegra_hwpm_init_chip_ip_structures(hwpm, chip_id, chip_id_rev);
|
||||
if (err != 0) {
|
||||
|
||||
Reference in New Issue
Block a user