Skip to content

Commit

Permalink
MIPS: ralink: rt288x: select MIPS_AUTO_PFN_OFFSET
Browse files Browse the repository at this point in the history
RT288X systems may have a non-zero ramstart causing problems with memory
reservations and boot hangs, as well as messages like:
  Wasting 1048576 bytes for tracking 32768 unused pages

Both are alleviated by selecting MIPS_AUTO_PFN_OFFSET for such
platforms.

Tested on a Belkin F5D8235 v1 RT2880 device.

Link: https://lore.kernel.org/linux-mips/20180820233111.xww5232dxbuouf4n@pburton-laptop/

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  • Loading branch information
Ilya Lipnitskiy authored and Thomas Bogendoerfer committed Apr 6, 2021
1 parent 5e65c52 commit 7f028bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/ralink/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ choice

config SOC_RT288X
bool "RT288x"
select MIPS_AUTO_PFN_OFFSET
select MIPS_L1_CACHE_SHIFT_4
select HAVE_LEGACY_CLK
select HAVE_PCI
Expand Down

0 comments on commit 7f028bf

Please sign in to comment.