[Crash-utility] [PATCH v2 00/17] Add MIPS64 support

lijiang lijiang at redhat.com
Fri Apr 16 09:43:46 UTC 2021


Hi, Youling

Thank you for the update.
在 2021年03月16日 17:39, crash-utility-request at redhat.com 写道:
> Date: Tue, 16 Mar 2021 17:38:35 +0800
> From: Youling Tang <tangyouling at loongson.cn>
> To: Kazuhito Hagio <k-hagio-ab at nec.com>, crash-utility at redhat.com
> Cc: tangyouling at loongson.cn, Huacai Chen <chenhuacai at loongson.cn>
> Subject: [Crash-utility] [PATCH v2 00/17] Add MIPS64 support
> Message-ID:
> 	<1615887532-23722-1-git-send-email-tangyouling at loongson.cn>
> Content-Type: text/plain; charset=UTF-8
> 
> Initial support is limited to the 64-bit MIPS kernel, configured as little
> endian. Regarding dump file types, vmcore and makedumpfile tools can be
> used to dump compressed dumpfile files. Does not supports running a live
> kernel.
> 
There seem to be some limitations and unimplemented features. Do you have
any plans to complete the remaining work? If I was wrong, please correct me.

BTW:
I have no MIPS machines, more things need to rely on MIPS engineers. Can other
MIPS engineers help to test this patch?

Thanks.
Lianbo

> The changes were tested on a mips64 Loongson-3A4000 processor. Can
> successfully enter the crash command line and support for common
> commands, such as bt, vtop, log commands, etc.
> 
> Youling Tang (17):
>   Add MIPS64 framework code support
>   MIPS64: Support getting regs from kdump dumpfiles
>   MIPS64: Add gdb patch for Loongson machine
>   MIPS64: Make the crash tool successfully enter the crash command line
>   MIPS64: Add 'pte' command support
>   MIPS64: Add 'dis' command support
>   MIPS64: Fix display memory size issue
>   MIPS64: Add to get processor speed
>   MIPS64: Add 'mach' command support
>   MIPS64: Add basic support for the 'bt' command
>   MIPS64: Fixes for the gathering of the active task registers for the
>     'bt' command
>   MIPS64: Add 'bt -f' command support
>   MIPS64: Add 'bt -l' command support
>   MIPS64: Add the realization of verify symbol
>   MIPS64: Add 'help -m/M' command support
>   MIPS64: Add 'help -r' command support
>   MIPS64: Add mips64 architecture support information
> 
>  Makefile            |    7 +-
>  README              |    4 +-
>  configure.c         |   33 +-
>  defs.h              |  139 +++++-
>  diskdump.c          |   26 +-
>  gdb-7.6.patch       |   21 +-
>  help.c              |    4 +-
>  lkcd_vmdump_v2_v3.h |    3 +-
>  memory.c            |   32 +-
>  mips64.c            | 1365 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  netdump.c           |    6 +-
>  symbols.c           |   10 +
>  12 files changed, 1621 insertions(+), 29 deletions(-)
>  create mode 100644 mips64.c
> 
> -- 2.1.0




More information about the Crash-utility mailing list