Skip to content

target/avr merger

Philippe Mathieu-Daudé qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25target/avr: Add outward facing interfaces and core CPU logicgdb-xml/avr-cpu.xml target/avr/cpu-param.h target/avr/cpu-qom.h +4 more+1429 -011 replies
2/25target/avr: Add instruction helperstarget/avr/helper.c target/avr/helper.h+376 -00 replies
3/25target/avr: Add instruction translation - Registers definitiontarget/avr/translate.c+171 -00 replies
4/25target/avr: Add instruction translation - Arithmetic and Logic Instructionstarget/avr/insn.decode target/avr/translate.c+845 -00 replies
5/25target/avr: Add instruction translation - Branch Instructionstarget/avr/insn.decode target/avr/translate.c+556 -00 replies
6/25target/avr: Add instruction translation - Data Transfer Instructionstarget/avr/insn.decode target/avr/translate.c+1030 -00 replies
7/25target/avr: Add instruction translation - Bit and Bit-test Instructionstarget/avr/insn.decode target/avr/translate.c+255 -00 replies
8/25target/avr: Add instruction translation - MCU Control Instructionstarget/avr/insn.decode target/avr/translate.c+76 -00 replies
9/25target/avr: Add instruction translation - CPU main translation functiontarget/avr/translate.c+234 -00 replies
10/25target/avr: Add instruction disassembly functiontarget/avr/cpu.c target/avr/cpu.h target/avr/disas.c +1 more+260 -10 replies
11/25hw/char: Add limited support for Atmel USART peripheralhw/char/Kconfig hw/char/Makefile.objs hw/char/atmel_usart.c +1 more+417 -00 replies
12/25hw/timer: Add limited support for Atmel 16 bit timer peripheralhw/timer/Kconfig hw/timer/Makefile.objs hw/timer/atmel_timer16.c +1 more+704 -09 replies
13/25hw/misc: Add Atmel power devicehw/misc/Kconfig hw/misc/Makefile.objs hw/misc/atmel_power.c +1 more+163 -00 replies
14/25target/avr: Add section about AVR into QEMU documentationqemu-doc.texi+51 -02 replies
15/25target/avr: Register AVR support with the rest of QEMUarch_init.c include/disas/dis-asm.h include/sysemu/arch_init.h +1 more+24 -10 replies
16/25target/avr: Add machine none testtests/qtest/machine-none-test.c+1 -00 replies
17/25target/avr: Update MAINTAINERS fileMAINTAINERS+24 -00 replies
18/25hw/core/loader: Let load_elf populate the processor-specific flagshw/core/loader.c hw/riscv/boot.c include/hw/elf_ops.h +1 more+18 -110 replies
19/25hw/avr: Add helper to load raw/ELF firmware binarieshw/avr/Makefile.objs hw/avr/boot.c hw/avr/boot.h +1 more+110 -00 replies
20/25hw/avr: Add some ATmega microcontrollershw/avr/Kconfig hw/avr/Makefile.objs hw/avr/atmel_atmega.c +1 more+524 -03 replies
21/25hw/avr: Add some Arduino boardsMAINTAINERS hw/avr/Kconfig hw/avr/Makefile.objs +1 more+162 -01 reply
22/25target/avr: Update build systemconfigure default-configs/avr-softmmu.mak target/avr/Makefile.objs+46 -01 reply
23/25tests/boot-serial-test: Test some Arduino boards (AVR based)tests/qtest/Makefile.include tests/qtest/boot-serial-test.c+13 -00 replies
24/25tests/acceptance: Test the Arduino MEGA2560 boardtests/acceptance/machine_avr6.py+50 -00 replies
25/25.travis.yml: Run the AVR acceptance tests.travis.yml+1 -10 replies

Reviews trailers per patch

11 of 25 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéIgor MammedovAleksandar MarkovicThomas HuthRichard HendersonAlex BennéeMichael RolnikJoaquin de Andres
SeriesT-b
1/25T-b A-b
2/25T-b
3/25R-b T-b
4/25T-b
5/25T-b
6/25T-b
7/25T-b
8/25
9/25T-b
10/25R-b T-b
11/25
12/25R-b
13/25
14/25
15/25T-b R-b
16/25T-b R-b R-b
17/25
18/25R-b
19/25
20/25
21/25R-b R-b
22/25T-b R-b
23/25R-b T-b A-b T-b
24/25R-b T-b A-b T-b
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

Cover letter [PATCH rc2 00/25] target/avr merger

This is the AVR port from Michael release (merge) candidate 2.

Since v1 [1]:
- Addressed Thomas comments
- Fixed a non-critical bug in ATmega (incorrect SRAM base address)
- Added ELF parsing requested by Aleksandar
- Dropped default machine (as with the ARM port)

Change since rc1:

$ git backport-diff -u avr-rc1 -r origin/master..
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/25:[----] [--] 'target/avr: Add outward facing interfaces and core CPU logic' 002/25:[----] [--] 'target/avr: Add instruction helpers'
003/25:[----] [--] 'target/avr: Add instruction translation - Registers definition' 004/25:[----] [--] 'target/avr: Add instruction translation - Arithmetic and Logic Instructions' 005/25:[----] [--] 'target/avr: Add instruction translation - Branch Instructions' 006/25:[----] [--] 'target/avr: Add instruction translation - Data Transfer Instructions' 007/25:[----] [--] 'target/avr: Add instruction translation - Bit and Bit-test Instructions' 008/25:[----] [--] 'target/avr: Add instruction translation - MCU Control Instructions' 009/25:[----] [--] 'target/avr: Add instruction translation - CPU main translation function' 010/25:[----] [--] 'target/avr: Add instruction disassembly function' 011/25:[----] [--] 'hw/char: Add limited support for Atmel USART peripheral' 012/25:[0045] [FC] 'hw/timer: Add limited support for Atmel 16 bit timer peripheral' 013/25:[----] [--] 'hw/misc: Add Atmel power device'
014/25:[0024] [FC] 'target/avr: Add section about AVR into QEMU documentation' 015/25:[----] [--] 'target/avr: Register AVR support with the rest of QEMU' 016/25:[----] [--] 'target/avr: Add machine none test'
017/25:[0002] [FC] 'target/avr: Update MAINTAINERS file'
018/25:[down] 'hw/core/loader: Let load_elf populate the processor-specific flags'
019/25:[down] 'hw/avr: Add helper to load raw/ELF firmware binaries'
020/25:[0015] [FC] 'hw/avr: Add some ATmega microcontrollers'
021/25:[0040] [FC] 'hw/avr: Add some Arduino boards'
022/25:[----] [--] 'target/avr: Update build system'
023/25:[----] [--] 'tests/boot-serial-test: Test some Arduino boards (AVR based)' 024/25:[----] [--] 'tests/acceptance: Test the Arduino MEGA2560 board' 025/25:[----] [--] '.travis.yml: Run the AVR acceptance tests'

Repo: https://gitlab.com/philmd/qemu/commits/avr-rc2

[1] https://www.mail-archive.com/[email protected]/msg672926.html
Supersedes: <[email protected]>

Michael Rolnik (20):
target/avr: Add outward facing interfaces and core CPU logic target/avr: Add instruction helpers
target/avr: Add instruction translation - Registers definition target/avr: Add instruction translation - Arithmetic and Logic
Instructions
target/avr: Add instruction translation - Branch Instructions target/avr: Add instruction translation - Data Transfer Instructions target/avr: Add instruction translation - Bit and Bit-test
Instructions
target/avr: Add instruction translation - MCU Control Instructions target/avr: Add instruction translation - CPU main translation
function
target/avr: Add instruction disassembly function
hw/char: Add limited support for Atmel USART peripheral hw/timer: Add limited support for Atmel 16 bit timer peripheral hw/misc: Add Atmel power device
target/avr: Add section about AVR into QEMU documentation target/avr: Register AVR support with the rest of QEMU target/avr: Add machine none test
target/avr: Update MAINTAINERS file
target/avr: Update build system
tests/boot-serial-test: Test some Arduino boards (AVR based) tests/acceptance: Test the Arduino MEGA2560 board

Philippe Mathieu-Daudé (5):
hw/core/loader: Let load_elf populate the processor-specific flags hw/avr: Add helper to load raw/ELF firmware binaries hw/avr: Add some ATmega microcontrollers
hw/avr: Add some Arduino boards
.travis.yml: Run the AVR acceptance tests

 qemu-doc.texi                    |   51 +
 configure                        |    7 +
 default-configs/avr-softmmu.mak  |    5 +
 qapi/machine.json                |    3 +-
 hw/avr/atmel_atmega.h            |   48 +
 hw/avr/boot.h                    |   33 +
 include/disas/dis-asm.h          |   19 +
 include/elf.h                    |    2 +
 include/hw/char/atmel_usart.h    |   93 +
 include/hw/elf_ops.h             |    6 +-
 include/hw/loader.h              |    6 +-
 include/hw/misc/atmel_power.h    |   46 +
 include/hw/timer/atmel_timer16.h |   94 +
 include/sysemu/arch_init.h       |    1 +
 target/avr/cpu-param.h           |   37 +
 target/avr/cpu-qom.h             |   54 +
 target/avr/cpu.h                 |  259 +++
 target/avr/helper.h              |   29 +
 arch_init.c                      |    2 +
 hw/avr/arduino.c                 |  151 ++
 hw/avr/atmel_atmega.c            |  470 +++++
 hw/avr/boot.c                    |   74 +
 hw/char/atmel_usart.c            |  320 ++++
 hw/core/loader.c                 |   15 +-
 hw/misc/atmel_power.c            |  112 ++
 hw/riscv/boot.c                  |    2 +-
 hw/timer/atmel_timer16.c         |  605 ++++++
 target/avr/cpu.c                 |  826 ++++++++
 target/avr/disas.c               |  246 +++
 target/avr/gdbstub.c             |   84 +
 target/avr/helper.c              |  347 ++++
 target/avr/machine.c             |  121 ++
 target/avr/translate.c           | 2997 ++++++++++++++++++++++++++++++
 tests/qtest/boot-serial-test.c   |   11 +
 tests/qtest/machine-none-test.c  |    1 +
 .travis.yml                      |    2 +-
 MAINTAINERS                      |   30 +
 gdb-xml/avr-cpu.xml              |   49 +
 hw/avr/Kconfig                   |    9 +
 hw/avr/Makefile.objs             |    3 +
 hw/char/Kconfig                  |    3 +
 hw/char/Makefile.objs            |    1 +
 hw/misc/Kconfig                  |    3 +
 hw/misc/Makefile.objs            |    2 +
 hw/timer/Kconfig                 |    3 +
 hw/timer/Makefile.objs           |    2 +
 target/avr/Makefile.objs         |   34 +
 target/avr/insn.decode           |  182 ++
 tests/acceptance/machine_avr6.py |   50 +
 tests/qtest/Makefile.include     |    2 +
 50 files changed, 7539 insertions(+), 13 deletions(-)
 create mode 100644 default-configs/avr-softmmu.mak
 create mode 100644 hw/avr/atmel_atmega.h
 create mode 100644 hw/avr/boot.h
 create mode 100644 include/hw/char/atmel_usart.h
 create mode 100644 include/hw/misc/atmel_power.h
 create mode 100644 include/hw/timer/atmel_timer16.h
 create mode 100644 target/avr/cpu-param.h
 create mode 100644 target/avr/cpu-qom.h
 create mode 100644 target/avr/cpu.h
 create mode 100644 target/avr/helper.h
 create mode 100644 hw/avr/arduino.c
 create mode 100644 hw/avr/atmel_atmega.c
 create mode 100644 hw/avr/boot.c
 create mode 100644 hw/char/atmel_usart.c
 create mode 100644 hw/misc/atmel_power.c
 create mode 100644 hw/timer/atmel_timer16.c
 create mode 100644 target/avr/cpu.c
 create mode 100644 target/avr/disas.c
 create mode 100644 target/avr/gdbstub.c
 create mode 100644 target/avr/helper.c
 create mode 100644 target/avr/machine.c
 create mode 100644 target/avr/translate.c
 create mode 100644 gdb-xml/avr-cpu.xml
 create mode 100644 hw/avr/Kconfig
 create mode 100644 hw/avr/Makefile.objs
 create mode 100644 target/avr/Makefile.objs
 create mode 100644 target/avr/insn.decode
 create mode 100644 tests/acceptance/machine_avr6.py
Signature · 1 line
2.21.1