From patchwork Wed Oct 5 13:53:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9362945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F7FB6077E for ; Wed, 5 Oct 2016 13:54:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21F0C28763 for ; Wed, 5 Oct 2016 13:54:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16A1328956; Wed, 5 Oct 2016 13:54:48 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 30D5028763 for ; Wed, 5 Oct 2016 13:54:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1brmea-0000nX-Cg; Wed, 05 Oct 2016 13:54:36 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1brmeJ-0000eA-VZ for linux-amlogic@lists.infradead.org; Wed, 05 Oct 2016 13:54:21 +0000 Received: by mail-lf0-x235.google.com with SMTP id x79so18255079lff.0 for ; Wed, 05 Oct 2016 06:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=bv7Cippeop5Q9GMrbhJYpGaJiSuDXYc/8YjyP4QWAq8=; b=b9wWm2NuSLtSn9y0s1bcH69mV07umWfh/O2wWlqrtdhEDuz/hhlb9l287ffQnBJQwQ sNUSECP5ONPT/cHDl29EJepa6ZBEPezEl4MiWWuTHBWKT1ePyO/LZ9moTmRURV22gS5M DDNcywLaq6jxqG6xshy1IQn4FrE0CKVMnkHMI5Z4jfp4xISwAc+Ion0l4q6EBE7xm7pv 4r8AJm2fMN5EHi/0hrSoaumQPMt3QWsqBLs5fH84qGTA+UiSpE11JJAMx1bcRVR5VH2V srdAEPCzY0XqB7GJozryCeEcXQPndRoSy1vklBKF/CN+QX256pzX2Gawddd09iU0JmR3 6FRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bv7Cippeop5Q9GMrbhJYpGaJiSuDXYc/8YjyP4QWAq8=; b=kDUrvdjCmUjluncn5iVJl73DYaIeGoTGdHahCyhjwGotGumyeiFTVl4vf+xj7+aJ5j maUFWQtS9eZ4v0LSziVg6CX5nJRFfQlV7SgaiaSHZ0NBVfF9at9mpvl5y1sp8mFcmM6D 8sgdFXSn4IRUILKeBV9v9MIsX5u0Hb+4oUqQAEohIeura0cSfqW+B7R7d/1uO7tjG+L/ 7wAn5z4U7r9cqt3i69vMw4WZaC6BGLg1PLGFHNiao09bObvZ09fVmVp1MDkQzT8YeY97 QjYhJpVBF99z7zNA7zFK+wqMpimNkwGFVeKVERnGv90IYueuOXku80d/OXTyxwLCnAH9 Mj2A== X-Gm-Message-State: AA6/9RkbsMeXMKlR6KTxCJDABREe+vBsRoz98zZTMa7h098NYZvzglbIMIDQolzq6IZbheX4 X-Received: by 10.194.188.113 with SMTP id fz17mr9711997wjc.179.1475675637404; Wed, 05 Oct 2016 06:53:57 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a1sm9160179wju.41.2016.10.05.06.53.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Oct 2016 06:53:56 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Subject: [PATCH] ARM64: dts: meson-gx: Add missing L2 cache node Date: Wed, 5 Oct 2016 15:53:50 +0200 Message-Id: <1475675630-31514-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161005_065420_378249_91D79FD8 X-CRM114-Status: UNSURE ( 7.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In order to remove the boot warning : [ 2.290933] Unable to detect cache hierarchy from DT for CPU 0 And add missing L2 cache hierarchy information, add a simple l2 cache node and reference it from the A53 cpu nodes. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 0737056..a6cd953 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -64,6 +64,7 @@ compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0 0x0>; enable-method = "psci"; + next-level-cache = <&l2>; }; cpu1: cpu@1 { @@ -71,6 +72,7 @@ compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0 0x1>; enable-method = "psci"; + next-level-cache = <&l2>; }; cpu2: cpu@2 { @@ -78,6 +80,7 @@ compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0 0x2>; enable-method = "psci"; + next-level-cache = <&l2>; }; cpu3: cpu@3 { @@ -85,6 +88,11 @@ compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0 0x3>; enable-method = "psci"; + next-level-cache = <&l2>; + }; + + l2: l2-cache0 { + compatible = "cache"; }; };