From patchwork Mon Aug 10 12:22:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Tucker X-Patchwork-Id: 247584 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp4812183ilo; Mon, 10 Aug 2020 05:22:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwojo1QKDlfa5kBfTYPBulZX94sxUjH9bVG29fgili3rIhG5NUOW/QzJCwjdMg4rPynwS5f X-Received: by 2002:a17:906:f1da:: with SMTP id gx26mr21611723ejb.129.1597062155938; Mon, 10 Aug 2020 05:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597062155; cv=none; d=google.com; s=arc-20160816; b=EcR517b7eKbP22sZ113OxuVgxWEZ/znrbjRiADGiSt0xY1CmF+cbLeO5k0OntW19Ll zqO2OyCFVTBRQAPZ88igH45vc4NDLWkLCvzCVV+5rKl4T9wrJLvgHzZkXNntCJq6rnIf l9z33w2ztYOVP6gqnp9loWVWuZpUypcRlXRLTzr5EjXFbTu70jiGtSLZI0cBNu9AJErr a9JKuyY9mTpu905te0MsXpOyl/E2x3ldqwSl5E2P4f8IKZ6fo7VHMeC/gbpp5qxJJx8S oDWWprAmbQM6Nqfzs335EjvnRFhm5ADaiJeW1rA/0nWKufVNBvakrb9yeN06jJtWHP4W cQAQ== 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=pj0ud0fQWY4qzoP6NYHRHRanAkauaWNhYMSIHq4e/e2L7npUBIM8r4BNlx3PyY7X9a JM5DLYGsT4zgMKDXc2p64LkyxFo6aUNxZ5q5VcH6upYy9GwHxEwFz8iN1Ao9TaQKgde6 r+98QWofDdw4+8BL9Jp3oZXSfb1pPNE+BkuHDPkCDusHWsAcnaDctLTmoWhMo/x0Lm5j cHooqrtjEhbJHIaNY4cl90abUixmyMAQRJTSy/jVyVj5S8ObBwzBcxBD0ydBOXp+ektR 8YzJ8eUvzjq2QAUeuqoNF0yus/l/iE+g1OTDTX2LuXLNK3nZS6aYBKOq4D3+CG6C4ol/ K3lg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 j11si10424690edq.584.2020.08.10.05.22.35; Mon, 10 Aug 2020 05:22:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-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-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 S1726685AbgHJMW2 (ORCPT + 4 others); Mon, 10 Aug 2020 08:22:28 -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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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(+) -- 2.20.1 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>;