Akhil R
02c4ecb369
crypto: tegra-se-nvhost: Use GFP_ATOMIC if in atomic context
...
Check if the request may sleep and adjust the GFP flag. This fixes
the issue of sleep during atomic context in tegra-se driver.
Bug 4146804
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I40006fd0898a85ced75f49565106a9b47ed0dfd0
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2931331
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-07-07 06:58:01 -07:00
Laxman Dewangan
13556fa7d2
crypto: Use SPDX GPL 2.0 license format
...
Use SPDX license format for license and copyright
information. Update year also.
Bug 4078035
Change-Id: I8a5b0f60c702b7fb9a30b5b50ca4058165d38cc9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890632
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-04-21 11:40:45 -07:00
Akhil R
da3ddb1fcb
crypto: tegra: Fix list_del corruption
...
Update the cmdbuf management to fix the list_del corruption
and few improvements.
Bug 3995933
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I8a692ef042d045813cea0494073832a1b87bcaa3
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2871670
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-03-22 18:57:26 -07:00
Akhil R
8a61c9f119
crypto: tegra: Fix Coverity defects
...
Fix resource leak and dead code which causes coverity defects.
ID 10162255
ID 10162275
ID 10162278
ID 10162282
ID 10162263
ID 10162268
Bug 3952896
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: Ib09dde2b65a3fc74bd30a4fb0e1bd594caf826ec
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2850397
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com >
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com >
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-03-10 19:08:38 -08:00
Jon Hunter
619afce1dc
crypto: tegra: Fix unused variable warnings
...
Fix the unused variable warnings in the Tegra SE driver by removing the
unused 'err' variables.
Bug 3820317
Change-Id: I74b9ea6f34c48aeb41d11e0d4c093d52ddf058b6
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2792538
Reviewed-by: Akhil R <akhilrajeev@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: svcacv <svcacv@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-10-20 02:19:48 -07:00
Akhil R
0b7732c7a4
crypto: tegra: Remove nvhost_module*() functions
...
Add alternative function to initialize clocks instead of
nvhost_module_init() to fix "failed to get reset" issue.
Also, remove other failing nvhost functions as the nvhost driver
exists only for backward compatibility.
Bug 3583641
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Fixes: 198a0ba027 ("crypto: tegra: Add support for SE on host1x to OOT")
Change-Id: Id6a5ecf7900643b13518e1c9cf657aac99a6bd5d
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2782949
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-10-04 13:30:42 -07:00
Akhil R
bc7b8e620b
crypto: tegra: Remove unused function
...
Removing unused function which throws a warning during compilation.
Bug 3767126
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: I47fbed286188d8f1124f526d65d844cd329d9e5c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2772880
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-09-09 11:24:55 -07:00
Akhil R
198a0ba027
crypto: tegra: Add support for SE on host1x to OOT
...
Add driver to support Security Engine on host1x as OOT module
Bug 3583641
Signed-off-by: Akhil R <akhilrajeev@nvidia.com >
Change-Id: If2eaff4e783cc6426db6a711e1300568735dab76
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2726869
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2022-08-29 05:12:27 -07:00