qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 00/11] aspeed: misc fixes and enhancements (SMC)


From: Cédric Le Goater
Subject: [Qemu-devel] [PATCH v2 00/11] aspeed: misc fixes and enhancements (SMC)
Date: Fri, 21 Sep 2018 18:19:28 +0200

Hello,

This series adds a couple of cleanups and two main features to the
SMC controller of the Aspeed machines :

 - a 'execute-in-place' property to boot directly from a memory region
   alias of the FMC flash module using MMIO execution. This is not
   activated by default because boot time needs to be improved on
   recent firmwares. It also breaks migration compatibility.

 - support for DMA to access the flash modules. Our primary need is
   the checksum calculation which is used to evaluate the best clock
   settings for reads.

Thanks,

C.

Changes since v1:

 - fixed #ifdef leading underscore
 - changed the name of the property from 'mmio-exec' to 'execute-in-place'
 - improved changelogs
 - introduced a DMA address space for the SMC controller

Cédric Le Goater (11):
  aspeed/timer: fix compile breakage with clang 3.4.2
  hw/arm/aspeed: change the FMC flash model of the AST2500 evb
  hw/arm/aspeed: Add an Aspeed machine class
  hw/arm/aspeed: add a 'execute-in-place' property to boot directly from
    CE0
  aspeed/smc: fix some alignment issues
  aspeed/smc: fix default read value
  aspeed/smc: add a 'sdram_base' and 'max-ram-size' properties
  aspeed/smc: add support for DMAs
  aspeed/smc: add DMA calibration settings
  aspeed/smc: inject errors in DMA checksum
  aspeed/smc: Add dummy data register

 include/hw/arm/aspeed.h         |  48 +++++
 include/hw/ssi/aspeed_smc.h     |   6 +
 include/hw/timer/aspeed_timer.h |   3 +-
 hw/arm/aspeed.c                 | 256 ++++++++++--------------
 hw/arm/aspeed_soc.c             |  28 ++-
 hw/ssi/aspeed_smc.c             | 341 ++++++++++++++++++++++++++++++--
 hw/timer/aspeed_timer.c         |   1 -
 7 files changed, 509 insertions(+), 174 deletions(-)
 create mode 100644 include/hw/arm/aspeed.h

-- 
2.17.1




reply via email to

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