]> 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:47:01 +0000 (07:47 +0200)
commitaba9e3096b98e5c7d99eb3e4e0a9a35f2f461475
tree41e6cbe320b99f3c08ba684319f9e31f455c86b1
parentba9bf51801acbc7b36739eaa8093358bf1eaa36b
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