From c983d3dd3656d0225fcbec852c01e8ab5d6a08c9 Mon Sep 17 00:00:00 2001 From: Krish Agarwal Date: Thu, 11 Jan 2024 05:04:50 -0800 Subject: [PATCH] drivers: pva: enable app auth for GEN3 Enable vpu authentication by default for gen3 Jira PVAAS-14403 Signed-off-by: Krish Agarwal Change-Id: I72e7f1641c213fb9274c8b46203f48117de18296 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3051297 Reviewed-by: Sreehari Mohan Reviewed-by: Omar Nemri GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/host/pva/pva.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/video/tegra/host/pva/pva.c b/drivers/video/tegra/host/pva/pva.c index e9b4a816..1a61856c 100644 --- a/drivers/video/tegra/host/pva/pva.c +++ b/drivers/video/tegra/host/pva/pva.c @@ -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);