qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH target-arm v1 00/15] Next Generation Xilinx Zynq


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH target-arm v1 00/15] Next Generation Xilinx Zynq SoC
Date: Mon, 2 Mar 2015 12:06:12 -0800

On Thu, Feb 26, 2015 at 7:38 PM, Alistair Francis
<address@hidden> wrote:
> On Tue, Feb 24, 2015 at 9:04 AM, Peter Crosthwaite
> <address@hidden> wrote:
>> Hi Peter and all,
>>
>> Xilinx's next gen SoC has been announced. This series adds a SoC and
>> machine model.
>>
>> Series start with addition of ARM cortex A53 support (P1 and P2). The
>> Soc skeleton is then added with GIC, EMACs and UARTs are added. The
>> pre-existing models for GEM and UART are not SoC friendly (no visible
>> state struct), so those are refactored for SoC.
>>
>> Create a generic machine model that exposes just the RAW SoC itself. The
>> only external device modelled is DDR RAM, as driven by the -m option.
>> The standard bootloader and PSCI support is used.
>>
>> Regards,
>> Peter
>>
>>
>> Peter Crosthwaite (15):
>>   target-arm: cpu64: Factor out ARM cortex init
>>   target-arm: cpu64: Add support for cortex-a53
>>   arm: Introduce Xilinx Zynq MPSoC
>>   arm: xlnx-zynq-mp: Add GIC
>>   arm: xlnx-zynq-mp: Connect CPU Timers to GIC
>>   net: cadence_gem: Clean up variable names
>>   net: cadence_gem: Split state struct and type into header
>>   arm: xilinx-zynq-mp: Add GEM support
>>   char: cadence_uart: Clean up variable names
>>   char: cadence_uart: Split state struct and type into header
>>   arm: xilinx-zynq-mp: Add UART support
>>   arm: Add xilinx-zynq-mp-generic machine
>>   arm: xilinx-zynq-mp-generic: Add external RAM
>>   arm: xilinx-zynq-mp-generic: Add bootloading
>>   arm: xlnx-zynq-mp: Add PSCI setup
>>
>>  default-configs/aarch64-softmmu.mak |   2 +-
>>  hw/arm/Makefile.objs                |   1 +
>>  hw/arm/xlnx-zynq-mp-generic.c       |  67 +++++++++++++++
>>  hw/arm/xlnx-zynq-mp.c               | 167 
>> ++++++++++++++++++++++++++++++++++++
>
> These two files need to be renamed. You can' tell what each one is
> from the title.
>

So the unqualified "zynqmp" should imply the SoC. This currently
applies to allwinner a10 and digic so Im trying to follow that
convention. When we start using specific boards, the zynqmp will be
dropped from the name completely. We could instead use the specific
board name ep108 but I wanted that to be additive. The board would be
called:

hw/arm/xlnx-ep108.c

by current conventions. One alternative would be just go out with
ep108 board only and no generic machine if you think that works
better?

> It should be something like 'xilinx_zynqmp_soc.c' and
> 'xilinx_zynqmp_machine.c' (or maybe just 'xilinx_zynqmp.c').
>

I'm trying to start using the truncated vendor name xlnx instead of
xilinx going forward (there is already in-tree precedent) as the 3
saved chars does save on a few 80 char line wraps. This is also the
convention used in device tree compatible strings.

Regards,
Peter

> That way it also matches the same style as the current Zynq machine.
>
> Thanks,
>
> Alistair
>
>>  hw/char/cadence_uart.c              | 113 ++++++++++--------------
>>  hw/net/cadence_gem.c                |  95 ++++++--------------
>>  include/hw/arm/xlnx-zynq-mp.h       |  29 +++++++
>>  include/hw/char/cadence_uart.h      |  35 ++++++++
>>  include/hw/net/cadence_gem.h        |  49 +++++++++++
>>  target-arm/cpu64.c                  |  47 +++++++---
>>  10 files changed, 456 insertions(+), 149 deletions(-)
>>  create mode 100644 hw/arm/xlnx-zynq-mp-generic.c
>>  create mode 100644 hw/arm/xlnx-zynq-mp.c
>>  create mode 100644 include/hw/arm/xlnx-zynq-mp.h
>>  create mode 100644 include/hw/char/cadence_uart.h
>>  create mode 100644 include/hw/net/cadence_gem.h
>>
>> --
>> 2.3.0.1.g27a12f1
>>
>>
>



reply via email to

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