Re: [PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Maciej W. Rozycki
Hello Serge, > > @@ -146,6 +150,9 @@ void __init plat_mem_setup(void) > > > > ioport_resource.start = ~0UL; > > ioport_resource.end = 0UL; > > + > > + /* Stay away from the firmware working memory area for now. */ > > > + memblock_reserve(PHYS_OFFSET, __pa_symbol(&_text)); > >

Re: [PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Serge Semin
Hello Maciej, On Wed, Oct 14, 2020 at 12:10:09PM +0100, Maciej W. Rozycki wrote: > Fix a crash on DEC platforms starting with: > ... > @@ -146,6 +150,9 @@ void __init plat_mem_setup(void) > > ioport_resource.start = ~0UL; > ioport_resource.end = 0UL; > + > + /* Stay away from

[PATCH] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Maciej W. Rozycki
Fix a crash on DEC platforms starting with: VFS: Mounted root (nfs filesystem) on device 0:11. Freeing unused PROM memory: 124k freed BUG: Bad page state in process swapper pfn:1 page:(ptrval) refcount:0 mapcount:-128 mapping: index:0x1 pfn:0x1 flags: 0x0() raw: 0100