linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] MIPS: Modify mem= and memmap= parameter
@ 2022-02-28  6:31 Tiezhu Yang
  2022-02-28  6:31 ` [PATCH v2 1/4] MIPS: Refactor early_parse_mem() to fix mem= parameter Tiezhu Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tiezhu Yang @ 2022-02-28  6:31 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Mike Rapoport, Andrew Morton
  Cc: Xuefeng Li, linux-mips, linux-mm, linux-kernel

In the current code, the kernel command-line parameter mem= and memmap=
can not work well on MIPS, this patchset refactors the related code to
fix them.

For kdump on MIPS, if the users want to limit the memory region for the
capture kernel to avoid corrupting the memory image of the panic kernel,
use the parameter memmap=limit@base is the proper way, I will submit a
patch to use memmap=limit@base for kexec-tools after this patchset is
applied.

v2: Add some new patches to support memmap=limit@base

Tiezhu Yang (4):
  MIPS: Refactor early_parse_mem() to fix mem= parameter
  memblock: Introduce memblock_mem_range_remove_map()
  MIPS: Refactor early_parse_memmap() to fix memmap= parameter
  MIPS: Remove not used variable usermem

 arch/mips/kernel/setup.c | 71 ++++++++++++------------------------------------
 include/linux/memblock.h |  1 +
 mm/memblock.c            |  9 ++++--
 3 files changed, 25 insertions(+), 56 deletions(-)

-- 
2.1.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-28 17:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28  6:31 [PATCH v2 0/4] MIPS: Modify mem= and memmap= parameter Tiezhu Yang
2022-02-28  6:31 ` [PATCH v2 1/4] MIPS: Refactor early_parse_mem() to fix mem= parameter Tiezhu Yang
2022-02-28 17:34   ` kernel test robot
2022-02-28  6:31 ` [PATCH v2 2/4] memblock: Introduce memblock_mem_range_remove_map() Tiezhu Yang
2022-02-28  6:31 ` [PATCH v2 3/4] MIPS: Refactor early_parse_memmap() to fix memmap= parameter Tiezhu Yang
2022-02-28  6:50   ` Mike Rapoport
2022-02-28  6:31 ` [PATCH v2 4/4] MIPS: Remove not used variable usermem Tiezhu Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox