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

Cédric Le Goater posted 11 patches 7 years, 2 months ago
Only 10 patches received!
There is a newer version of this series
include/hw/arm/aspeed.h         |  48 ++++++
include/hw/ssi/aspeed_smc.h     |   4 +
include/hw/timer/aspeed_timer.h |   3 +-
hw/arm/aspeed.c                 | 255 +++++++++++++------------------
hw/arm/aspeed_soc.c             |  28 ++--
hw/ssi/aspeed_smc.c             | 263 ++++++++++++++++++++++++++++++--
hw/timer/aspeed_timer.c         |   1 -
7 files changed, 428 insertions(+), 174 deletions(-)
create mode 100644 include/hw/arm/aspeed.h
[Qemu-devel] [PATCH 00/11] aspeed: misc fixes and enhancements (SMC)
Posted by Cédric Le Goater 7 years, 2 months ago
Hello,

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

 - a 'mmio-exec' 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.

 - 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.

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 'mmio-exec' property to boot from the FMC flash
    module
  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     |   4 +
 include/hw/timer/aspeed_timer.h |   3 +-
 hw/arm/aspeed.c                 | 255 +++++++++++++------------------
 hw/arm/aspeed_soc.c             |  28 ++--
 hw/ssi/aspeed_smc.c             | 263 ++++++++++++++++++++++++++++++--
 hw/timer/aspeed_timer.c         |   1 -
 7 files changed, 428 insertions(+), 174 deletions(-)
 create mode 100644 include/hw/arm/aspeed.h

-- 
2.17.1


Re: [Qemu-devel] [PATCH 00/11] aspeed: misc fixes and enhancements (SMC)
Posted by Joel Stanley 7 years, 2 months ago
On Fri, 31 Aug 2018 at 03:38, Cédric Le Goater <clg@kaod.org> wrote:
>
> Hello,
>
> This series adds a couple of cleanups and two main features to the
> Aspeed machines :
>
>  - a 'mmio-exec' 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.
>
>  - 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.

I gave this series a number of tests and it looked good.

 Tested-by: Joel Stanley <joel@jms.id.au>

Cheers,

Joel