Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5274230rdb; Wed, 13 Dec 2023 04:21:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxPYV6xgBwPL9F+9X3zQ50VsPSLaWltEs6bkOUkaSnEJwTQVXS2NcQmT8eTnOE117dJQbx X-Received: by 2002:a05:6a20:13c6:b0:18f:c9dc:defb with SMTP id ho6-20020a056a2013c600b0018fc9dcdefbmr3882342pzc.114.1702470095486; Wed, 13 Dec 2023 04:21:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702470095; cv=pass; d=google.com; s=arc-20160816; b=CONpbt3Mgg9ON/MOzn0cc9/jtC3AvVW/x70qmVYKN+uJrvEyxJSAxtpqCf3Fr+I2AC MP4F5bsViNKjlCs06hySXvh2N1OnTJBR62BDyjj/hgtlcU0RervAh/bLn3uZVd4CFSeK Yj/kUkv7SFZnO+6XtIevgbao9kUEJOhrc7D7ZX3eEVeWv2jdYcuGmrmb1iTgcrpGpnqT S6fnagL1ZqMw5f8DJWrQL6UOOSpB70Ar/gkIQwUu5r12zRkLXDYBuCYC4shXxETyh1Sk EopuG5tj0GLDcODFXkyyBHTqcNp6ZUC30rQTLJdtTwwvpLNyWMYazRvtS4gBD034FAvs tCaw== 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=DD8VcrZVd0m1qVJzoLx4VSksZyrwMrkqXeri//oOatA=; b=NRL6pt1O4XONw/7ZfLPKmwtLlGyL2GE6MbbJNzCsEaeQop2YMZJj0zo/Zlt0ZFGQ6P pZKkUbn0qI+CX7+MHVURkShIVwl8p4pWan+6amZmp+qCwnft7HKng5u/so+4U+klW0CF G4/M7A9Wi/8J0ayix3rohfhT9oC7YY6CcrFTpWQlJmwwkSBfQqhJmVWBuqoQ/Ahu6TrJ /G9uGLc5vOo08tmzHfDsj8LACQpyLvRe3KbsAwDs3o4Rx4pKIBNkTPI6mKWrMgi82YYS Sr9qLUth/vBqKv2O5ZQMZ6z+HT2pL5IXpI2XCX9uFrORxoNfid1LTB4ZNK/BOKPIXmZ0 EmNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=DzPBfIKH; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-crypto+bounces-795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a6-20020a1709027d8600b001d08c079196si9338913plm.36.2023.12.13.04.21.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 04:21:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=DzPBfIKH; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-crypto+bounces-795-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-795-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 56D90B20D83 for ; Wed, 13 Dec 2023 12:21:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC80328E1D; Wed, 13 Dec 2023 12:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="DzPBfIKH" X-Original-To: linux-crypto@vger.kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2082.outbound.protection.outlook.com [40.107.220.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A63EF3; Wed, 13 Dec 2023 04:21:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hP74yNEhvWCHVyDbpauaJUzl1+W6PcgZe95qzJRwMbTXNfnS1tnBMF54fNjZ5tuvaKfHpc7BYG56pmANaniu+EFPQN9qVa38pptWIJGNhZevH8kmzGLmQiafJ7T4cXXDbmS9qb67MMXUDK5p+upkOMVeeG5e25OCYAo78tdQCDXart7Rj8hbxVIotDUW8rzEidLUjsmfVYECj2HMdIJmSvExJ7NDlqKUvpOL8RtM3UPMPdvdE63yQ+BAoIUzqGapEEvVMZKdhBvONtTO397R8A/sbmuRz02vnBybLlifAUbS/Y8sznrEuMGInXf9qAjLWn5lmGlHr/DJG2fjcg4P1A== 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=Fvfc4iuIbA0qKNegrKzZ8IMCWLESqQztsFLizK6V2H2ExuhazNJ1+yni3zMh8b/6LIWegN051qmzhuo3O9RconNxSaWtcZ8uq5DZ4qQ+A2BAKMXtsxQzX24pJur+b71Z2C94EIpJtoszqSCvldXBDGiSxvAII0D5qak9m2H8EbcrPQ5LYf20m2kScoxZCbPYZGlh3klY5bOl7o43TT1z6yPd+sjnr4w0oG3hZfffq8c3NUIQ+uHeDXzecdbejnIjRNfi6FS7eeOC+QGd26w/A7B8vzpwq3kx+FVoYz/teWwOPSUgqVH9HcJP33La+5BhpyG9ruE4rQt0U+wYSc+iRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=DzPBfIKHeuapME6mU/yiHAnzZy6s+122ESAVTR55Ktaxdr9kUERMIB8QdybeumooTy8ED8FgJqfiXrvjyjnFPaw3cIeGbdXquoJVm9hQzK2421Pdi7qw6bW57FzalDlcdM089zloBkkmGoRqazBvcxOgJbAu+1qwN31PVQk8hhB86s6v21UnOA9xWQyq9rYKacrNFCLRiWPCyijIaBTf5h2U1sL18tYHEHh5ybzvoRVp2WWh+BwgCH2n2I4pjwfugVMk48ckniykju7jpwWbueL3a0gCnDBlAbvoHHJxHJn16A1VFZtJ/zS2U2Zmk4SPxDkVcNiRqlceXsC1Ema/MQ== Received: from DS7PR03CA0164.namprd03.prod.outlook.com (2603:10b6:5:3b2::19) by CH3PR12MB7499.namprd12.prod.outlook.com (2603:10b6:610:142::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26; Wed, 13 Dec 2023 12:21:22 +0000 Received: from DS2PEPF0000343E.namprd02.prod.outlook.com (2603:10b6:5:3b2:cafe::71) by DS7PR03CA0164.outlook.office365.com (2603:10b6:5:3b2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Wed, 13 Dec 2023 12:21:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by DS2PEPF0000343E.mail.protection.outlook.com (10.167.18.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Wed, 13 Dec 2023 12:21:21 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 13 Dec 2023 04:21:12 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 13 Dec 2023 04:21:11 -0800 Received: from BUILDSERVER-IO-L4T.nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Wed, 13 Dec 2023 04:21:09 -0800 From: Akhil R To: , , , , , , CC: Akhil R Subject: [PATCH 2/5] gpu: host1x: Add Tegra SE to SID table Date: Wed, 13 Dec 2023 17:50:27 +0530 Message-ID: <20231213122030.11734-3-akhilrajeev@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231213122030.11734-1-akhilrajeev@nvidia.com> References: <20231213122030.11734-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: DS2PEPF0000343E:EE_|CH3PR12MB7499:EE_ X-MS-Office365-Filtering-Correlation-Id: dc0a7d8f-444a-473b-081a-08dbfbd603fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jKpFlrycgVscB7x9liVCAgqKv5InQhGiDklqHXoXoKFuumM6dvZY2ayO5y3LhUMl2y0hkXQwZYjmGjKStJSrm6EbfOkcdCAwsx44VdDq/qAqjtlcH427WV3iPhgMCt62P6LyJj14wcA/67BtFZCkDjgqFb+9mC3OeOdNHWlm0DmYwIEDm/DqC41/cJb6f3vCLicdnUBjYAtOwy3u4WS87KYiivmcLbwTBwkP3W4FHydf0cZxSXd4CvCVE87h7RFcatdpHHVLY03yi6+NGp6h/NajKI5aJsrgVbnxAv8MWcvTd47Qn2z3XFJwfaaWMyL+AP88aZZsnCuz8qoc64yTJVlUCE4rBclYp8oGhT57aDakO62FIoUDKkkHMKJkCkVzt3dhhqRLLjiDikVUeTP/SKaZlEcpawKxodHK+ohLAU4ZluisSU7zzHHcdM4R9uffeNVhmeDnop4yoGnUcaAdmWAD6gof0ha6yybw8fHUtmk4zFiYrpnu3Fb0nCCRTxTBQyqmMBsFSxMi4O1SP7CPWXjsMdl77uMOzfwWbk2qGooZoWs8EDR9pXCIrUHzi40x3HuNiJ7InyjO0y8674yQNupfFKaetc7f4jZtHE0NRz5EDJeGOdqB16N6qlWGij9LDzhgJVnKjkfJQmY1akiZ37PV8gCz3JQf7rd0WGsenVkeBs/i2GlBBnkvugY4bj/tGwFwAsNmoD5eEXnvTtYntYoKXPoLJrE7rE/e/LYYiEDUgxp+LNN8K76I7OLxft7nHw3/08Ot6rGn3GdPsDFIp8gcNBOGaSRuVJs6Xp9Murs= X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(136003)(346002)(376002)(396003)(230922051799003)(186009)(64100799003)(82310400011)(1800799012)(451199024)(36840700001)(40470700004)(46966006)(40480700001)(40460700003)(70586007)(70206006)(82740400003)(7636003)(356005)(36756003)(86362001)(36860700001)(47076005)(26005)(83380400001)(426003)(336012)(107886003)(1076003)(2616005)(4326008)(2906002)(4744005)(316002)(110136005)(6666004)(478600001)(5660300002)(8936002)(7696005)(41300700001)(8676002)(32563001)(357404004);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2023 12:21:21.0098 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc0a7d8f-444a-473b-081a-08dbfbd603fa X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF0000343E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7499 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