Skip to content

Add support for Shakti SoC from IIT-M

Vijai Kumar K qemu-devel qemu-riscv 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 7 repliesIn review
  2. v24 patches 7 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Drop SHAKTI_C_DEBUG register

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/riscv: Add Shakti C class CPUtarget/riscv/cpu.c target/riscv/cpu.h+2 -01 reply
2/4riscv: Add initial support for Shakti C machineMAINTAINERS default-configs/devices/riscv64-softmmu.mak hw/riscv/Kconfig +3 more+262 -01 reply
3/4hw/char: Add Shakti UART emulationMAINTAINERS hw/char/meson.build hw/char/shakti_uart.c +2 more+266 -01 reply
4/4hw/riscv: Connect Shakti UART to Shakti platformhw/riscv/shakti_c.c include/hw/riscv/shakti_c.h+10 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Add support for Shakti SoC from IIT-M

Changes in v3:
- Drop SHAKTI_C_DEBUG register

Changes in v2:
- Moved CPU addition to a separate patch(P1)
- Use riscv_setup_rom_resetvec API to setup reset vector
- Dropped unused DPRINTF and unwanted break statements
- Fixed uart_can_receive logic
- Reused sifive_u_cpu_init routine for shakti
- Error out when an unsupported CPU is specified
- Addressed formatting changes pointed out in review

Vijai Kumar K (4):
target/riscv: Add Shakti C class CPU
riscv: Add initial support for Shakti C machine hw/char: Add Shakti UART emulation hw/riscv: Connect Shakti UART to Shakti platform

 MAINTAINERS                                 |   9 +
 default-configs/devices/riscv64-softmmu.mak |   1 +
 hw/char/meson.build                         |   1 +
 hw/char/shakti_uart.c                       | 185 ++++++++++++++++++++
 hw/char/trace-events                        |   4 +
 hw/riscv/Kconfig                            |  10 ++
 hw/riscv/meson.build                        |   1 +
 hw/riscv/shakti_c.c                         | 178 +++++++++++++++++++
 include/hw/char/shakti_uart.h               |  74 ++++++++
 include/hw/riscv/shakti_c.h                 |  75 ++++++++
 target/riscv/cpu.c                          |   1 +
 target/riscv/cpu.h                          |   1 +
 12 files changed, 540 insertions(+)
 create mode 100644 hw/char/shakti_uart.c
 create mode 100644 hw/riscv/shakti_c.c
 create mode 100644 include/hw/char/shakti_uart.h
 create mode 100644 include/hw/riscv/shakti_c.h
Signature · 1 line
2.25.1