On Wed, Apr 2, 2025 at 10:24 AM <devel-requ...@lists.crash-utility.osci.io>
wrote:

> Date: Wed, 2 Apr 2025 15:22:41 +1300
> From: Tao Liu <l...@redhat.com>
> Subject: [Crash-utility] Re: [PATCH] RISCV64: Add more system
>         properties to the 'mach' command
> To: Austin Kim <austindh....@gmail.com>
> Cc: devel@lists.crash-utility.osci.io
> Message-ID:
>         <
> cao7dbbwhevdj8bbbnlp265-punjwvgq_smyp+2ojno0x4je...@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi Austin,
>
> On Tue, Apr 1, 2025 at 3:07 PM Austin Kim <austindh....@gmail.com> wrote:
> >
> > Currently, 'mach' command displays only basic system properties for
> > RISC-V-based vmcores. This commit enhances the mach command by adding
> > additional system details, including virtual memory addresses, IRQ
> stacks,
> > and overflow stacks.
> >
> > (before)
> > crash> mach
> >                 MACHINE TYPE: riscv64
> >                  MEMORY SIZE: 4 GB
> >                         CPUS: 4
> >              PROCESSOR SPEED: (unknown)
> >                           HZ: 100
> >                    PAGE SIZE: 4096
> >            KERNEL STACK SIZE: 16384
> >
> > (after)
> > crash> mach
> >                 MACHINE TYPE: riscv64
> >                  MEMORY SIZE: 4 GB
> >                         CPUS: 4
> >              PROCESSOR SPEED: (unknown)
> >                           HZ: 100
> >                    PAGE SIZE: 4096
> > KERNEL VIRTUAL BASE: ffffffd800000000
> > KERNEL MODULES BASE: ffffffff01d08000
> > KERNEL VMALLOC BASE: ffffffc800000000
> > KERNEL VMEMMAP BASE: ffffffc700000000
> >            KERNEL STACK SIZE: 16384
> >      IRQ STACK SIZE: 16384
> >          IRQ STACKS:
> >               CPU 0: ffffffc800000000
> >               CPU 1: ffffffc800008000
> >               CPU 2: ffffffc800010000
> >               CPU 3: ffffffc800018000
> > OVERFLOW STACK SIZE: 4096
> >     OVERFLOW STACKS:
> >               CPU 0: ffffffd8fc7433c0
> >               CPU 1: ffffffd8fc75f3c0
> >               CPU 2: ffffffd8fc77b3c0
> >               CPU 3: ffffffd8fc7973c0
> >
> > Signed-off-by: Austin Kim <austindh....@gmail.com>
>
> The patch LGTM, so ack.


Applied:
https://github.com/crash-utility/crash/commit/974868ca4e64f2cbb70976538db743a5790de24e

Thanks
Lianbo




> Thanks,
> Tao Liu
>
--
Crash-utility mailing list -- devel@lists.crash-utility.osci.io
To unsubscribe send an email to devel-le...@lists.crash-utility.osci.io
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to