From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DECE3C282D8 for ; Fri, 1 Feb 2019 03:44:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3B832082C for ; Fri, 1 Feb 2019 03:44:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jEw5Mbs3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="JOiNHoRV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3B832082C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oBqumZ9eOOLYJq+98TmQNzHnVte+WzzrEQqfctfuJXU=; b=jEw5Mbs39CJ6rv o43iI03E96uXoKLz95PsdakUag4j30qg2zNlNwh4SPm+/X/lHypGGPc4L+6LipzRHsrT+xkS1JyRd UsaVOnJgDRCwC17Tqx9nWqe5hBrtQTMTWt+kNhmyv76jN2FDgiqCxaXwyuu9gpPW0yxi/aqIDhz9M 58hvHG0czM5ynIy9eUQDDlbbc137CK/au98YGRo1oOzK9uF3OneKvbQ/Vk6rFC1S0mt+21gOuPHPa MTOMvGTVVfwz7XXJHCvX5R8nUTB/hyxRq05oog4n8QjVah9+hmIZIvH/5WgYDKWR2/YWTKKj7NbHD x+wqNZGxhZTG1RaxzGHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpPkC-00013j-Nb; Fri, 01 Feb 2019 03:43:56 +0000 Received: from hqemgate16.nvidia.com ([216.228.121.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpPk9-00013Q-EU for linux-arm-kernel@lists.infradead.org; Fri, 01 Feb 2019 03:43:54 +0000 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 31 Jan 2019 19:43:11 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 31 Jan 2019 19:43:53 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 31 Jan 2019 19:43:53 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 1 Feb 2019 03:43:51 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 1 Feb 2019 03:43:52 +0000 Received: from josephl-linux.nvidia.com (Not Verified[10.19.108.132]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7, 5, 8, 10121) id ; Thu, 31 Jan 2019 19:43:51 -0800 From: Joseph Lo To: Thierry Reding , Jonathan Hunter Subject: [PATCH] arm64: dts: tegra210: Add L2 cache topology Date: Fri, 1 Feb 2019 11:43:47 +0800 Message-ID: <20190201034347.18470-1-josephl@nvidia.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-NVConfidentiality: public DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1548992591; bh=Tem64BNZk4Bo2XrHB+VOqJNn9yQCYOVq8Vn0A1BLLeU=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=JOiNHoRV3Lf5Unx8vl0wK+nV/uwxf6l0nUPlsiVwdPQkaERwrb+UrTOYl8KuKiX9k dANSzR+s1UTqyjRoEzEqbbAmUNQp2Xrb1b2KrWxjDgVhIQTP3yjlo18b22bbryUKjx WSfDGYqU0x6GPhBToioLojQRiLtRBaH6dlubVfl/ApNzwFJHP0njBMZ/ct0kPZyDU0 V1L+TauDh8eVMdkUkUOhsFJ/4UHNj9a93rf+XJ05B+i8JIQN3d9vc2yeNc+z+x/edo eEGqB27vpjA+OcnoObl1mBaSWzyFJ1TFfvoiuYkMaB38x//STubScIX5bJe0HkY2ke a8e8QfcIu2VMQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_194353_496449_6680E0CD X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add L2 cache topology. Signed-off-by: Joseph Lo --- Notice that, This patch depends on the series of CPU idle support[1]. And that one depneds on [2]. [1]: http://patchwork.ozlabs.org/project/linux-tegra/list/?series=89446 [2]: http://patchwork.ozlabs.org/project/linux-tegra/list/?series=84380 --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 75534692604c..baf3d45c46e8 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1319,6 +1319,7 @@ clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; clock-latency = <300000>; cpu-idle-states = <&C7>; + next-level-cache = <&L2>; }; cpu@1 { @@ -1326,6 +1327,7 @@ compatible = "arm,cortex-a57"; reg = <1>; cpu-idle-states = <&C7>; + next-level-cache = <&L2>; }; cpu@2 { @@ -1333,6 +1335,7 @@ compatible = "arm,cortex-a57"; reg = <2>; cpu-idle-states = <&C7>; + next-level-cache = <&L2>; }; cpu@3 { @@ -1340,6 +1343,7 @@ compatible = "arm,cortex-a57"; reg = <3>; cpu-idle-states = <&C7>; + next-level-cache = <&L2>; }; idle-states { @@ -1356,6 +1360,10 @@ status = "disabled"; }; }; + + L2: l2-cache { + compatible = "cache"; + }; }; timer { -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel