diff options
| author | Mantravadi Karthik <mkarthik@nvidia.com> | 2021-03-04 12:29:31 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2021-03-31 20:27:59 -0400 |
| commit | f29ac3683f835efefcfdf980779dcdde0b9d80b4 (patch) | |
| tree | e2407621cc7d3964da3daa02618178220de7f505 /include/linux | |
| parent | 6c921ad87712818b29e8c7704a45270ec9a9b586 (diff) | |
tegra: Fix safety ivc driver
* Fix safety ivc driver to remove unused cmd-pair.
* Update Makefile to use the correct defconfig.
* Add support for unit testing the safety-ivc driver
guarded by CONFIG_TEGRA_SAFETY_IVC_DEBUG.
Bug 200700400
Change-Id: I479db5fcb4a57ad36c374fa3f137346e8582cb13
Signed-off-by: Mantravadi Karthik <mkarthik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2493498
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tegra-safety-ivc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/tegra-safety-ivc.h b/include/linux/tegra-safety-ivc.h index e508168e2..eeb50a3fc 100644 --- a/include/linux/tegra-safety-ivc.h +++ b/include/linux/tegra-safety-ivc.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION, All rights reserved. | 2 | * Copyright (c) 2016-2021, NVIDIA CORPORATION, All rights reserved. |
| 3 | * | 3 | * |
| 4 | * This software is licensed under the terms of the GNU General Public | 4 | * This software is licensed under the terms of the GNU General Public |
| 5 | * License version 2, as published by the Free Software Foundation, and | 5 | * License version 2, as published by the Free Software Foundation, and |
| @@ -36,7 +36,6 @@ struct safety_ast_region { | |||
| 36 | 36 | ||
| 37 | struct tegra_safety_ivc { | 37 | struct tegra_safety_ivc { |
| 38 | struct safety_ast_region region; | 38 | struct safety_ast_region region; |
| 39 | struct tegra_hsp_sm_pair *cmd_pair; | ||
| 40 | struct tegra_hsp_sm_pair *ivc_pair; | 39 | struct tegra_hsp_sm_pair *ivc_pair; |
| 41 | struct { | 40 | struct { |
| 42 | wait_queue_head_t response_waitq; | 41 | wait_queue_head_t response_waitq; |
