mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-23 09:46:59 +03:00
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>
1.9 KiB
1.9 KiB