Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4265679pxa; Mon, 10 Aug 2020 05:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1RfDSq3TwZb4uXaLpPtBJKI9Jb5XJvf+Mk3iW6clYkMT61/ealiy/Zn3X2RDX1vR00iID X-Received: by 2002:a05:6402:3128:: with SMTP id dd8mr20192166edb.97.1597062207757; Mon, 10 Aug 2020 05:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597062207; cv=none; d=google.com; s=arc-20160816; b=s/GNahTt1xAN7AJGpbBwbq50JVd1a8Wy1S307MOI9nzb19yTZao3LhZfpMw1Eb1UH5 isZ4+8SnS3AB/hQ7QPwNlU7MdU5qeMcN5Ffw5giRnC2TCxzLFMGo0ig+GjKcAzhTkkaP +DUnK7iJzzaju/f9hbJmt6sG+4fczra0wY8qId5h9Pgt6NfDjwgnfHOEre/gqrtWVh3j wtlvR3GrVgcFk83Sq0P4Nq0CGqABe24IMiUgBQkB6KjfJlnnXRq4JzcB/pOSQDqwATfK l936i94wtMqVvABbWwxYGuZdk+LAaKVhHboWGBOd0iobKBcXAp75qb3WeNpKKPOk+hPz G+Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=olTCRNAOLL8/DWuA3TvVTks1ebIYVmwubNiFx6UsCqo=; b=lidcBMqi1aj1uR+qjhCSycBOGu766m9In9vQTaFrNWvSNaST0TDXGpf6MPxHRW4SoM 3wpv8XuGOVC8GE1pfBPkyq0SPMwQvcCXTvJlinyFim59TP41ZXEnZsz8Pm3kxqQ743Gt lSWYyH5+dDtDhhX74ihv1fwbzdbTVOG2gwXut047CUgTwz6NMhUq7qLl51MaG3K0UNwd XP9SpUlF54XV0WnTDtmCuVXptdQGAg86xl3bvcxB8e3BEPmsTubDn2KOJd6Tmg/klZHP duRBolfYllFDHOF3VBCt6wxg1k2Yc0pWB55w1yFnwFKOn6ZEcDCMP6bqIwsNCQAgV8jd zm8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo2si10470475ejb.633.2020.08.10.05.23.04; Mon, 10 Aug 2020 05:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726705AbgHJMW3 (ORCPT + 99 others); Mon, 10 Aug 2020 08:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbgHJMW1 (ORCPT ); Mon, 10 Aug 2020 08:22:27 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F06FBC061756; Mon, 10 Aug 2020 05:22:26 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id C26AD293510 From: Guillaume Tucker To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Rob Herring Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] ARM: dts: exynos: add prefetch properties for L2C-310 cache Date: Mon, 10 Aug 2020 13:22:07 +0100 Message-Id: <30cb8edca2185241471ee1318b05288900652521.1597061474.git.guillaume.tucker@collabora.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> References: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devicetree properties to enable instruction and data prefetch on exynos4210 and exynos4412 which use the L2C-310 cache. No other Exynos chip appears to be using this L2 cache hardware. This follows the default bits being set in the l2c_aux_val register for the Exynos platform, which can now be cleared as a result. Signed-off-by: Guillaume Tucker --- Notes: v2: split patch to include devicetree changes only arch/arm/boot/dts/exynos4210.dtsi | 2 ++ arch/arm/boot/dts/exynos4412.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index b4466232f0c1..7e0d253b26ef 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -102,6 +102,8 @@ reg = <0x10502000 0x1000>; cache-unified; cache-level = <2>; + prefetch-data = <1>; + prefetch-instr = <1>; arm,tag-latency = <2 2 1>; arm,data-latency = <2 2 1>; }; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index 48868947373e..37efa247bf4d 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -218,6 +218,8 @@ reg = <0x10502000 0x1000>; cache-unified; cache-level = <2>; + prefetch-data = <1>; + prefetch-instr = <1>; arm,tag-latency = <2 2 1>; arm,data-latency = <3 2 1>; arm,double-linefill = <1>; -- 2.20.1