cav3_octeon: kernel panic when tried to boot kernel with command line mem=<memsize>. Without mem= option kernel boots fine. [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Using passed Device Tree <8000000000080000>. [ 0.000000] MIPS: machine is cavium,ebb6800 [ 0.000000] bootmem alloc of 67108864 bytes failed! [ 0.000000] Kernel panic - not syncing: Out of memory [ 0.000000] Rebooting in 10 seconds.