[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9410ffc0-3bc0-028d-cf67-b67bc54ef600@marcan.st>
Date: Mon, 28 Nov 2022 20:57:34 +0900
From: Hector Martin <marcan@...can.st>
To: Rob Herring <robh@...nel.org>, Sven Peter <sven@...npeter.dev>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: apple: Add t600x L1/L2 cache properties and
nodes
On 23/11/2022 07.06, Rob Herring wrote:
> The t600x CPU nodes are missing the cache hierarchy information. The
> cache hierarchy on Arm can not be detected and needs to be described in
> DT. The OS scheduler can make use of this information for scheduling
> decisions.
>
> The cache size information is based on various articles about the
> processors. There's also an L3 system level cache (SLC). It's not
> described here because SLCs typically have some MMIO interface which
> would need to be described.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> Based on apple dts changes in linux-next.
>
> This fixes the warning: Unable to detect cache hierarchy for CPU %d
> ---
> arch/arm64/boot/dts/apple/t6002.dtsi | 51 +++++++++++++++++++++
> arch/arm64/boot/dts/apple/t600x-common.dtsi | 51 +++++++++++++++++++++
> 2 files changed, 102 insertions(+)
>
[...]
Applied to asahi-soc/dt, thanks!
I probably won't send this one up until the 6.3 cycle; I've rebased our
downstream bits/000-devicetree on top so it'll get some downstream
testing before going upstream (and in the meantime someone should get
around to adding these for the other chips too ;)).
Cheers,
- Hector
Powered by blists - more mailing lists