All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Pierre Gondois <pierre.gondois@arm.com>
Cc: linux-kernel@vger.kernel.org,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Scott Branden" <sbranden@broadcom.com>,
	"Tsahee Zidenberg" <tsahee@annapurnalabs.com>,
	"Antoine Tenart" <atenart@kernel.org>,
	"Neil Armstrong" <neil.armstrong@linaro.org>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Jerome Brunet" <jbrunet@baylibre.com>,
	"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
	"Sudeep Holla" <sudeep.holla@arm.com>,
	"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Alim Akhtar" <alim.akhtar@samsung.com>,
	"Shawn Guo" <shawnguo@kernel.org>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Andreas Färber" <afaerber@suse.de>,
	"Matthias Brugger" <mbrugger@suse.com>,
	"Wei Xu" <xuwei5@hisilicon.com>,
	"Chanho Min" <chanho.min@lge.com>, "Andrew Lunn" <andrew@lunn.ch>,
	"Gregory Clement" <gregory.clement@bootlin.com>,
	"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>,
	"Lars Povlsen" <lars.povlsen@microchip.com>,
	"Steen Hegelund" <Steen.Hegelund@microchip.com>,
	"Daniel Machon" <daniel.machon@microchip.com>,
	"Avi Fishman" <avifishman70@gmail.com>,
	"Tomer Maimon" <tmaimon77@gmail.com>,
	"Tali Perry" <tali.perry1@gmail.com>,
	"Patrick Venture" <venture@google.com>,
	"Nancy Yuen" <yuenn@google.com>,
	"Benjamin Fair" <benjaminfair@google.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konrad.dybcio@somainline.org>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Magnus Damm" <magnus.damm@gmail.com>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Kunihiko Hayashi" <hayashi.kunihiko@socionext.com>,
	"Masami Hiramatsu" <mhiramat@kernel.org>,
	"Jisheng Zhang" <jszhang@kernel.org>,
	"Nishanth Menon" <nm@ti.com>,
	"Vignesh Raghavendra" <vigneshr@ti.com>,
	"Tero Kristo" <kristo@kernel.org>, "Peng Fan" <peng.fan@nxp.com>,
	"Lucas Stach" <l.stach@pengutronix.de>,
	"Adam Ford" <aford173@gmail.com>,
	"Tim Harvey" <tharvey@gateworks.com>,
	"Richard Zhu" <hongxing.zhu@nxp.com>,
	"Joakim Zhang" <qiangqing.zhang@nxp.com>,
	"Markus Niebel" <Markus.Niebel@ew.tq-group.com>,
	"Marek Vasut" <marex@denx.de>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
	"Alexander Stein" <alexander.stein@ew.tq-group.com>,
	"Paul Elder" <paul.elder@ideasonboard.com>,
	"David Heidelberg" <david@ixit.cz>,
	"Oliver Graute" <oliver.graute@kococonnector.com>,
	"Liu Ying" <victor.liu@nxp.com>, "Jacky Bai" <ping.bai@nxp.com>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Vidya Sagar" <vidyas@nvidia.com>,
	"Johan Jonker" <jbx6244@gmail.com>,
	"Ezequiel Garcia" <ezequiel@vanguardiasur.com.ar>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 00/23] Update cache properties for arm64 DTS
Date: Mon, 7 Nov 2022 17:11:52 -0600	[thread overview]
Message-ID: <20221107231152.GB1779129-robh@kernel.org> (raw)
In-Reply-To: <20221107155825.1644604-1-pierre.gondois@arm.com>

On Mon, Nov 07, 2022 at 04:56:53PM +0100, Pierre Gondois wrote:
> v2:
> - Update/Add patches for missed cache properties requiring to be
>   updated for the following platforns: bcm, amazon, arm, exynos,
>   freescale, marvell, mediatek, nvidia, socinext, tesla, ti.
>   Missed cache properties were detected using Rob Herring's branch:
>   https://github.com/robherring/dt-schema/tree/cache-rework
> - v1 of exynos, tesla were merged.
> - Updated wrong reference in commit message.
> - Added received Rb/Acked-by.
> 
> Align arm64 DTS to the DeviceTree specification v0.3 regarding
> cache properties. The patch-set mainly adds 'cache-level' or
> 'cache' compatibility properties.
> For one qcom DTS, level 1 cache nodes are removed as they should
> be in the cpu nodes.
> 
> On another node, it seems that the 'cache-unified' is under-used.
> cache-unified:
>   If present, specifies the cache has a unified or-
>   ganization. If not present, specifies that the
>   cache has a Harvard architecture with separate
>   caches for instructions and data.
> Only a few l2 cache nodes have this property, and in the absence
> of [|d|i]-cache-size properties (or other), the cache is assumed to be
> split.
> 
> The l2 cache of the Rockchip RK3308 platform is thus assumed to be
> split:
> l2: l2-cache {
> 	compatible = "cache";
> 	cache-level = <2>;
> };
> when the platform datasheet advertises a unified cache.
> 
> No modification/check was made to correct that due to the lack of
> cache information for most platforms.

I suppose in theory a split L2 is possible, but I think in practice that 
doesn't exist. The Arm ARM allows for such a thing, but this[1] says L2 
caches are unified. IMO, we should just define level 2+ is unified in 
the schema and we can relax that if ever needed. I've updated the cache 
schema branch[2] with that requirement.

Rob

[1] https://developer.arm.com/documentation/den0024/a/Caches/Cache-terminology
[2] https://github.com/robherring/dt-schema/tree/cache-rework

  parent reply	other threads:[~2022-11-07 23:12 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 15:56 [PATCH v2 00/23] Update cache properties for arm64 DTS Pierre Gondois
2022-11-07 15:56 ` Pierre Gondois
2022-11-07 15:56 ` [PATCH v2 01/23] arm64: dts: Update cache properties for amazon Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2023-01-12  8:34   ` Pierre Gondois
2023-01-12  8:34     ` Pierre Gondois
2022-11-07 15:56 ` [PATCH v2 02/23] arm64: dts: Update cache properties for amd Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2023-01-12  8:34   ` Pierre Gondois
2023-01-12 15:31   ` Tom Lendacky
2023-01-12 15:31     ` Tom Lendacky
2022-11-07 15:56 ` [PATCH v2 03/23] arm64: dts: Update cache properties for amlogic Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2022-11-07 15:56 ` [PATCH v2 04/23] arm64: dts: Update cache properties for apm Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2023-01-12  8:33   ` Pierre Gondois
2022-11-07 15:56 ` [PATCH v2 05/23] arm64: dts: Update cache properties for arm Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2022-11-11 15:56   ` Sudeep Holla
2022-11-07 15:56 ` [PATCH v2 06/23] arm64: dts: Update cache properties for broadcom Pierre Gondois
2022-11-07 15:56   ` Pierre Gondois
2022-11-07 17:31   ` Florian Fainelli
2022-11-07 17:58     ` Pierre Gondois
2022-11-16 18:22       ` Florian Fainelli
2022-11-17  9:39         ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 07/23] arm64: dts: Update cache properties for exynos Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-07 17:55   ` Krzysztof Kozlowski
2022-11-07 17:55     ` Krzysztof Kozlowski
2022-11-07 18:24     ` Pierre Gondois
2022-11-07 18:24       ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 08/23] arm64: dts: Update cache properties for freescale Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-14 11:41   ` Shawn Guo
2022-11-07 15:57 ` [PATCH v2 09/23] arm64: dts: Update cache properties for hisilicon Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-16  2:17   ` Wei Xu
2022-11-07 15:57 ` [PATCH v2 10/23] arm64: dts: Update cache properties for lg Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:34   ` Pierre Gondois
2023-01-12  8:34     ` Pierre Gondois
2023-01-13  1:12     ` Chanho Min
2023-01-13  1:12       ` Chanho Min
2022-11-07 15:57 ` [PATCH v2 11/23] arm64: dts: Update cache properties for marvell Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 12/23] arm64: dts: Update cache properties for mediatek Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-08 11:42   ` Matthias Brugger
2022-11-08 11:42     ` Matthias Brugger
2022-11-07 15:57 ` [PATCH v2 13/23] arm64: dts: Update cache properties for microchip Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:33   ` Pierre Gondois
2023-01-12  8:33     ` Pierre Gondois
2023-01-18  8:21   ` Steen Hegelund
2023-01-18  8:21     ` Steen Hegelund
2022-11-07 15:57 ` [PATCH v2 14/23] arm64: dts: Update cache properties for nuvoton Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:34   ` Pierre Gondois
2023-01-12  8:34     ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 15/23] arm64: dts: Update cache properties for nvidia Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 16/23] arm64: dts: Update cache properties for qcom Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-12-29 12:47   ` Krzysztof Kozlowski
2022-12-29 12:47     ` Krzysztof Kozlowski
2022-12-29 17:23   ` (subset) " Bjorn Andersson
2022-12-29 17:23     ` Bjorn Andersson
2022-11-07 15:57 ` [PATCH v2 17/23] arm64: dts: Update cache properties for realtek Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:33   ` Pierre Gondois
2023-01-12  8:33     ` Pierre Gondois
2023-01-12  8:51     ` Andreas Färber
2023-01-12  8:51       ` Andreas Färber
2022-11-07 15:57 ` [PATCH v2 18/23] arm64: dts: Update cache properties for renesas Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-08  8:34   ` Geert Uytterhoeven
2022-11-07 15:57 ` [PATCH v2 19/23] arm64: dts: Update cache properties for rockchip Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 20/23] arm64: dts: Update cache properties for socionext Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:33   ` Pierre Gondois
2023-01-12  8:33     ` Pierre Gondois
2023-01-12 10:27     ` Kunihiko Hayashi
2023-01-12 10:27       ` Kunihiko Hayashi
2022-11-07 15:57 ` [PATCH v2 21/23] arm64: dts: Update cache properties for synaptics Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-12  8:32   ` Pierre Gondois
2023-01-12  8:32     ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 22/23] arm64: dts: Update cache properties for tesla Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2022-11-07 17:56   ` Krzysztof Kozlowski
2022-11-07 18:23     ` Pierre Gondois
2022-11-07 18:23       ` Pierre Gondois
2022-11-07 15:57 ` [PATCH v2 23/23] arm64: dts: Update cache properties for ti Pierre Gondois
2022-11-07 15:57   ` Pierre Gondois
2023-01-17 13:41   ` (subset) " Raghavendra, Vignesh
2023-01-17 13:41     ` Raghavendra, Vignesh
2022-11-07 17:23 ` (subset) [PATCH v2 00/23] Update cache properties for arm64 DTS Neil Armstrong
2022-11-07 17:23   ` Neil Armstrong
2022-11-07 18:03 ` Krzysztof Kozlowski
2022-11-07 18:03   ` Krzysztof Kozlowski
2022-11-07 23:11 ` Rob Herring [this message]
2022-11-22 22:34 ` (subset) " Heiko Stuebner
2022-11-22 22:34   ` Heiko Stuebner
2022-11-22 22:34   ` Heiko Stuebner
2023-01-12  8:33 ` Pierre Gondois
2023-01-12  8:33   ` Pierre Gondois

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221107231152.GB1779129-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=Markus.Niebel@ew.tq-group.com \
    --cc=Steen.Hegelund@microchip.com \
    --cc=afaerber@suse.de \
    --cc=aford173@gmail.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=alim.akhtar@samsung.com \
    --cc=andersson@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=atenart@kernel.org \
    --cc=avifishman70@gmail.com \
    --cc=benjaminfair@google.com \
    --cc=chanho.min@lge.com \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=daniel.machon@microchip.com \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.org \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=f.fainelli@gmail.com \
    --cc=geert+renesas@glider.be \
    --cc=gregory.clement@bootlin.com \
    --cc=hayashi.kunihiko@socionext.com \
    --cc=heiko@sntech.de \
    --cc=hongxing.zhu@nxp.com \
    --cc=jbrunet@baylibre.com \
    --cc=jbx6244@gmail.com \
    --cc=jszhang@kernel.org \
    --cc=khilman@baylibre.com \
    --cc=konrad.dybcio@somainline.org \
    --cc=kristo@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=l.stach@pengutronix.de \
    --cc=lars.povlsen@microchip.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=marex@denx.de \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mbrugger@suse.com \
    --cc=mhiramat@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=nm@ti.com \
    --cc=oliver.graute@kococonnector.com \
    --cc=paul.elder@ideasonboard.com \
    --cc=peng.fan@nxp.com \
    --cc=pierre.gondois@arm.com \
    --cc=ping.bai@nxp.com \
    --cc=qiangqing.zhang@nxp.com \
    --cc=rafal@milecki.pl \
    --cc=s.hauer@pengutronix.de \
    --cc=sbranden@broadcom.com \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=shawnguo@kernel.org \
    --cc=sudeep.holla@arm.com \
    --cc=tali.perry1@gmail.com \
    --cc=tharvey@gateworks.com \
    --cc=thierry.reding@gmail.com \
    --cc=tmaimon77@gmail.com \
    --cc=tsahee@annapurnalabs.com \
    --cc=venture@google.com \
    --cc=victor.liu@nxp.com \
    --cc=vidyas@nvidia.com \
    --cc=vigneshr@ti.com \
    --cc=xuwei5@hisilicon.com \
    --cc=yuenn@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.