From patchwork Fri Feb 1 03:43:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Lo X-Patchwork-Id: 10791761 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9462E139A for ; Fri, 1 Feb 2019 03:43:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 807352E24C for ; Fri, 1 Feb 2019 03:43:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F0D82E403; Fri, 1 Feb 2019 03:43:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E5AAE2E24C for ; Fri, 1 Feb 2019 03:43:58 +0000 (UTC) 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-Ha; 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 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {