From patchwork Sat Jan 14 23:34:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 642763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C0DDC3DA78 for ; Sat, 14 Jan 2023 23:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjANXfK (ORCPT ); Sat, 14 Jan 2023 18:35:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbjANXfH (ORCPT ); Sat, 14 Jan 2023 18:35:07 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9BC1A247; Sat, 14 Jan 2023 15:35:06 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id w14so18772950edi.5; Sat, 14 Jan 2023 15:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0cotKAnGSNZR0YjZladix62jgHe5lpxQaAFYHqTe708=; b=miszWXtcuJ9nwlWcBSR6eUN++o6TN2IEYVGNjKGUWW7U/vkco4/E7qAAZJV4gui0LJ RCG+s2EaElkr5cLHuw2acuAg7TcZTdsNVUsDTVuJq7QlH+BU1EftXJiWku2fIyoAHJdx 4iNI7kdRrLAe0PIJw+YvPX5KUECJ2/VFX++/fVUMaXMQ7L8xNFLYyNjwM1n8sWx9FdzQ 1IIpstVtSySd37cCXjsb7VGui+lGDblP9QmGrpNO5GVzDfbEhYUE8YrY2rX0tHAduJtg g1VXRpso7v/oIHp2BbaYx8WqK5oMkVDAdNbtRHUNwfjm1E7wVOkWlYgnk5rK/bIDXNdX Fd2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0cotKAnGSNZR0YjZladix62jgHe5lpxQaAFYHqTe708=; b=2Af3827mxXE4FewWca4MDGEGVjRCEn7AWjfpU6jmRXgteS2g0t3XOgvU3EtpfsSfV5 cC5q1viVZlcqrf4hV2qBwIjfMdA/Q2gqBb/JSk/OpxOyljKgxhbzTngICu8iOowLvP3P Gb+iKOWG9+vUmR1X+yaY1WkfJkfiY8gXNLpexvw4kl2OQF2JAaKB616i9nZ96sLM0fO5 aVTIkwioWITqZLAxTGXXmY3HfWeGJcTEIkrv7twDfaM4qDbNvEIUuexaa5LzljD7QrkF zi+/3Zi5srf2mrfIjiw9xK+2Na7pHpk6Vdu+U1ZzDL1ySr/WvPL6OhZNKZELZ6EXaMQ7 c8LA== X-Gm-Message-State: AFqh2kqbguhBYmrvn2t3b+2IRH2K4Au5P9gh8ndDXJ5A823JqMTJPCvx IPa1vEABmvqdFXPvYgd4IagAiHmMYos= X-Google-Smtp-Source: AMrXdXvjzrQIUaW9aQ28BVLrEo7vqBPKaOk9o0w8kM1k7NSj1rkSEEloX49EAX9JaTySf29E4nUQUQ== X-Received: by 2002:aa7:cd18:0:b0:49d:f700:b225 with SMTP id b24-20020aa7cd18000000b0049df700b225mr2417077edw.28.1673739305032; Sat, 14 Jan 2023 15:35:05 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c22-7ae1-c100-0000-0000-0000-0e63.c22.pool.telefonica.de. [2a01:c22:7ae1:c100::e63]) by smtp.googlemail.com with ESMTPSA id d7-20020a50fb07000000b0049cbd334b13sm1967620edq.29.2023.01.14.15.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Jan 2023 15:35:04 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, devicetree@vger.kernel.org, Martin Blumenstingl Subject: [PATCH v1 1/2] ARM: dts: meson8: Add more L2 (PL310) cache properties Date: Sun, 15 Jan 2023 00:34:54 +0100 Message-Id: <20230114233455.2005047-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230114233455.2005047-1-martin.blumenstingl@googlemail.com> References: <20230114233455.2005047-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add more L2 cache properties which are used by the 3.10 vendor kernel but have not made it upstream yet. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 0f8bac8bac8b..a86f6afb8f87 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -651,6 +651,9 @@ &L2 { arm,filter-ranges = <0x100000 0xc0000000>; prefetch-data = <1>; prefetch-instr = <1>; + arm,prefetch-offset = <7>; + arm,double-linefill = <1>; + arm,prefetch-drop = <1>; arm,shared-override; }; From patchwork Sat Jan 14 23:34:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 642997 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48D13C677F1 for ; Sat, 14 Jan 2023 23:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230380AbjANXfL (ORCPT ); Sat, 14 Jan 2023 18:35:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbjANXfI (ORCPT ); Sat, 14 Jan 2023 18:35:08 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4080BA248; Sat, 14 Jan 2023 15:35:07 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id x36so1418152ede.13; Sat, 14 Jan 2023 15:35:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GWVrESddhMcKV9qP+Dkj74fkQan5eC2qiWVTWYlr+WE=; b=aSpgkeU/VZC36HH2IOCrApSC6/dnJxHVVhk/EP4hS7lxvlqwG8haUfghF65tQrDYRM bd90WFiY6wgmjeUadxvJRKvRuEKPd4aiNxIT5U/ERvXOpzsNzvMHVfapgUNRI7/rlntv 7eXneQ577hZthSj4JsI3XGgQrKAsGZQbuBshsyKJPEEYolvoJ/BjgjC0vvhlkWlF+BXf vWRO7Dw87Vvap0MZCKCheSMarlo+SqyrU9lpsPABprq5aAgQDbBcWEZUsb1I7Afj4NI4 X0emxf2gFSLoMKG9/ZLrIiTvqA7OHeRlT35JXqqei8VjHO7sQON83giV9fMVGvVFanQt s5iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GWVrESddhMcKV9qP+Dkj74fkQan5eC2qiWVTWYlr+WE=; b=yaEfFO7/oon/Qq6P6COtr0l3EtjxZ+dBbPqnWQWpVOTPAYnlqC+jML4xD2wOVLfALq 6ovpjsffffOHWRQ7F4cau8vWG+HEVZfrQ9TykVdItNtN5dGj92fcUfaw/T2k68FPcK/N 8WvlQDDT3cAsZJ21pzsn9t2Qmay++s38F2vunKUidHStih94eAtz1GR48s06CeD5sIe3 xd6+P0RAhssZRKTiLR8z4yLlRfK6pc7XTgS9ySqOYAd1ilQTPH8C0Dt3fW/ENpxtpfs/ grXDXdFytjwBVItno6wXo36yEnTNrj3YbL0h4dOrlPFtFCkw5Jr8+bX9+aM+ZT5oSkor nhzQ== X-Gm-Message-State: AFqh2kr8SQEylwGnjEOiXvbA8UwQUL1KDX1Zw/iuKm0ndWqnl64bjmpB pcCquPjYtKdBpwUaXimz4S0= X-Google-Smtp-Source: AMrXdXuSopPP0FVI3dTqxvJnvWR//Ng9ic9FQLSlfUHndfsNGtoMtLC4QGI5TgHARiRWhJ0kzZHNGA== X-Received: by 2002:a05:6402:2d9:b0:499:d0e3:7745 with SMTP id b25-20020a05640202d900b00499d0e37745mr14991236edx.14.1673739305751; Sat, 14 Jan 2023 15:35:05 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c22-7ae1-c100-0000-0000-0000-0e63.c22.pool.telefonica.de. [2a01:c22:7ae1:c100::e63]) by smtp.googlemail.com with ESMTPSA id d7-20020a50fb07000000b0049cbd334b13sm1967620edq.29.2023.01.14.15.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Jan 2023 15:35:05 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, neil.armstrong@linaro.org, devicetree@vger.kernel.org, Martin Blumenstingl Subject: [PATCH v1 2/2] ARM: dts: meson8b: Add more L2 (PL310) cache properties Date: Sun, 15 Jan 2023 00:34:55 +0100 Message-Id: <20230114233455.2005047-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230114233455.2005047-1-martin.blumenstingl@googlemail.com> References: <20230114233455.2005047-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add more L2 cache properties which are used by the 3.10 vendor kernel but have not made it upstream yet. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index cf9c04a61ba3..2d80c009bdfa 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -643,6 +643,9 @@ &L2 { arm,filter-ranges = <0x100000 0xc0000000>; prefetch-data = <1>; prefetch-instr = <1>; + arm,prefetch-offset = <7>; + arm,double-linefill = <1>; + arm,prefetch-drop = <1>; arm,shared-override; };