[PULL v2 00/15] Renesas hardware patches for 2020-06-22

Philippe Mathieu-Daudé posted 15 patches 3 years, 10 months ago
Only 1 patches received!
docs/system/target-rx.rst             |  36 ++
docs/system/targets.rst               |   1 +
default-configs/rx-softmmu.mak        |   1 +
include/hw/char/renesas_sci.h         |  51 +++
include/hw/intc/rx_icu.h              |  76 ++++
include/hw/rx/rx62n.h                 |  76 ++++
include/hw/sh4/sh.h                   |  12 +-
include/hw/timer/renesas_cmt.h        |  40 +++
include/hw/timer/renesas_tmr.h        |  55 +++
include/hw/timer/tmu012.h             |  23 ++
hw/char/renesas_sci.c                 | 350 +++++++++++++++++++
hw/intc/rx_icu.c                      | 397 +++++++++++++++++++++
hw/rx/rx-gdbsim.c                     | 198 +++++++++++
hw/rx/rx62n.c                         | 323 +++++++++++++++++
hw/sh4/sh7750.c                       |   1 +
hw/timer/renesas_cmt.c                | 283 +++++++++++++++
hw/timer/renesas_tmr.c                | 477 ++++++++++++++++++++++++++
hw/timer/sh_timer.c                   |   3 +-
MAINTAINERS                           |  33 +-
hw/Kconfig                            |   1 +
hw/char/Kconfig                       |   3 +
hw/char/Makefile.objs                 |   1 +
hw/intc/Kconfig                       |   3 +
hw/intc/Makefile.objs                 |   1 +
hw/rx/Kconfig                         |  10 +
hw/rx/Makefile.objs                   |   2 +
hw/timer/Kconfig                      |   6 +
hw/timer/Makefile.objs                |   2 +
tests/acceptance/machine_rx_gdbsim.py |  68 ++++
29 files changed, 2520 insertions(+), 13 deletions(-)
create mode 100644 docs/system/target-rx.rst
create mode 100644 include/hw/char/renesas_sci.h
create mode 100644 include/hw/intc/rx_icu.h
create mode 100644 include/hw/rx/rx62n.h
create mode 100644 include/hw/timer/renesas_cmt.h
create mode 100644 include/hw/timer/renesas_tmr.h
create mode 100644 include/hw/timer/tmu012.h
create mode 100644 hw/char/renesas_sci.c
create mode 100644 hw/intc/rx_icu.c
create mode 100644 hw/rx/rx-gdbsim.c
create mode 100644 hw/rx/rx62n.c
create mode 100644 hw/timer/renesas_cmt.c
create mode 100644 hw/timer/renesas_tmr.c
create mode 100644 hw/rx/Kconfig
create mode 100644 hw/rx/Makefile.objs
create mode 100644 tests/acceptance/machine_rx_gdbsim.py
[PULL v2 00/15] Renesas hardware patches for 2020-06-22
Posted by Philippe Mathieu-Daudé 3 years, 10 months ago
The following changes since commit 171199f56f5f9bdf1e5d670d09ef1351d8f01bae:

  Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-202=
00619-3' into staging (2020-06-22 14:45:25 +0100)

are available in the Git repository at:

  https://gitlab.com/philmd/qemu.git tags/renesas-hw-20200622

for you to fetch changes up to 4adbfa45cc3793fa85157a4813306618f6009f52:

  docs: Document the RX target (2020-06-22 18:37:12 +0200)

Since v1:
- Fixed format-string issue on 32-bit platforms

----------------------------------------------------------------
- Add a common entry for Renesas hardware in MAINTAINERS
- Trivial SH4 cleanups
- Add RX GDB simulator from Yoshinori Sato

The Renesas RX target emulation was added in commit c8c35e5f51,
these patches complete the target by adding the hardware emulation.

Thank you Yoshinori for adding this code to QEMU, and your patience
during the review process. Now your port is fully integrated.

CI results:
. https://cirrus-ci.com/build/6140199509950464
. https://travis-ci.org/github/philmd/qemu/builds/700954881
. https://app.shippable.com/github/philmd/qemu/runs/812/summary/console
----------------------------------------------------------------

$ git backport-diff -u renesas-hw-20200621
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/15:[----] [--] 'MAINTAINERS: Cover sh_intc files in the R2D/Shix machine sections'
002/15:[----] [--] 'MAINTAINERS: Add an entry for common Renesas peripherals'
003/15:[----] [--] 'hw/sh4: Use MemoryRegion typedef'
004/15:[----] [--] 'hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h''
005/15:[----] [--] 'hw/timer/sh_timer: Remove unused 'qemu/timer.h' include'
006/15:[----] [--] 'hw/intc: RX62N interrupt controller (ICUa)'
007/15:[----] [--] 'hw/timer: RX62N 8-Bit timer (TMR)'
008/15:[----] [--] 'hw/timer: RX62N compare match timer (CMT)'
009/15:[----] [--] 'hw/char: RX62N serial communication interface (SCI)'
010/15:[----] [--] 'hw/rx: RX62N microcontroller (MCU)'
011/15:[----] [--] 'hw/rx: Honor -accel qtest'
012/15:[----] [--] 'hw/rx: Register R5F562N7 and R5F562N8 MCUs'
013/15:[0006] [FC] 'hw/rx: Add RX GDB simulator'
014/15:[----] [--] 'BootLinuxConsoleTest: Test the RX GDB simulator'
015/15:[----] [--] 'docs: Document the RX target'

Philippe Mathieu-Daud=C3=A9 (7):
  MAINTAINERS: Cover sh_intc files in the R2D/Shix machine sections
  MAINTAINERS: Add an entry for common Renesas peripherals
  hw/sh4: Use MemoryRegion typedef
  hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h'
  hw/timer/sh_timer: Remove unused 'qemu/timer.h' include
  hw/rx: Register R5F562N7 and R5F562N8 MCUs
  BootLinuxConsoleTest: Test the RX GDB simulator

Richard Henderson (1):
  hw/rx: Honor -accel qtest

Yoshinori Sato (7):
  hw/intc: RX62N interrupt controller (ICUa)
  hw/timer: RX62N 8-Bit timer (TMR)
  hw/timer: RX62N compare match timer (CMT)
  hw/char: RX62N serial communication interface (SCI)
  hw/rx: RX62N microcontroller (MCU)
  hw/rx: Add RX GDB simulator
  docs: Document the RX target

 docs/system/target-rx.rst             |  36 ++
 docs/system/targets.rst               |   1 +
 default-configs/rx-softmmu.mak        |   1 +
 include/hw/char/renesas_sci.h         |  51 +++
 include/hw/intc/rx_icu.h              |  76 ++++
 include/hw/rx/rx62n.h                 |  76 ++++
 include/hw/sh4/sh.h                   |  12 +-
 include/hw/timer/renesas_cmt.h        |  40 +++
 include/hw/timer/renesas_tmr.h        |  55 +++
 include/hw/timer/tmu012.h             |  23 ++
 hw/char/renesas_sci.c                 | 350 +++++++++++++++++++
 hw/intc/rx_icu.c                      | 397 +++++++++++++++++++++
 hw/rx/rx-gdbsim.c                     | 198 +++++++++++
 hw/rx/rx62n.c                         | 323 +++++++++++++++++
 hw/sh4/sh7750.c                       |   1 +
 hw/timer/renesas_cmt.c                | 283 +++++++++++++++
 hw/timer/renesas_tmr.c                | 477 ++++++++++++++++++++++++++
 hw/timer/sh_timer.c                   |   3 +-
 MAINTAINERS                           |  33 +-
 hw/Kconfig                            |   1 +
 hw/char/Kconfig                       |   3 +
 hw/char/Makefile.objs                 |   1 +
 hw/intc/Kconfig                       |   3 +
 hw/intc/Makefile.objs                 |   1 +
 hw/rx/Kconfig                         |  10 +
 hw/rx/Makefile.objs                   |   2 +
 hw/timer/Kconfig                      |   6 +
 hw/timer/Makefile.objs                |   2 +
 tests/acceptance/machine_rx_gdbsim.py |  68 ++++
 29 files changed, 2520 insertions(+), 13 deletions(-)
 create mode 100644 docs/system/target-rx.rst
 create mode 100644 include/hw/char/renesas_sci.h
 create mode 100644 include/hw/intc/rx_icu.h
 create mode 100644 include/hw/rx/rx62n.h
 create mode 100644 include/hw/timer/renesas_cmt.h
 create mode 100644 include/hw/timer/renesas_tmr.h
 create mode 100644 include/hw/timer/tmu012.h
 create mode 100644 hw/char/renesas_sci.c
 create mode 100644 hw/intc/rx_icu.c
 create mode 100644 hw/rx/rx-gdbsim.c
 create mode 100644 hw/rx/rx62n.c
 create mode 100644 hw/timer/renesas_cmt.c
 create mode 100644 hw/timer/renesas_tmr.c
 create mode 100644 hw/rx/Kconfig
 create mode 100644 hw/rx/Makefile.objs
 create mode 100644 tests/acceptance/machine_rx_gdbsim.py

--=20
2.21.3


Re: [PULL v2 00/15] Renesas hardware patches for 2020-06-22
Posted by Peter Maydell 3 years, 10 months ago
On Mon, 22 Jun 2020 at 20:19, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> The following changes since commit 171199f56f5f9bdf1e5d670d09ef1351d8f01bae:
>
>   Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-202=
> 00619-3' into staging (2020-06-22 14:45:25 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/philmd/qemu.git tags/renesas-hw-20200622
>
> for you to fetch changes up to 4adbfa45cc3793fa85157a4813306618f6009f52:
>
>   docs: Document the RX target (2020-06-22 18:37:12 +0200)
>
> Since v1:
> - Fixed format-string issue on 32-bit platforms
>
> ----------------------------------------------------------------
> - Add a common entry for Renesas hardware in MAINTAINERS
> - Trivial SH4 cleanups
> - Add RX GDB simulator from Yoshinori Sato
>
> The Renesas RX target emulation was added in commit c8c35e5f51,
> these patches complete the target by adding the hardware emulation.
>
> Thank you Yoshinori for adding this code to QEMU, and your patience
> during the review process. Now your port is fully integrated.
>
> CI results:
> . https://cirrus-ci.com/build/6140199509950464
> . https://travis-ci.org/github/philmd/qemu/builds/700954881
> . https://app.shippable.com/github/philmd/qemu/runs/812/summary/console
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM