Skip to content

RFC Add DCC uart console support

Sai Pavan Boddu qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/arm: Add dcc uart supporttarget/arm/cpu.h target/arm/debug-dcc.c target/arm/helper.c +2 more+118 -01 reply
2/3target/arm: Enable dcc console for a53 and R5target/arm/cpu64.c target/arm/tcg/cpu32.c+2 -00 replies
3/3target/arm/debug_helper: Add fieldoffset for MDCCSR_EL0 regtarget/arm/debug_helper.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] Add DCC uart console support

This patch series attaches a chardev to arm Debug Communication channel registers, As each cpu has it own DBGDTRTX/RX register just tried to hook each cpu with chardev iff we find a chardev with id "dcc<cpu-id>".

ex:

    Below chardev switch would be connected to A53-0.

    ./qemu-system-aarch64 -M xlnx-zcu102 -kernel u-boot-dtb.bin
      -dtb zynqmp-zcu102-rev1.1.d -display none -m 2G
      -chardev stdio,id=dcc0

Sai Pavan Boddu (3):
target/arm: Add dcc uart support
target/arm: Enable dcc console for a53 and R5 target/arm/debug_helper: Add fieldoffset for MDCCSR_EL0 reg

 target/arm/cpu.h          | 11 +++++
 target/arm/internals.h    |  4 ++
 target/arm/cpu64.c        |  1 +
 target/arm/debug-dcc.c    | 99 +++++++++++++++++++++++++++++++++++++++
 target/arm/debug_helper.c |  2 +-
 target/arm/helper.c       |  3 ++
 target/arm/tcg/cpu32.c    |  1 +
 target/arm/meson.build    |  1 +
 8 files changed, 121 insertions(+), 1 deletion(-)
 create mode 100644 target/arm/debug-dcc.c
Signature · 1 line
2.34.1