mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: correct pma_enginestatus expected val
During HWPM release, driver checks PMA engine status before disabling IP perfmons. Correct the computation of pma engine status expected value. THWPM-2 Change-Id: I7b0e1497efd67610f6daf39cb1fe411e04eeee11 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2586075 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
f7fa0cd28f
commit
f64c161132
@@ -1504,7 +1504,7 @@ static int tegra_soc_hwpm_release(struct inode *inode, struct file *filp)
|
||||
|
||||
field_mask = pmasys_enginestatus_status_m() |
|
||||
pmasys_enginestatus_rbufempty_m();
|
||||
field_val = pmasys_enginestatus_status_empty_f() ||
|
||||
field_val = pmasys_enginestatus_status_empty_f() |
|
||||
pmasys_enginestatus_rbufempty_empty_f();
|
||||
timeout = HWPM_TIMEOUT((hwpm_readl(hwpm, TEGRA_SOC_HWPM_PMA_DT,
|
||||
pmasys_enginestatus_r() -
|
||||
|
||||
Reference in New Issue
Block a user