Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp209537rdd; Tue, 9 Jan 2024 01:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFRqMYscjroAAGRUN6OPr8Lh8dJaT4o+qs/ZP5CiRiCkE1CTeww4ct+zvORwnE4Y5j9eWFP X-Received: by 2002:a05:6122:36a5:b0:4b6:f582:2bac with SMTP id ec37-20020a05612236a500b004b6f5822bacmr2220955vkb.16.1704792051882; Tue, 09 Jan 2024 01:20:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704792051; cv=pass; d=google.com; s=arc-20160816; b=izw/8aEq7AiqHkKLj9/5a9nsSCg1cgtQyC0tG1Omo/Zwh/mxsdrim5mvrdHIOFW13E kshvBw1CWvj4uYtANYZF5V7/OvHVz7U3ydbyPVDCCaBwyWcSH9YWJWyy2TfuHr28q30j zPhD2ptkNm8beRyGvw3t0yql+MHpWlJeJxlhquirWIOSEmo40ifVkZ3rrOBvIGj5E/Ir Kz6cCvndPfH3lA3fdPB+MSVUGpkslHSprga0so1n9ow35soyfHNf7tCyx8+AQZOd0lUj reGrcB5c3hHa/jbskNQl9SWYLGXSZVSlQVWl5qX1TUwNDWz2woUHPY4e/Is6pKmNRw4i 0q1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M+o5KvE8nwX0WSeMin6w0eEZKvdESyMS9s4vHsWXmjE=; fh=qmzHwXoLSbmNTcqsYYtxy0h8ewFZsFKSf2rQ8TjYIhM=; b=lHPtjXXe+TV274Hzkx5NbfBOcHgWDMP1386QLob5uZFtEsLqXrOHbqAoOcctc+8uiM cr/+FaNVR1wIAV7gC9znjCS4AB8skmWLj7lyzufU2zNIQRZqRbc5I95b/S5xN+bxCucw i/D0Q1dPz7KHU9akqNim8iM8849JCG1isN+xjU3OaUBli26kk3yM/d1V8B8tDYqY2h9v /PGkNyGe8opz8vK+3V5B8xCbPvlEuVaeVh/EdFGias00x5ekbQEVXPzsZ4ycrSWNaTG1 cpbXEdxCSxQBBB87lzvqXzEbIbJ2fYEksGUGGVkpI9Y3o/zG3cx078bzZIVSjWVo8kQ2 sqnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Atjw4JAQ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-crypto+bounces-1297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z4-20020ac87f84000000b004257cb76e26si1719749qtj.664.2024.01.09.01.20.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 01:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Atjw4JAQ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-crypto+bounces-1297-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8EE6B1C2114D for ; Tue, 9 Jan 2024 09:20:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 204CF35EE5; Tue, 9 Jan 2024 09:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="Atjw4JAQ" X-Original-To: linux-crypto@vger.kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2050.outbound.protection.outlook.com [40.107.220.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74B94341A9; Tue, 9 Jan 2024 09:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VAn6Lanx78tpnWx/V4M5LB/GOkY2bHzOaT3XTKR8K3Z4X5S2bYmF6Luq3q3dZa/S5MzxhZVCoTn3zTtgvDZAEHW/ayx2wJ3n254IFPDV84gxJtIRK1MlN9zpGl0HTz8nCLESnMKf8JK7hxiFhaJUgrQ9e6RQ/rAHQhFxxk8zyScs0bGaTGpKVw7DcEQq3gkEtNfXXm6RdDVvyCdx4miqpkTDlsKkeNqq0yDL3FjxFjNr2/2AN+Z0j8wUSopBlBsmXVirGmgx11BRc8fuFD8KSYFDocVfT4Av5WY8VyOqoCOu9x5JCIV4+iPNJTzmorULOSqENdYPAEBhJQHI2e15DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M+o5KvE8nwX0WSeMin6w0eEZKvdESyMS9s4vHsWXmjE=; b=Dgwx87xaVnJsN2xgy+aSnd5Hd3vpxkdM01OHKv3MZTez65mW83LV/9B/NuGNyhnV/Xav1QhwEpcgrys2xs6PrEmrXfZSGg3byW9lxc1J7CiYcVtW0CPRiI5zmM3eimsuE4TPrxpnV45KZL94KPgpxj7ovxhXn1AoVt/ANwoBE+v/jajT0tCysP8FRp2UwV+2SqzZvu/3//6jTOoUflGIpA+/Ej4ZSVe4yNC0Ob0aVHiyZEEoarggFbCVkF09qmuZI0zkC4uz2/oZ38q/Mo6Jl9B1vLiAX+lMvTL/is0BEEzAo31d8ztXEsTZFia9YgCINwdu2yDWJRlXNscOPVOY+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=gondor.apana.org.au smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M+o5KvE8nwX0WSeMin6w0eEZKvdESyMS9s4vHsWXmjE=; b=Atjw4JAQFoUdiZK4IFPTowqEZbQBq2Nd30XW5YMB19h1wOYZULJqJsQ6bdVXVVjAAJlb2LrjulY7yxMqv4IxBK1iM4um61GFP3HageKLdSPpm9X3Av7dNreo/LJP6vCi0l1SdDGqmfvfS5LWjsVa7exHBmzWyRYc7EtZBbuc3qocISKCeZhu7nZyMoDX5MmsCHhbDxskzwBUBX+Uk7t143PASidmW27E0uZrJj+owAhE9J2qQOVPqOmNu8SX26TWWtJsGDX7iM3i0GPVlMsu+USw31NlwM71q7YrP8m0YXG27a6az81fwuwD2gVFJmEUn9MXdUYRcHLKwqk0+fyhIw== Received: from MN2PR07CA0016.namprd07.prod.outlook.com (2603:10b6:208:1a0::26) by SJ0PR12MB6781.namprd12.prod.outlook.com (2603:10b6:a03:44b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 09:18:22 +0000 Received: from MN1PEPF0000ECD5.namprd02.prod.outlook.com (2603:10b6:208:1a0:cafe::32) by MN2PR07CA0016.outlook.office365.com (2603:10b6:208:1a0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23 via Frontend Transport; Tue, 9 Jan 2024 09:18:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by MN1PEPF0000ECD5.mail.protection.outlook.com (10.167.242.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Tue, 9 Jan 2024 09:18:21 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 01:18:05 -0800 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 01:18:05 -0800 Received: from BUILDSERVER-IO-L4T.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Tue, 9 Jan 2024 01:18:01 -0800 From: Akhil R To: , , , , , , , , , , , , , , CC: Akhil R Subject: [PATCH v3 2/5] gpu: host1x: Add Tegra SE to SID table Date: Tue, 9 Jan 2024 14:47:05 +0530 Message-ID: <20240109091708.66977-3-akhilrajeev@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240109091708.66977-1-akhilrajeev@nvidia.com> References: <20240109091708.66977-1-akhilrajeev@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD5:EE_|SJ0PR12MB6781:EE_ X-MS-Office365-Filtering-Correlation-Id: 3866e1a8-ae19-4acd-b80d-08dc10f3ecc6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jgEG3GE6e2lPiPMtxgt2sDA1e9GupHIquxnAeCxCmUdo4EKJ6Ky1vxHHJWmTmyRkNBQTd6RgW/PcKnxgLh6TG9cBRUdhToI1ffFGMdyzXEMlsX3/+8EgHGNrexoLD7Zi5vUYTlyxBd226+NWnL/Hr8Zaqu12KsnZxvvjgqJcBZOWo9BKOu3cFRkbB6npJ97qTA8B1Jbpf7skjApyucHH4wStjCE6weSsSHtFJ5xb+mzkDRY+GWPIRLgR6xiw6wUDKoVusDHjxJnPt9+t9IqxpheCPM37dBYMc3g9fXlEK5yH0aYCYyK7O9gTuj8QOJwQn0k0h81XtqbAnLoih50CGgdkIP5hWE5Z/mSy9SNq9AoWgxE6pvdNru2mOki59a/TkeJRteOKQ4v8zDBmhf4791xX+Fgkek7FDiqKl0Xv1TK2phdtQ05mg4Oe9T1Pb7xovBnZgYutZc+P1nsVyj4ar4gf1ljOlBius7fjhgmOjifN+6Y/+SloFfmHqOTT9/jqXAXsTjuqoT+8SZDMvjIi5qUnDi1eHtgS5BbIKjx3+9vMplraWuMYiMkGCAinSpFJtDaAsse1dVqy5DF6UgYr3zAAKC8sKG/PQyQxCD+llE0ZVgygolIWly5qahjjzNhi3AMAPPfKiSmsiC4AKA0KtpxLGeEEsHG1+6/CNXlBqeVwU+89lByUkS/ksnB3SPgdsCpQQj5pCYt3Le4HHp97K5aNhnMLbr9m0B3S/E2WCGS8DQr2/sJRJ8xTA/kXKjPMc9BIOdj7Vv7ZftWUMI+OHKuIjayJLF/qCwNBa35oUYUuxU0Y3/ibfnwwfVqaQAZG X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(376002)(346002)(396003)(136003)(39860400002)(230922051799003)(64100799003)(186009)(1800799012)(82310400011)(451199024)(46966006)(40470700004)(36840700001)(40480700001)(40460700003)(921011)(83380400001)(41300700001)(70206006)(316002)(70586007)(356005)(7636003)(36756003)(82740400003)(86362001)(36860700001)(47076005)(426003)(336012)(107886003)(2616005)(26005)(1076003)(5660300002)(2906002)(110136005)(7696005)(478600001)(8936002)(8676002)(7416002)(4744005)(4326008)(32563001)(357404004);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 09:18:21.3280 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3866e1a8-ae19-4acd-b80d-08dc10f3ecc6 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000ECD5.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6781 Add Tegra Security Engine details to the SID table in host1x driver. These will be referred when registering the SE as host1x device. Signed-off-by: Akhil R --- drivers/gpu/host1x/dev.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 42fd504abbcd..b564c7042235 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -214,6 +214,30 @@ static const struct host1x_info host1x07_info = { * and firmware stream ID in the MMIO path table. */ static const struct host1x_sid_entry tegra234_sid_table[] = { + { + /* SE2 MMIO */ + .base = 0x1658, + .offset = 0x90, + .limit = 0x90 + }, + { + /* SE4 MMIO */ + .base = 0x1660, + .offset = 0x90, + .limit = 0x90 + }, + { + /* SE2 channel */ + .base = 0x1738, + .offset = 0x90, + .limit = 0x90 + }, + { + /* SE4 channel */ + .base = 0x1740, + .offset = 0x90, + .limit = 0x90 + }, { /* VIC channel */ .base = 0x17b8, -- 2.17.1