]> 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:44:34 +0000 (07:44 +0200)
commit10829b24512a7201a29957803532fe58440fd609
tree5868b5a4b864f31f53e133027fa40a78ccf7dc39
parent809fce49f0b628cdf5a0774e54f35539731f94e1
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