Files
linux/arch/mips/include/asm
Serge Semin 1961a29b89 mips: dmi: Fix early remap on MIPS32
[ Upstream commit 0d0a3748a2cb38f9da1f08d357688ebd982eb788 ]

dmi_early_remap() has been defined as ioremap_cache() which on MIPS32 gets
to be converted to the VM-based mapping. DMI early remapping is performed
at the setup_arch() stage with no VM available. So calling the
dmi_early_remap() for MIPS32 causes the system to crash at the early boot
time. Fix that by converting dmi_early_remap() to the uncached remapping
which is always available on both 32 and 64-bits MIPS systems.

Note this change shall not cause any regressions on the current DMI
support implementation because on the early boot-up stage neither MIPS32
nor MIPS64 has the cacheable ioremapping support anyway.

Fixes: be8fa1cb44 ("MIPS: Add support for Desktop Management Interface (DMI)")
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:45 -08:00
..
2013-02-01 10:00:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2022-03-01 10:07:22 +01:00
2021-01-22 11:40:00 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2022-03-01 10:07:22 +01:00
2014-01-22 20:19:02 +01:00
2022-01-05 11:16:35 +01:00
2021-11-17 10:36:15 -05:00
2022-01-05 11:16:35 +01:00
2020-11-11 23:49:22 +01:00
2021-10-24 17:24:47 +02:00
2022-07-14 11:52:29 +02:00
2022-07-14 11:52:29 +02:00
2024-01-25 15:27:45 -08:00
2014-08-26 02:18:56 +02:00
2012-03-28 18:30:02 +01:00
2021-07-13 15:08:15 -05:00
2022-02-22 09:35:49 +01:00
2021-09-23 11:23:35 +02:00
2021-10-24 17:24:47 +02:00
2011-07-26 16:49:47 -07:00
2021-01-04 11:37:27 +01:00
2022-03-01 10:07:22 +01:00
2013-02-01 10:00:22 +01:00
2020-05-19 17:39:32 +02:00
2021-11-29 12:43:06 +01:00
2022-02-22 09:35:49 +01:00
2022-07-14 11:52:29 +02:00
2019-02-04 10:56:41 -08:00
2020-05-22 09:10:53 +02:00
2021-09-23 11:23:35 +02:00
2013-02-01 10:00:22 +01:00
2022-03-14 15:09:27 +01:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2013-02-01 10:00:22 +01:00
2018-08-01 13:20:15 -07:00
2022-03-01 10:07:22 +01:00
2023-03-10 09:34:26 +01:00
2019-04-03 10:32:54 +02:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-25 09:36:05 +01:00
2019-07-25 21:45:05 -07:00
2022-07-14 11:52:29 +02:00
2021-01-27 21:49:16 +01:00
2016-05-09 12:00:02 +02:00