Skip to content

aspeed: machine extensions and fixes

Cédric Le Goater qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest21 patches 17 repliesIn review
  2. v119 patches 24 repliesSuperseded

Changes in v2 from the cover letter

- reworked the CPU logic to put the number of CPUs under the SoC
- introduced a "inject-failure" property as suggested by Philippe

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21aspeed: add a per SoC mapping for the interrupt spacehw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+85 -80 replies
2/21aspeed: add a per SoC mapping for the memory spacehw/arm/aspeed.c hw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+78 -510 replies
3/21hw: timer: Add ASPEED RTC devicehw/timer/Makefile.objs hw/timer/aspeed_rtc.c hw/timer/trace-events +1 more+216 -13 replies
4/21hw/arm/aspeed: Add RTC to SoChw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+15 -00 replies
5/21aspeed: introduce a configurable number of CPU per machinehw/arm/aspeed.c hw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+36 -91 reply
6/21aspeed: add support for multiple NICshw/arm/aspeed_soc.c include/hw/arm/aspeed_soc.h+21 -151 reply
7/21aspeed/timer: Fix behaviour running Linuxhw/timer/aspeed_timer.c+31 -280 replies
8/21aspeed/timer: Status register contains reload for stopped timerhw/timer/aspeed_timer.c+5 -11 reply
9/21aspeed/timer: Fix match calculationshw/timer/aspeed_timer.c+10 -30 replies
10/21aspeed/timer: Provide back-pressure information for short periodshw/misc/aspeed_scu.c hw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+12 -13 replies
11/21aspeed/timer: Ensure positive muldiv deltahw/timer/aspeed_timer.c+5 -12 replies
12/21aspeed: remove the "ram" linkhw/arm/aspeed.c+0 -20 replies
13/21aspeed: add a RAM memory region containerhw/arm/aspeed.c+9 -40 replies
14/21aspeed/smc: add a 'sdram_base' propertyhw/arm/aspeed_soc.c hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+10 -00 replies
15/21aspeed/smc: add support for DMAshw/arm/aspeed.c hw/arm/aspeed_soc.c hw/ssi/aspeed_smc.c +1 more+232 -62 replies
16/21aspeed/smc: add DMA calibration settingshw/ssi/aspeed_smc.c+63 -11 reply
17/21aspeed/smc: inject errors in DMA checksumhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+37 -00 replies
18/21aspeed/smc: Calculate checksum on normal DMAhw/ssi/aspeed_smc.c+1 -00 replies
19/21aspeed: Add support for the swift-bmc boardhw/arm/aspeed.c+50 -01 reply
20/21hw/misc/aspeed_xdma: New devicehw/arm/aspeed_soc.c hw/misc/Makefile.objs hw/misc/aspeed_xdma.c +3 more+219 -00 replies
21/21aspeed: vic: Add support for legacy register interfacehw/intc/aspeed_vic.c+63 -421 reply

Reviews trailers per patch

18 of 21 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellJoel StanleyPhilippe Mathieu-DaudéCédric Le GoaterAndrew Jeffery
1/21R-b R-b
2/21R-b R-b
3/21R-b
4/21R-b
5/21R-b
6/21R-b
7/21
8/21R-b
9/21
10/21
11/21R-b R-b
12/21R-b
13/21R-b
14/21R-b R-b
15/21A-b
16/21R-b A-b
17/21R-b
18/21R-b
19/21R-b R-b
20/21R-b
21/21R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/21] aspeed: machine extensions and fixes

Hello,

This series improves the current models of the Aspeed machines in QEMU and adds new ones. It also prepares ground for the future Aspeed SoC. You will find patches for :

- per SoC mappings of the memory space and the interrupt number space
- support for multiple CPUs (improved)
- support for multiple NICs
- a RTC model from Joel
- a basic XDMA model from Eddie
- support for multiple CPUs and NICs
- fixes for the irq and timer models from Joel, Andrew and Christian
- DMA support for the SMC controller, which was reworked to use a RAM container region as suggested by Peter in September 2018
- new swift-bmc machine from Adriana (P9' processor)

Thanks,

C.

Changes since v1:

- reworked the CPU logic to put the number of CPUs under the SoC
- introduced a "inject-failure" property as suggested by Philippe

Adriana Kobylak (1):
aspeed: Add support for the swift-bmc board

Andrew Jeffery (4):
aspeed/timer: Status register contains reload for stopped timer aspeed/timer: Fix match calculations
aspeed/timer: Provide back-pressure information for short periods
aspeed: vic: Add support for legacy register interface

Christian Svensson (2):
aspeed/timer: Ensure positive muldiv delta
aspeed/smc: Calculate checksum on normal DMA

Cédric Le Goater (10):
aspeed: add a per SoC mapping for the interrupt space
aspeed: add a per SoC mapping for the memory space
aspeed: introduce a configurable number of CPU per machine
aspeed: add support for multiple NICs
aspeed: remove the "ram" link
aspeed: add a RAM memory region container aspeed/smc: add a 'sdram_base' property aspeed/smc: add support for DMAs
aspeed/smc: add DMA calibration settings aspeed/smc: inject errors in DMA checksum

Eddie James (1):
hw/misc/aspeed_xdma: New device

Joel Stanley (3):
hw: timer: Add ASPEED RTC device
hw/arm/aspeed: Add RTC to SoC
aspeed/timer: Fix behaviour running Linux

 include/hw/arm/aspeed_soc.h     |  53 ++++-
 include/hw/misc/aspeed_xdma.h   |  30 +++
 include/hw/ssi/aspeed_smc.h     |  10 +
 include/hw/timer/aspeed_rtc.h   |  31 +++
 include/hw/timer/aspeed_timer.h |   1 +
 hw/arm/aspeed.c                 |  78 +++++++-
 hw/arm/aspeed_soc.c             | 268 +++++++++++++++++++-------
 hw/intc/aspeed_vic.c            | 105 ++++++----
 hw/misc/aspeed_scu.c            |   6 +
 hw/misc/aspeed_xdma.c           | 165 ++++++++++++++++
 hw/ssi/aspeed_smc.c             | 330 +++++++++++++++++++++++++++++++-
 hw/timer/aspeed_rtc.c           | 180 +++++++++++++++++
 hw/timer/aspeed_timer.c         |  84 +++++---
 hw/misc/Makefile.objs           |   1 +
 hw/misc/trace-events            |   3 +
 hw/timer/Makefile.objs          |   2 +-
 hw/timer/trace-events           |   4 +
 17 files changed, 1188 insertions(+), 163 deletions(-)
 create mode 100644 include/hw/misc/aspeed_xdma.h
 create mode 100644 include/hw/timer/aspeed_rtc.h
 create mode 100644 hw/misc/aspeed_xdma.c
 create mode 100644 hw/timer/aspeed_rtc.c
Signature · 1 line
2.21.0