[Qemu-devel] [PATCH 00/21] aspeed: Add support for the AST2600 SoC

Cédric Le Goater posted 21 patches 4 years, 7 months ago
Test asan failed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu failed
Test checkpatch passed
Test docker-quick@centos7 failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190919055002.6729-1-clg@kaod.org
Maintainers: Joel Stanley <joel@jms.id.au>, Alistair Francis <alistair@alistair23.me>, "Cédric Le Goater" <clg@kaod.org>, Jason Wang <jasowang@redhat.com>, Andrew Jeffery <andrew@aj.id.au>, Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
include/hw/arm/aspeed_soc.h      |  29 +-
include/hw/i2c/aspeed_i2c.h      |  20 +-
include/hw/misc/aspeed_scu.h     |   7 +-
include/hw/misc/aspeed_sdmc.h    |  20 +-
include/hw/net/ftgmac100.h       |  17 +
include/hw/sd/aspeed_sdhci.h     |  34 ++
include/hw/ssi/aspeed_smc.h      |   2 +
include/hw/timer/aspeed_timer.h  |  18 ++
include/hw/watchdog/wdt_aspeed.h |  19 +-
hw/arm/aspeed.c                  |  37 ++-
hw/arm/aspeed_ast2600.c          | 522 +++++++++++++++++++++++++++++++
hw/arm/aspeed_soc.c              | 199 +++++++-----
hw/gpio/aspeed_gpio.c            | 142 ++++++++-
hw/i2c/aspeed_i2c.c              | 106 ++++++-
hw/misc/aspeed_scu.c             | 192 +++++++++++-
hw/misc/aspeed_sdmc.c            | 250 +++++++++++----
hw/net/ftgmac100.c               | 162 ++++++++++
hw/sd/aspeed_sdhci.c             | 198 ++++++++++++
hw/ssi/aspeed_smc.c              | 129 +++++++-
hw/timer/aspeed_timer.c          | 213 +++++++++++--
hw/watchdog/wdt_aspeed.c         | 153 +++++----
hw/arm/Makefile.objs             |   2 +-
hw/sd/Makefile.objs              |   1 +
23 files changed, 2204 insertions(+), 268 deletions(-)
create mode 100644 include/hw/sd/aspeed_sdhci.h
create mode 100644 hw/arm/aspeed_ast2600.c
create mode 100644 hw/sd/aspeed_sdhci.c
[Qemu-devel] [PATCH 00/21] aspeed: Add support for the AST2600 SoC
Posted by Cédric Le Goater 4 years, 7 months ago
Hello,

The series starts with a watchdog fix and a new model for the SDHCI
controller. Follows the code for the AST2600 SoC.

Most of the Aspeed models are reworked with an object class to
introduce the AST2600 variant. A model for the AST2600 SoC and a
simple AST2600 EVB machine is proposed at the end of the series. It
can boot the OpenBMC firmware image which is currently used for HW
bringup.

Thanks,

C.

Amithash Prasad (1):
  aspeed/wdt: Check correct register for clock source

Cédric Le Goater (13):
  aspeed/timer: Introduce an object class per SoC
  aspeed/timer: Add support for control register 3
  aspeed/timer: Add AST2600 support
  aspeed/timer: Add support for IRQ status register on the AST2600
  aspeed/sdmc: Introduce an object class per SoC
  watchdog/aspeed: Introduce an object class per SoC
  aspeed/smc: Add AST2600 support
  aspeed/i2c: Introduce an object class per SoC
  aspeed/i2c: Add AST2600 support
  aspeed: Introduce an object class per SoC
  aspeed/soc: Add AST2600 support
  aspeed: Add an AST2600 eval board
  aspeed: add support for the Aspeed MII controller of the AST2600

Eddie James (1):
  hw/sd/aspeed_sdhci: New device

Joel Stanley (5):
  hw: aspeed_scu: Add AST2600 support
  aspeed/sdmc: Add AST2600 support
  hw: wdt_aspeed: Add AST2600 support
  aspeed: Parameterise number of MACs
  aspeed/soc: Add ASPEED Video stub

Rashmica Gupta (1):
  hw/gpio: Add in AST2600 specific implementation

 include/hw/arm/aspeed_soc.h      |  29 +-
 include/hw/i2c/aspeed_i2c.h      |  20 +-
 include/hw/misc/aspeed_scu.h     |   7 +-
 include/hw/misc/aspeed_sdmc.h    |  20 +-
 include/hw/net/ftgmac100.h       |  17 +
 include/hw/sd/aspeed_sdhci.h     |  34 ++
 include/hw/ssi/aspeed_smc.h      |   2 +
 include/hw/timer/aspeed_timer.h  |  18 ++
 include/hw/watchdog/wdt_aspeed.h |  19 +-
 hw/arm/aspeed.c                  |  37 ++-
 hw/arm/aspeed_ast2600.c          | 522 +++++++++++++++++++++++++++++++
 hw/arm/aspeed_soc.c              | 199 +++++++-----
 hw/gpio/aspeed_gpio.c            | 142 ++++++++-
 hw/i2c/aspeed_i2c.c              | 106 ++++++-
 hw/misc/aspeed_scu.c             | 192 +++++++++++-
 hw/misc/aspeed_sdmc.c            | 250 +++++++++++----
 hw/net/ftgmac100.c               | 162 ++++++++++
 hw/sd/aspeed_sdhci.c             | 198 ++++++++++++
 hw/ssi/aspeed_smc.c              | 129 +++++++-
 hw/timer/aspeed_timer.c          | 213 +++++++++++--
 hw/watchdog/wdt_aspeed.c         | 153 +++++----
 hw/arm/Makefile.objs             |   2 +-
 hw/sd/Makefile.objs              |   1 +
 23 files changed, 2204 insertions(+), 268 deletions(-)
 create mode 100644 include/hw/sd/aspeed_sdhci.h
 create mode 100644 hw/arm/aspeed_ast2600.c
 create mode 100644 hw/sd/aspeed_sdhci.c

-- 
2.21.0


Re: [Qemu-devel] [PATCH 00/21] aspeed: Add support for the AST2600 SoC
Posted by no-reply@patchew.org 4 years, 7 months ago
Patchew URL: https://patchew.org/QEMU/20190919055002.6729-1-clg@kaod.org/



Hi,

This series failed the docker-quick@centos7 build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-centos7 V=1 NETWORK=1
time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1
=== TEST SCRIPT END ===

libudev           no
default devices   yes

warning: Python 2 support is deprecated
warning: Python 3 will be required for building future versions of QEMU
cross containers  no

NOTE: guest cross-compilers enabled: cc
---
Property '.cntfrq' not found
Broken pipe
/tmp/qemu-test/src/tests/libqtest.c:149: kill_qemu() detected QEMU death from signal 6 (Aborted) (core dumped)
ERROR - too few tests run (expected 6, got 5)
make: *** [check-qtest-aarch64] Error 1
make: *** Waiting for unfinished jobs....
  TEST    check-qtest-x86_64: tests/q35-test


The full log is available at
http://patchew.org/logs/20190919055002.6729-1-clg@kaod.org/testing.docker-quick@centos7/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
Re: [Qemu-devel] [PATCH 00/21] aspeed: Add support for the AST2600 SoC
Posted by Andrew Jeffery 4 years, 7 months ago

On Fri, 20 Sep 2019, at 06:26, no-reply@patchew.org wrote:
> Patchew URL: https://patchew.org/QEMU/20190919055002.6729-1-clg@kaod.org/
> 
> 
> 
> Hi,
> 
> This series failed the docker-quick@centos7 build test. Please find the 
> testing commands and
> their output below. If you have Docker installed, you can probably 
> reproduce it
> locally.
> 
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> make docker-image-centos7 V=1 NETWORK=1
> time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1
> === TEST SCRIPT END ===
> 
> libudev           no
> default devices   yes
> 
> warning: Python 2 support is deprecated
> warning: Python 3 will be required for building future versions of QEMU
> cross containers  no
> 
> NOTE: guest cross-compilers enabled: cc
> ---
> Property '.cntfrq' not found

Ah, we should drop the patch introducing the CNTFRQ configuration for the 2600
as well given the patch adding support to configure it isn't part of the series.

Andrew

Re: [Qemu-devel] [PATCH 00/21] aspeed: Add support for the AST2600 SoC
Posted by Cédric Le Goater 4 years, 7 months ago
On 20/09/2019 05:34, Andrew Jeffery wrote:
> 
> 
> On Fri, 20 Sep 2019, at 06:26, no-reply@patchew.org wrote:
>> Patchew URL: https://patchew.org/QEMU/20190919055002.6729-1-clg@kaod.org/
>>
>>
>>
>> Hi,
>>
>> This series failed the docker-quick@centos7 build test. Please find the 
>> testing commands and
>> their output below. If you have Docker installed, you can probably 
>> reproduce it
>> locally.
>>
>> === TEST SCRIPT BEGIN ===
>> #!/bin/bash
>> make docker-image-centos7 V=1 NETWORK=1
>> time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1
>> === TEST SCRIPT END ===
>>
>> libudev           no
>> default devices   yes
>>
>> warning: Python 2 support is deprecated
>> warning: Python 3 will be required for building future versions of QEMU
>> cross containers  no
>>
>> NOTE: guest cross-compilers enabled: cc
>> ---
>> Property '.cntfrq' not found
> 
> Ah, we should drop the patch introducing the CNTFRQ configuration for the 2600
> as well given the patch adding support to configure it isn't part of the series.

yes. I will move it behind in my branch.

Thanks,

C.