Files
linux/arch/mips
Liviu Dudau 424fc90272 mips: Move initrd_start check after initrd address sanitisation.
[ Upstream commit 4897a898a2 ]

PAGE_OFFSET is technically a virtual address so when checking the value of
initrd_start against it we should make sure that it has been sanitised from
the values passed by the bootloader. Without this change, even with a bootloader
that passes correct addresses for an initrd, we are failing to load it on MT7621
boards, for example.

Signed-off-by: Liviu Dudau <liviu@dudau.co.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 16:00:53 +02:00
..
2023-06-21 16:00:53 +02:00
2023-03-10 09:34:30 +01:00
2022-05-04 22:22:59 +02:00
2023-03-17 08:50:30 +01:00
2022-05-04 22:22:59 +02:00
2022-09-26 12:37:21 -04:00
2022-09-12 15:33:24 +02:00
2021-01-22 11:40:00 +01:00
2021-10-18 18:09:54 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2022-02-07 18:31:57 +01:00
2022-07-14 11:52:29 +02:00
2023-06-21 16:00:53 +02:00
2022-10-02 18:06:03 +09:00