Nagaraj P N
|
7e77b140e3
|
nvtzvault: take lock before close session
- need to take lock to avoid race conditions when accessing
mailbox.
- don't use spinlock in irq context as irq is not shared
and only one request is processed at a time.
- remove debug print.
Bug 5225204
Bug 5275408
Change-Id: I2de5a07d06568012d6557d3a32126478b6ddaf15
Signed-off-by: Nagaraj P N <nagarajp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3356286
(cherry picked from commit 521e75b7c3cbc5f4724a8a0f3c11c3a2940383b2)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3364010
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
|
2025-07-24 10:19:19 +00:00 |
|
Nagaraj P N
|
91a5f43355
|
nvtzvault: clear out done register in irq handler
if register is not cleared then, due to spurious interrupts
RCU related threads can't execute which leads to error
spews and stalls.
Bug 5241951
Change-Id: Ifb43c02741162618c360e055cc74a35f7d49c39f
Signed-off-by: Nagaraj P N <nagarajp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3348632
(cherry picked from commit df2d584c50c93bf9b27e295220762ef6317e7dcf)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3350537
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
|
2025-07-24 10:19:18 +00:00 |
|
Nagaraj P N
|
24ee9c4a6a
|
nvtzvaut: fix CWE25/CERTC violations
Jira ESSS-1713
Jira ESSS-1830
Bug 5225204
Change-Id: I10c4115f7a8d4c3a3c65d27e56551d2ba0569cdd
Signed-off-by: Nagaraj P N <nagarajp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3344526
(cherry picked from commit 0d5d086803c897be88fcf0d0e740cc755b42f18f)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3350536
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
|
2025-07-24 10:19:18 +00:00 |
|
Nagaraj P N
|
a952ece7d2
|
nvtzvault: support up to 72 sessions
Also
- add suspend/resume callbacks
- close sessions in case of app crash
- perform dynamic memory allocation
Jira ESSS-1713
Jira ESSS-1830
Bug 5225204
Change-Id: Ic3bd6d74a530bd10e2e5758b9c59b4a552c7d4b1
Signed-off-by: Nagaraj P N <nagarajp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3344180
(cherry picked from commit 69d8511e80e2e45e9f8aea4b2b736c632d7894a3)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3324497
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
|
2025-07-24 10:19:18 +00:00 |
|
Nagaraj P N
|
083a40b0d3
|
nvtzvault: add driver for GP comm via oesp mailbox
- Allow applications to interact with TA via IOCTL
interface, with one device node per TA/token to
allow access control policies to be enforced.
- Validate the request parameters
- Add support to to serialize request data from application
and deserialize response from the TA
- Include process name as part of request to enable
TA to log required info to nvlog buffer
Jira ESSS-1713
Change-Id: I9e4c4687ecb6e01b0d88130fd640a9b4a59676aa
Signed-off-by: Nagaraj P N <nagarajp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3282272
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svc-percl-checker <svc-percl-checker@nvidia.com>
|
2025-07-24 10:19:17 +00:00 |
|