Vladimir Kondratiev 5bb56df559 mips: fix cacheinfo
[ Upstream commit b8bea8a5e5d942e62203416ab41edecaed4fda02 ]

Because CONFIG_OF defined for MIPS, cacheinfo attempts to fill information
from DT, ignoring data filled by architecture routine. This leads to error
reported

 cacheinfo: Unable to detect cache hierarchy for CPU 0

Way to fix this provided in
commit fac51482577d ("drivers: base: cacheinfo: fix x86 with
 CONFIG_OF enabled")

Utilize same mechanism to report that cacheinfo set by architecture
specific function

Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@linux.intel.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-29 08:26:37 +02:00
..
2019-08-29 08:26:37 +02:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-09-06 11:01:52 +02:00
2019-02-15 08:09:12 +01:00
2017-09-20 10:47:12 +02:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2018-02-22 15:42:27 +01:00
2017-11-03 09:02:30 -07:00
2017-11-01 00:09:17 +00:00
2017-08-29 15:21:55 +02:00