]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:52 +0000 (07:50 +0200)
commit02f53b8f2ffc125b51c12dc8d9be96874b7f8ac5
tree3fa980efbe8ee5e0406c05404976eab823feb2fd
parent979ba0d694ea431d5b84f56fd935c3e27df15ec4
MIPS: cm: Detect CM quirks from device tree

[ Upstream commit e27fbe16af5cfc40639de4ced67d1a866a1953e9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/include/asm/mips-cm.h
arch/mips/kernel/mips-cm.c