]> git.ipfire.org Git - thirdparty/linux.git/commit
MIPS: cm: Detect CM quirks from device tree
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 23 Jan 2025 11:01:56 +0000 (12:01 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 21 Feb 2025 13:49:21 +0000 (14:49 +0100)
commite27fbe16af5cfc40639de4ced67d1a866a1953e9
tree8466a8f39a9e4196bf2f25c67e6834b0df2aa868
parent57c7110b99a71738b860bd106981ce18b5037ebb
MIPS: cm: Detect CM quirks from device tree

Some information that should be retrieved at runtime for the Coherence
Manager can be either absent or wrong. This patch allows checking if
some of this information is available from the device tree and updates
the internal variable accordingly.

For now, only the compatible string associated with the broken HCI is
being retrieved.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mips-cm.h
arch/mips/kernel/mips-cm.c