[PATCH next 0/3] RISC-V: resurrect nmon

Sascha Hauer s.hauer at pengutronix.de
Fri Jul 9 13:58:38 PDT 2021


On Thu, Jul 08, 2021 at 11:30:32AM +0300, Antony Pavlov wrote:
> After migrating to PBL we can't use nmon assembler macro
> in C code anymore. This series adds necessary wrapper
> for invoking nmon from PBL C code.
> 
> Antony Pavlov (3):
>   RISC-V: make it possible to run nmon from PBL C code
>   RISC-V: boards: erizo: make it possible to use nmon
>   RISC-V: boards: beaglev: make it possible to use nmon

Applied, thanks

Sascha

> 
>  arch/riscv/Kconfig.socs              |  1 +
>  arch/riscv/boards/beaglev/lowlevel.c |  2 ++
>  arch/riscv/boards/erizo/lowlevel.c   |  2 ++
>  arch/riscv/boot/Makefile             |  1 +
>  arch/riscv/boot/nmon_entry.S         | 13 ++++++++
>  arch/riscv/include/asm/riscv_nmon.h  | 49 ++++++++++++++++++----------
>  6 files changed, 51 insertions(+), 17 deletions(-)
>  create mode 100644 arch/riscv/boot/nmon_entry.S
> 
> -- 
> 2.32.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list