mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
drivers: pva: enable app auth for GEN3
Enable vpu authentication by default for gen3 Jira PVAAS-14403 Signed-off-by: Krish Agarwal <krisha@nvidia.com> Change-Id: I72e7f1641c213fb9274c8b46203f48117de18296 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3051297 Reviewed-by: Sreehari Mohan <sreeharim@nvidia.com> Reviewed-by: Omar Nemri <onemri@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ce916e3f13
commit
c983d3dd36
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2024, NVIDIA CORPORATION. All rights reserved.
|
||||
*/
|
||||
|
||||
#include "pva_mailbox.h"
|
||||
@@ -1368,13 +1368,8 @@ static int pva_probe(struct platform_device *pdev)
|
||||
|
||||
mutex_init(&pva->pva_auth.allow_list_lock);
|
||||
mutex_init(&pva->pva_auth_sys.allow_list_lock);
|
||||
if (pdata->version <= PVA_HW_GEN2) {
|
||||
pva->pva_auth.pva_auth_enable = true;
|
||||
pva->pva_auth_sys.pva_auth_enable = true;
|
||||
} else {
|
||||
pva->pva_auth.pva_auth_enable = false;
|
||||
pva->pva_auth_sys.pva_auth_enable = false;
|
||||
}
|
||||
pva->pva_auth.pva_auth_enable = true;
|
||||
pva->pva_auth_sys.pva_auth_enable = true;
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
pva_debugfs_init(pdev);
|
||||
|
||||
Reference in New Issue
Block a user