mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 02:07:34 +03:00
- Zeroing of PMA trigger registers is unnecessary. Remove corresponding logic from HWPM teardown function. - During device open, add a check for PMA/RTR status. This will ensure that PMA/RTR are ready to start new profiling session. Device open will fail if RTR and PMA enginestatus is not ready(idle). - SOC HWPM driver disables and releases all reserved IPs before teardown steps. Update teardown logic to zero out IP allowlist registers during teardown. Jira THWPM-41 Bug 3714516 Change-Id: Iede5a5ed9860e2a73c8e4a04aeedfc061458c793 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2776229 Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2797444
13 KiB
13 KiB