summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPnina Feder <pnina.feder@mobileye.com>2025-12-16 15:28:01 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-01-20 19:44:20 -0800
commitb5bfcc1ffe512c7879cb90befdeabaa43d9f07ca (patch)
tree5eece0f81ded891f28dbe3388626e2b0a954a51f /tools
parent76103d1b268e6f45735aa92d70bea5b5e8174a70 (diff)
kernel/crash: handle multi-page vmcoreinfo in crash kernel copy
kimage_crash_copy_vmcoreinfo() currently assumes vmcoreinfo fits in a single page. This breaks if VMCOREINFO_BYTES exceeds PAGE_SIZE. Allocate the required order of control pages and vmap all pages needed to safely copy vmcoreinfo into the crash kernel image. Link: https://lkml.kernel.org/r/20251216132801.807260-3-pnina.feder@mobileye.com Signed-off-by: Pnina Feder <pnina.feder@mobileye.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Baoquan He <bhe@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions