devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Add CPU caches information for some MediaTek SoCs
@ 2022-12-06 11:23 AngeloGioacchino Del Regno
  2022-12-06 11:23 ` [PATCH 1/5] arm64: dts: mt8195: Add complete CPU caches information AngeloGioacchino Del Regno
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-12-06 11:23 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, nfraprado, kernel, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel,
	AngeloGioacchino Del Regno

In devicetrees for MediaTek SoCs the CPU caches information, if
present, is incomplete as it misses cache size, cache line size
and number of cache sets which, in turn, will also prevent any
cache associativity calculation.

For all of the SoCs that I know and/or I have information for,
I've added the right information for I/D, L2 and L3 where present.
This will also make the cacheinfo driver to correctly export the
CPU cache information to sysfs.

AngeloGioacchino Del Regno (5):
  arm64: dts: mt8195: Add complete CPU caches information
  arm64: dts: mt8192: Add complete CPU caches information
  arm64: dts: mt8186: Add complete CPU caches information
  arm64: dts: mt8183: Add complete CPU caches information
  arm64: dts: mt6795: Add complete CPU caches information

 arch/arm64/boot/dts/mediatek/mt6795.dtsi | 50 ++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 74 ++++++++++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8186.dtsi | 58 +++++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 58 +++++++++++++++++++
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 58 +++++++++++++++++++
 5 files changed, 298 insertions(+)

-- 
2.38.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-16 11:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 11:23 [PATCH 0/5] Add CPU caches information for some MediaTek SoCs AngeloGioacchino Del Regno
2022-12-06 11:23 ` [PATCH 1/5] arm64: dts: mt8195: Add complete CPU caches information AngeloGioacchino Del Regno
2022-12-06 11:23 ` [PATCH 2/5] arm64: dts: mt8192: " AngeloGioacchino Del Regno
2022-12-06 11:23 ` [PATCH 3/5] arm64: dts: mt8186: " AngeloGioacchino Del Regno
2022-12-06 11:23 ` [PATCH 4/5] arm64: dts: mt8183: " AngeloGioacchino Del Regno
2022-12-06 11:23 ` [PATCH 5/5] arm64: dts: mt6795: " AngeloGioacchino Del Regno
2022-12-16 11:53 ` [PATCH 0/5] Add CPU caches information for some MediaTek SoCs Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).