[Crash-utility] [PATCH v2] arm64: use the vmcore info to get module/vmalloc/vmemmap ranges
Huang Shijie
shijie at os.amperecomputing.com
Wed Mar 16 10:53:39 UTC 2022
On Wed, Mar 16, 2022 at 02:40:25AM +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
> -----Original Message-----
> > The kernel patch has been merged:
> > "arm64: crash_core: Export MODULES, VMALLOC, and VMEMMAP ranges"
> > https://git.kernel.org/arm64/c/2369f171d5c5
> >
> > and it will be available in v5.18-rc1.
> >
> > So we can get module/vmalloc/vmemmap ranges from the vmcore info
> > since the v5.18, and we have no need to calculate them by hand
> > any more.
> >
> > This patch adds a new hook arm64_get_range_v5_18 which could parse
> > out all the module/vmalloc/vmemmap ranges from the vmcore info.
> >
> > Signed-off-by: Huang Shijie <shijie at os.amperecomputing.com>
> > ---
> > v1-->v2:
> > 1.) Change return types to TRUE/FALSE
> > for arm64_get_vmcoreinfo_ul().
> >
> > 2.) Change version limit from LINUX(99,0,0) to LINUX(999, 0, 0)
> > I guess LINUX(99, 0, 0) can be used for 25 years,
> > so I extended to LINUX(999,0,0).
>
> (I think that 9.x is possible and 99.x is unlikely in 25 years.. but ok,
Yes, I was wrong about it.. :)
Thanks
Huang Shijie
More information about the Crash-utility
mailing list