mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
cc1081e2231029e037a62e3379825ecd8c6bb657
There are 2 issues here: 1. top_en register is being masked for each leaf level interrupt disable operation. top_en bit should be disabled as part of top level stall operation only. 2. Wrong mask is being calculated to disable the leaf_en bits for a unit which inturn affects the entire subtree. Subtree_mask_restore for a subtree stores the last state of interrupts that are enabled. As part of disable operation, we only need to update subtree_mask_restore and not reupdate subtree_mask for that subtree. Same logic applies to enable operation. Renamed the apis to better reflect their operation. The interrupt disabling is done at unit level and not subtree level. Bug 3712884 Change-Id: Id840c77f612021a303cfe0e8dca69386bc570273 Signed-off-by: Kishan <kpalankar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2752541 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2758138 Reviewed-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided