Message ID | 20210404021126.1399920-1-ilya.lipnitskiy@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 7f028bff8a8e55a783eeb12e50bb3f5f18804459 |
Headers | show |
Series | MIPS: ralink: rt288x: select MIPS_AUTO_PFN_OFFSET | expand |
On Sat, Apr 03, 2021 at 07:11:26PM -0700, Ilya Lipnitskiy wrote: > 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> > --- > arch/mips/ralink/Kconfig | 1 + > 1 file changed, 1 insertion(+) applied to mips-next. Thomas.
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig index c20c44788b62..7c6de7f8484e 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig @@ -31,6 +31,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
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> --- arch/mips/ralink/Kconfig | 1 + 1 file changed, 1 insertion(+)