Message ID | 20241210174554.18869-3-johnliu@nvidia.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) (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 B69631F2385; Tue, 10 Dec 2024 17:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733852782; cv=fail; b=PAtvHxrm5YTW42wec3a/WQfc2DPOrOPoaVt7mhOgrPxkH+MTqdT7DSnp9P0qqMso/cdAOGde4jw2ALLx7gyefJetdsvgFsai3R9rbf2iQFR5Qs8iEiStteMvH3uR/cyETN8WXzSXUdo621z0Lyy7iTg19kznVWxvhdzDs4zhphM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733852782; c=relaxed/simple; bh=X9LNmv2qHjIw8zli3pxVjux1bnPMVxkyCwSL0Oh+X0w=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aYjbyiQ6vQPwUErVjBhIryC27NdAZdS8SPkzJv/4dXfkCR4ZIXNR0GeCos/IFLmGX93HlxUrHIi94YcPiLkdlqb64+yUu0WhozLcmFhw2/MVIMKME8pWryxcfcHFieyMkBK88JQm8d//3slVXaOppYPo3mEx+8apPQCF1KEFefA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=N/5d2JMY; arc=fail smtp.client-ip=40.107.236.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="N/5d2JMY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VsMCYIuIk3FejPmfrlvq8C9OYsVCwgCeSk4hSfiPL8DxMGoEaaZ+eUwww2Yp9BcBxbzbabvWwS8uQ8uRct/Z6IIKr+EXzOpQr/dFeoEjBIy3cUXv3n+sVMZQD62NPtXOMLqOVLeLxjVQeIsvbbVM2Ed1csZ8RbLKY7oUQElvSrAwdGzWpLTsU5AD6muHykKjrrqYTZifpPPMjhXGhnp9ZSomzkpR4bXcR5CFOezvwhrFJvWwsYoBDXzpxCpjDTLAjxvgV6n9S2R2ATAERttVIg6VzlKOJqZZfHyIIuoUQTB0wvL7EevGtQZ83hqqPjCyd4hDW3gdzpcSc4BMOxc4/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=i1Zpx32ZpJHlEx2zxr8ljF0cJYu/fUivypFZUIlSJ7Q=; b=m808g15L9limCYVMjauOTpbS8cB2R86tlVrHHhH5f4eGWxqnIj5DD7eb4Rtf6oNSqVlRN88+4Oy83nPi1axealIJ1NwnoivforXnEs0Zh0eOObj5JSGStlqjOQB3a5tH03yNCe7K+T9CgXroxsTS0cH48JrkqGLRQ5VMuVy5QBig6z438P72Cdmx2RlzFgeW4PB/3H/8S6pQUP59mturkgkFoAfw38wl9smwC7FovdtHS2aTSkDIdTTW2A/34K0DIVLGuX0YSj0th0XRjoSL4NckcoINheQ0bcBbDQOJraudf2fD60nXzYEEK+2GmzFqnaQ+pBuzPmZ+hVDU9IBqUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=gmail.com 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=i1Zpx32ZpJHlEx2zxr8ljF0cJYu/fUivypFZUIlSJ7Q=; b=N/5d2JMYvNExuFiJSkBzjgnIdAK7EWlEt8jNNUkiaRBABb/tJ81pz1lnWPRSlh3UtFs8NpCAdFw7FbJwYFBhgr7eVHaVi5CBwF/5KMSnFwBSXGENN27rOH2lXwd+eSrqpN1ITJZ5uBubqTIRqezjQ2R0BdxEC4CwjToMjdNZHdrfeeOnLykirENs7BSr71FY4S3k8an2AlQbo9HtYRiGefL5mloicOxoR7fzMs/ZaweBQZtasqSPG2iz11grnhscXVyXeggPkMM0jzgLGA1UTRIHjc9ZGhZ6BObaBXsNL8LZUnXvhmPlStNmVf8fETOv8f8GQKuqkfZn3+azF/yiYQ== Received: from BN9PR03CA0976.namprd03.prod.outlook.com (2603:10b6:408:109::21) by CH2PR12MB9494.namprd12.prod.outlook.com (2603:10b6:610:27f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15; Tue, 10 Dec 2024 17:46:16 +0000 Received: from MN1PEPF0000ECD5.namprd02.prod.outlook.com (2603:10b6:408:109:cafe::87) by BN9PR03CA0976.outlook.office365.com (2603:10b6:408:109::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.13 via Frontend Transport; Tue, 10 Dec 2024 17:46:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) 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.8251.15 via Frontend Transport; Tue, 10 Dec 2024 17:46:16 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 10 Dec 2024 09:45:58 -0800 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 10 Dec 2024 09:45:58 -0800 Received: from thinkpad-t480.nvidia.com (10.127.8.10) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 10 Dec 2024 09:45:57 -0800 From: Johnny Liu <johnliu@nvidia.com> To: <thierry.reding@gmail.com>, <jonathanh@nvidia.com>, <skomatineni@nvidia.com>, <luca.ceresoli@bootlin.com>, <mperttunen@nvidia.com>, <maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>, <tzimmermann@suse.de>, <airlied@gmail.com>, <simona@ffwll.ch>, <robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org> CC: <linux-media@vger.kernel.org>, <linux-tegra@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Johnny Liu <johnliu@nvidia.com> Subject: [PATCH v1 2/5] arm64: tegra: Add actmon information Date: Tue, 10 Dec 2024 09:45:51 -0800 Message-ID: <20241210174554.18869-3-johnliu@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241210174554.18869-1-johnliu@nvidia.com> References: <20241210174554.18869-1-johnliu@nvidia.com> X-NVConfidentiality: public Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-NV-OnPremToCloud: AnonymousSubmission X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000ECD5:EE_|CH2PR12MB9494:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b2bf168-be13-4cef-b6e2-08dd19428c21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|1800799024|376014|36860700013|82310400026|921020; X-Microsoft-Antispam-Message-Info: n3JyMH1mvnXEl27H8rSIi0CF3VcaWE6GauCrnuP0zR0zfKwcW8txMMUKfMRmhvntyO3NdXaO6SNa48FRXgPi/jWhZvOiPLk+zPy6YhIIeGurvOWvPqxMgh5SLf96aX9b4Wg1aLbc9IstXDl2mpN9ObdH3arxwSC8//tyrHYvxivDmXZkZYVPN8juQcsx1J0D7LevcoQ40j9pxbrURjqtQZDvx0mHTRDsfkKXohIIXV40tCj+KiSLSGzMLGpAjTsNAJH/1XSe8vLU6uMVfkX5fRVzL3tIbvssezTakJkTYWLDjYIgwVp0aB17ou84nzjectdtDQM/6uT0dm5LnWZu2aHN8vscqHU89bd6dTGR0Glv9WXn4hyYfsetvo4NnkG4mpw6wTVopeotJJzhu+x2ltDfm6n1xyyWkK3kHdqUrn28XQed+SJ2JtjeO/VohH7pPD8H9KZ16AaB28O2K3wlhgA2cFopHs0M3Kz2B0go0eagziMF80w+c+0UFou8/BjsVdRxKKwrQ1WH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SFS:(13230040)(7416014)(1800799024)(376014)(36860700013)(82310400026)(921020);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2024 17:46:16.4002 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b2bf168-be13-4cef-b6e2-08dd19428c21 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.233];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: CH2PR12MB9494 |
Series |
Support host1x actmon
|
expand
|
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index 984c85eab41af..8faeef83d7596 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -4313,8 +4313,9 @@ host1x@13e00000 { compatible = "nvidia,tegra234-host1x"; reg = <0x0 0x13e00000 0x0 0x10000>, <0x0 0x13e10000 0x0 0x10000>, - <0x0 0x13e40000 0x0 0x10000>; - reg-names = "common", "hypervisor", "vm"; + <0x0 0x13e40000 0x0 0x10000>, + <0x0 0x13ef0000 0x0 0x60000>; + reg-names = "common", "hypervisor", "vm", "actmon"; interrupts = <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>, @@ -4326,8 +4327,9 @@ host1x@13e00000 { <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "syncpt0", "syncpt1", "syncpt2", "syncpt3", "syncpt4", "syncpt5", "syncpt6", "syncpt7", "host1x"; - clocks = <&bpmp TEGRA234_CLK_HOST1X>; - clock-names = "host1x"; + clocks = <&bpmp TEGRA234_CLK_HOST1X>, + <&bpmp TEGRA234_CLK_ACTMON>; + clock-names = "host1x", "actmon"; #address-cells = <2>; #size-cells = <2>;
An activity monitor (actmon) is used to measure the device runtime utilization to help drive software power management policies. Configuration of actmon is under the host1x address space. Therefore, add the actmon aperture under the host1x. All unit actmons for host1x clients share the same actmon clock source from host1x. Therefore, add the clock phandle in host1x. Signed-off-by: Johnny Liu <johnliu@nvidia.com> --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)