LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] arm64: kdump: simplify the reservation behaviour of crashkernel=,high
@ 2023-05-15  6:02 Baoquan He
  2023-05-15  6:02 ` [PATCH v6 1/2] " Baoquan He
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Baoquan He @ 2023-05-15  6:02 UTC (permalink / raw)
  To: linux-kernel
  Cc: catalin.marinas, will, horms, thunder.leizhen, John.p.donnelly,
	kexec, linux-arm-kernel, Baoquan He

In v5 patch, Catalin helped review and acked the patch. However, an
uninitialized local varilable is warned out by static checker when Will
tried to merge the patch. And Will complained the code flow in
reserve_crashkernel() is hard to follow, required to refactor. While
when I tried to do the refactory, I feel it's not easy, the existing
several cases causes that.

To make the code easier understand, I try my best to compose a document
to introduce the background, concept and implementation strategies of 
crashkernel reservation. Hope it can help people to understand the code
flow a little more easily.

[PATCH v5] arm64: kdump: simplify the reservation behaviour of crashkernel=,high
https://lore.kernel.org/all/20230407022419.19412-1-bhe@redhat.com/T/#u

v5->v6:
- Fix the warning reported by static checker about "uninitialized symbol
'search_base'".
- Add a document Documentation/arm64/kdump.rst to explain how to reserve
  crashkernel.

Baoquan He (2):
  arm64: kdump: simplify the reservation behaviour of crashkernel=,high
  Documentation: add kdump.rst to present crashkernel reservation on
    arm64

 Documentation/arm64/kdump.rst | 103 ++++++++++++++++++++++++++++++++++
 arch/arm64/mm/init.c          |  44 +++++++++++----
 2 files changed, 137 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/arm64/kdump.rst

-- 
2.34.1


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

end of thread, other threads:[~2023-06-11 23:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15  6:02 [PATCH v6 0/2] arm64: kdump: simplify the reservation behaviour of crashkernel=,high Baoquan He
2023-05-15  6:02 ` [PATCH v6 1/2] " Baoquan He
2023-05-15  9:54   ` [PATCH v6 RESEND " Baoquan He
2023-06-06 11:53     ` Leizhen (ThunderTown)
2023-05-15 10:07   ` [PATCH v6 " Baoquan He
2023-05-15  6:02 ` [PATCH v6 2/2] Documentation: add kdump.rst to present crashkernel reservation on arm64 Baoquan He
2023-06-06 12:08   ` Leizhen (ThunderTown)
2023-06-09 19:30 ` [PATCH v6 0/2] arm64: kdump: simplify the reservation behaviour of crashkernel=,high Catalin Marinas
2023-06-11  0:35   ` Baoquan He
2023-06-11 12:15   ` Baoquan He
2023-06-11 14:31     ` Catalin Marinas
2023-06-11 23:06       ` Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).