Hexagon: Add real SoC-style machines
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 6 repliesIn review
- v215 patches 3 repliesSuperseded
- v114 patches 21 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | Hexagon: add v85 CPU modeldocs/ linux-user/ target/ +1 more | +11 | 0 replies | |
| 2/16 | linux-user/hexagon: report ISA HWCAP through v85linux-user/ linux-user/ | +8 | 0 replies | |
| 3/16 | hw/hexagon: let a machine place its DDRhw/ include/ | +4 | 1 reply | |
| 4/16 | hw/hexagon: introduce hex-board abstractionMAINTAINERS hw/ hw/ +2 more | +340 | 1 reply | |
| 5/16 | hw/hexagon: convert virt board to hex-boardhw/ include/ | +26 | 1 reply | |
| 6/16 | hw/misc: add the QDSP6SS PLL, RCGMAINTAINERS hw/ hw/ +2 more | +231 | 0 replies | |
| 7/16 | hw/hexagon: add the QCS6490 CDSP machineMAINTAINERS hw/ hw/ +9 more | +738 | 0 replies | |
| 8/16 | hw/hexagon: add the SA8775P CDSP machinehw/ hw/ hw/ +4 more | +76 | 0 replies | |
| 9/16 | hw/hexagon: add the SC8480XP NSP0 machinehw/ hw/ hw/ +5 more | +155 | 0 replies | |
| 10/16 | hw/hexagon: add the SA8797P NSP0 machinehw/ hw/ hw/ +4 more | +136 | 0 replies | |
| 11/16 | hw/hexagon: add the SM8975 NSP machinehw/ hw/ hw/ +5 more | +186 | 0 replies | |
| 12/16 | hw/hexagon: add v79NA1 machinehw/ hw/ include/ | +57 | 0 replies | |
| 13/16 | hw/hexagon: add subsystem-base propertyMAINTAINERS hw/ include/ +2 more | +155 | 0 replies | |
| 14/16 | target/hexagon: fix the allocframe framekeytarget/ tests/ tests/ | +69 | 0 replies | |
| 15/16 | tests/functional/hexagon: boot DSP firmwaretests/ tests/ | +99 | 0 replies | |
| 16/16 | BCAIN do not merge - gitlab-ci: enable CI pipelines on forks.gitlab-ci.d/ .gitlab-ci.d/ tests/ | +62 | 3 replies |
Reviews trailers per patch
9 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Pierrick Bouvier | Anton Johansson | Marco Liebel |
|---|---|---|---|
| 1/16 | R-b | ||
| 2/16 | R-b | R-b | |
| 3/16 | R-b | ||
| 4/16 | R-b | ||
| 5/16 | R-b | ||
| 6/16 | |||
| 7/16 | R-b | ||
| 8/16 | |||
| 9/16 | |||
| 10/16 | |||
| 11/16 | |||
| 12/16 | |||
| 13/16 | R-b | ||
| 14/16 | R-b | ||
| 15/16 | R-b | ||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 00/16] Hexagon: Add real SoC-style machines
Previously we added synthetic machines intended for compatibility with programs created by the Hexagon SDK. These simple configurations have a memory/irq map that doesn't match any real chips, and they are limited to an interrupt controller and a timer device.
Here we add DSP machines that reflect real-world devices and run some of the commercial firmware to test it. Note that for now the boot will not progress much beyond the initial kernel boot. Dependencies on other yet-to-be-modeled devices are preventing the firmware from coming up fully to a steady/idle state.
In v3:
- s/ASSET/ASSET_FIRMWARE/ in order to get the asset precache working as intended.
In v2:
- added range checks for RAM/FDT/initrd bounds, subsystem_base addr.
- fixed endianness bug in bootloader creation.
- Used full URLs for Asset()s in test_qcom_dsp_firmware.py, switched from a sha to a tag.
- Included the "report ISA HWCAP through v85" patch from another series for better context.
v2: https://lore.kernel.org/qemu-devel/[email protected]/
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Brian Cain (16):
Hexagon: add v85 CPU model
linux-user/hexagon: report ISA HWCAP through v85 hw/hexagon: let a machine place its DDR hw/hexagon: introduce hex-board abstraction hw/hexagon: convert virt board to hex-board hw/misc: add the QDSP6SS PLL, RCG
hw/hexagon: add the QCS6490 CDSP machine hw/hexagon: add the SA8775P CDSP machine hw/hexagon: add the SC8480XP NSP0 machine hw/hexagon: add the SA8797P NSP0 machine hw/hexagon: add the SM8975 NSP machine
hw/hexagon: add v79NA1 machine
hw/hexagon: add subsystem-base property target/hexagon: fix the allocframe framekey tests/functional/hexagon: boot DSP firmware
BCAIN do not merge - gitlab-ci: enable CI pipelines on forks
MAINTAINERS | 6 + docs/system/hexagon/emulation.rst | 2 +- include/hw/hexagon/hex-board.h | 65 +++ include/hw/hexagon/hexagon.h | 10 + include/hw/hexagon/qcom_dsp.h | 81 ++++ include/hw/hexagon/virt.h | 6 - include/hw/misc/qcom-qdsp6ss-clk.h | 15 + linux-user/hexagon/target_elf.h | 2 + target/hexagon/cpu-qom.h | 4 + hw/hexagon/machine_cfg_qcs6490_cdsp.h.inc | 65 +++ hw/hexagon/machine_cfg_sa8775_cdsp0.h.inc | 6 +- hw/hexagon/machine_cfg_sa8797p_nsp0.h.inc | 56 +++ hw/hexagon/machine_cfg_sc8480xp_nsp0.h.inc | 52 +++ hw/hexagon/machine_cfg_sm8975_nsp.h.inc | 55 +++ hw/hexagon/machine_cfg_v79na_1.h.inc | 34 ++ hw/hexagon/hex-board.c | 265 +++++++++++ hw/hexagon/hex-subsys.c | 4 +- hw/hexagon/hexagon_dsp.c | 93 +++- hw/hexagon/qcom_dsp.c | 410 ++++++++++++++++++ hw/hexagon/qcs6490_cdsp.c | 64 +++ hw/hexagon/sa8775p_cdsp.c | 59 +++ hw/hexagon/sa8797p_nsp0.c | 68 +++ hw/hexagon/sc8480xp_nsp0.c | 90 ++++ hw/hexagon/sm8975_nsp.c | 102 +++++ hw/hexagon/virt.c | 309 ++----------- hw/misc/qcom-qdsp6ss-clk.c | 208 +++++++++ linux-user/hexagon/elfload.c | 10 + target/hexagon/cpu.c | 2 + target/hexagon/idef-parser/parser-helpers.c | 2 +- tests/qtest/hexagon-config-test.c | 78 ++++ tests/qtest/l2vic-test.c | 10 + tests/qtest/qcom-dsp-test.c | 113 +++++ tests/qtest/qct-qtimer-test.c | 10 + tests/tcg/hexagon/framekey.c | 67 +++ .../dockerfiles/debian-hexagon-cross.docker | 2 + .gitlab-ci.d/buildtest.yml | 58 +++ .gitlab-ci.d/qemu-project.yml | 2 + hw/hexagon/Kconfig | 48 +- hw/hexagon/meson.build | 7 + hw/misc/Kconfig | 3 + hw/misc/meson.build | 3 + tests/functional/hexagon/meson.build | 2 + .../hexagon/test_qcom_dsp_firmware.py | 97 +++++ tests/qtest/meson.build | 4 +- tests/tcg/hexagon/meson.build | 1 + 45 files changed, 2352 insertions(+), 298 deletions(-) create mode 100644 include/hw/hexagon/hex-board.h create mode 100644 include/hw/hexagon/qcom_dsp.h create mode 100644 include/hw/misc/qcom-qdsp6ss-clk.h create mode 100644 hw/hexagon/machine_cfg_qcs6490_cdsp.h.inc create mode 100644 hw/hexagon/machine_cfg_sa8797p_nsp0.h.inc create mode 100644 hw/hexagon/machine_cfg_sc8480xp_nsp0.h.inc create mode 100644 hw/hexagon/machine_cfg_sm8975_nsp.h.inc create mode 100644 hw/hexagon/machine_cfg_v79na_1.h.inc create mode 100644 hw/hexagon/hex-board.c create mode 100644 hw/hexagon/qcom_dsp.c create mode 100644 hw/hexagon/qcs6490_cdsp.c create mode 100644 hw/hexagon/sa8775p_cdsp.c create mode 100644 hw/hexagon/sa8797p_nsp0.c create mode 100644 hw/hexagon/sc8480xp_nsp0.c create mode 100644 hw/hexagon/sm8975_nsp.c create mode 100644 hw/misc/qcom-qdsp6ss-clk.c create mode 100644 tests/qtest/hexagon-config-test.c create mode 100644 tests/qtest/qcom-dsp-test.c create mode 100644 tests/tcg/hexagon/framekey.c create mode 100755 tests/functional/hexagon/test_qcom_dsp_firmware.py
Signature · 1 line
2.34.1