qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 97175c: hw/registerfields.h: Add 8bit and 16b


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 97175c: hw/registerfields.h: Add 8bit and 16bit register m...
Date: Fri, 20 Mar 2020 07:00:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 97175c3f096d2f3be2b90ae09d9c0205719bc791
      
https://github.com/qemu/qemu/commit/97175c3f096d2f3be2b90ae09d9c0205719bc791
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M include/hw/registerfields.h

  Log Message:
  -----------
  hw/registerfields.h: Add 8bit and 16bit register macros

Some RX peripheral use 8bit and 16bit registers.
Add the 8bit and 16bit APIs.

Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: a4f34ecc8555121bb5866c15bbd66dd516e9671e
      
https://github.com/qemu/qemu/commit/a4f34ecc8555121bb5866c15bbd66dd516e9671e
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add entry for the Renesas RX architecture

Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: e5918d7d7f032a22963f30352bc5f982003b93e2
      
https://github.com/qemu/qemu/commit/e5918d7d7f032a22963f30352bc5f982003b93e2
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    A target/rx/Makefile.objs
    A target/rx/insns.decode
    A target/rx/translate.c

  Log Message:
  -----------
  target/rx: TCG translation

This part only supported RXv1 instructions.

Instruction manual:
  
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pdf

Reviewed-by: Richard Henderson <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 075d047e2bd69d01d8718f5b2750020151f96d2f
      
https://github.com/qemu/qemu/commit/075d047e2bd69d01d8718f5b2750020151f96d2f
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    A target/rx/helper.c
    A target/rx/helper.h
    A target/rx/op_helper.c

  Log Message:
  -----------
  target/rx: TCG helpers

Reviewed-by: Richard Henderson <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
[PMD: Removed tlb_fill, extracted from patch of Yoshinori Sato
 'Convert to CPUClass::tlb_fill']
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 27a4a30e2945bbc4d073524c62a75b641715c832
      
https://github.com/qemu/qemu/commit/27a4a30e2945bbc4d073524c62a75b641715c832
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    A gdb-xml/rx-core.xml
    M target/rx/Makefile.objs
    A target/rx/cpu-param.h
    A target/rx/cpu-qom.h
    A target/rx/cpu.c
    A target/rx/cpu.h
    A target/rx/gdbstub.c
    M target/rx/translate.c

  Log Message:
  -----------
  target/rx: CPU definitions

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
[PMD: Use newer QOM style, split cpu-qom.h, restrict access to
 extable array, use rx_cpu_tlb_fill() extracted from patch of
 Yoshinori Sato 'Convert to CPUClass::tlb_fill', call cpu_reset
 after qemu_init_vcpu, make rx_crname a function]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
[PMD: Use GByteArray in gdbstub (rebase commit a010bdbe),
 use device_class_set_parent_reset (rebase commit 781c67ca)]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 4aea3d0c5148f7983f6032ca418081fbe36625e4
      
https://github.com/qemu/qemu/commit/4aea3d0c5148f7983f6032ca418081fbe36625e4
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M include/disas/dis-asm.h
    A target/rx/disas.c

  Log Message:
  -----------
  target/rx: RX disassembler

Reviewed-by: Richard Henderson <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: fa6289e2677a6e6d6bc1c9ef9a7a4a68972eeeed
      
https://github.com/qemu/qemu/commit/fa6289e2677a6e6d6bc1c9ef9a7a4a68972eeeed
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Disassemble rx_index_addr into a string

We were eliding all zero indexes.  It is only ld==0 that does
not have an index in the instruction.  This also allows us to
avoid breaking the final print into multiple pieces.

Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: e283adea34c52812b057e9262871b37602329624
      
https://github.com/qemu/qemu/commit/e283adea34c52812b057e9262871b37602329624
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Replace operand with prt_ldmi in disassembler

This has consistency with prt_ri().  It loads all data before
beginning output.  It uses exactly one call to prt() to emit
the full instruction.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 5cf7c9600884d95776c06a72fd7f434464e38174
      
https://github.com/qemu/qemu/commit/5cf7c9600884d95776c06a72fd7f434464e38174
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Use prt_ldmi for XCHG_mr disassembly

Note that the ld == 3 case handled by prt_ldmi is decoded as
XCHG_rr and cannot appear here.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 67eb12d8d618b09879c523904090eecddb7f3cc5
      
https://github.com/qemu/qemu/commit/67eb12d8d618b09879c523904090eecddb7f3cc5
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Emit all disassembly in one prt()

Many of the multi-part prints have been eliminated by previous
patches.  Eliminate the rest of them.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 05a8599fcc7773d3c4b0c8fd7a19c1d65d636406
      
https://github.com/qemu/qemu/commit/05a8599fcc7773d3c4b0c8fd7a19c1d65d636406
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Collect all bytes during disassembly

Collected, to be used in the next patch.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: e43917cce55e18cc62db47026c4c3880523ed27a
      
https://github.com/qemu/qemu/commit/e43917cce55e18cc62db47026c4c3880523ed27a
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M target/rx/disas.c

  Log Message:
  -----------
  target/rx: Dump bytes for each insn during disassembly

There are so many different forms of each RX instruction
that it will be very useful to be able to look at the bytes
to see on which path a bug may lie.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Yoshinori Sato <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: c8c35e5f51c4d54bced7aa05fbd8e2371e493182
      
https://github.com/qemu/qemu/commit/c8c35e5f51c4d54bced7aa05fbd8e2371e493182
  Author: Yoshinori Sato <address@hidden>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M arch_init.c
    M configure
    A default-configs/rx-softmmu.mak
    M include/exec/poison.h
    M include/sysemu/arch_init.h
    M qapi/machine.json
    M tests/qtest/machine-none-test.c

  Log Message:
  -----------
  Add rx-softmmu

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Yoshinori Sato <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
[PMD: Squashed patches from Richard Henderson modifying
      qapi/common.json and tests/machine-none-test.c]
Message-Id: <address@hidden>
[PMD: Added @since 5.0 tag in SysEmuTarget]
Acked-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 226cd20706e20264c176f8edbaf17d7c9b7ade4a
      
https://github.com/qemu/qemu/commit/226cd20706e20264c176f8edbaf17d7c9b7ade4a
  Author: Peter Maydell <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M MAINTAINERS
    M arch_init.c
    M configure
    A default-configs/rx-softmmu.mak
    A gdb-xml/rx-core.xml
    M include/disas/dis-asm.h
    M include/exec/poison.h
    M include/hw/registerfields.h
    M include/sysemu/arch_init.h
    M qapi/machine.json
    A target/rx/Makefile.objs
    A target/rx/cpu-param.h
    A target/rx/cpu-qom.h
    A target/rx/cpu.c
    A target/rx/cpu.h
    A target/rx/disas.c
    A target/rx/gdbstub.c
    A target/rx/helper.c
    A target/rx/helper.h
    A target/rx/insns.decode
    A target/rx/op_helper.c
    A target/rx/translate.c
    M tests/qtest/machine-none-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/philmd-gitlab/tags/target_renesas_rx-20200320' into staging

Introduce the architectural part of the Renesas RX
architecture emulation, developed by Yoshinori Sato.

CI jobs results:
  https://gitlab.com/philmd/qemu/pipelines/127886344
  https://travis-ci.org/github/philmd/qemu/builds/664579420

# gpg: Signature made Fri 20 Mar 2020 10:27:32 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <address@hidden>" 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* remotes/philmd-gitlab/tags/target_renesas_rx-20200320:
  Add rx-softmmu
  target/rx: Dump bytes for each insn during disassembly
  target/rx: Collect all bytes during disassembly
  target/rx: Emit all disassembly in one prt()
  target/rx: Use prt_ldmi for XCHG_mr disassembly
  target/rx: Replace operand with prt_ldmi in disassembler
  target/rx: Disassemble rx_index_addr into a string
  target/rx: RX disassembler
  target/rx: CPU definitions
  target/rx: TCG helpers
  target/rx: TCG translation
  MAINTAINERS: Add entry for the Renesas RX architecture
  hw/registerfields.h: Add 8bit and 16bit register macros

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/f3949284da77...226cd20706e2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]