mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
crypto: tegra: Add updated Tegra SE driver
Add the updated Tegra SE driver with the below improvements. - Remove dependency with nvhost apis and use upstream Host1x APIs. - Implement software fallbacks for keys/plaintexts unsupported by hardware. - Support only T234 and later. Prior chips will use tegra-se-nvhost driver. Bug 4221414 Bug 3579794 Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Change-Id: I398a5b7cc3f752b44d01d6d1c81f813f862e4cd9 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2977810 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
cbf177852b
commit
2659fcd46a
@@ -106,6 +106,7 @@ NV_CONFTEST_FUNCTION_COMPILE_TESTS += netif_set_tso_max_size
|
||||
NV_CONFTEST_FUNCTION_COMPILE_TESTS += netif_napi_add_weight
|
||||
NV_CONFTEST_FUNCTION_COMPILE_TESTS += pde_data
|
||||
NV_CONFTEST_FUNCTION_COMPILE_TESTS += register_shrinker_has_fmt_arg
|
||||
NV_CONFTEST_FUNCTION_COMPILE_TESTS += tegra_dev_iommu_get_stream_id
|
||||
NV_CONFTEST_FUNCTION_COMPILE_TESTS += tegra_ivc_struct_has_iosys_map
|
||||
NV_CONFTEST_GENERIC_COMPILE_TESTS ?=
|
||||
NV_CONFTEST_MACRO_COMPILE_TESTS ?=
|
||||
|
||||
@@ -6646,6 +6646,23 @@ compile_test() {
|
||||
compile_check_conftest "$CODE" "NV_TEGRA_IVC_STRUCT_HAS_IOSYS_MAP" "" "types"
|
||||
;;
|
||||
|
||||
tegra_dev_iommu_get_stream_id)
|
||||
#
|
||||
# Determine if the function tegra_dev_iommu_get_stream_id is present.
|
||||
#
|
||||
# tegra_dev_iommu_get_stream_id was added in commit 493c9b68d1d8
|
||||
# ("iommu/tegra: Add tegra_dev_iommu_get_stream_id() helper") in
|
||||
# v6.2 (2022-12-07)
|
||||
#
|
||||
CODE="
|
||||
#include <linux/iommu.h>
|
||||
bool conftest_tegra_dev_iommu_get_stream_id(void) {
|
||||
return tegra_dev_iommu_get_stream_id();
|
||||
}"
|
||||
|
||||
compile_check_conftest "$CODE" "NV_TEGRA_DEV_IOMMU_GET_STREAM_ID_PRESENT" "" "functions"
|
||||
;;
|
||||
|
||||
# When adding a new conftest entry, please use the correct format for
|
||||
# specifying the relevant upstream Linux kernel commit.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user