mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
Add CONFIG_NVGPU_RECOVERY in order to conditionally compile recovery code. This code will be removed from safety build when sw quiesce state is implemented, and negative tests are disabled or modified such that they do not expect recovery to happen. Added static inline functions for recovery handlers, when CONFIG_NVGPU_RECOVERY is not defined. These inline functions can later be wired to the sw quiesce functions. Also moved gv11b recovery code to non-fusa, as it will ultimately be removed from safety build. Jira NVGPU-3871 Change-Id: Ia705b059fab6120899c7e15082f2a0f51ff51dc9 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2166074 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>