[PATCH v2 0/2] hw/arm: versal: Add support for the XRAMs

Edgar E. Iglesias posted 2 patches 4 years, 8 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210308224637.2949533-1-edgar.iglesias@gmail.com
Maintainers: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Alistair Francis <alistair@alistair23.me>
docs/system/arm/xlnx-versal-virt.rst |   1 +
include/hw/arm/xlnx-versal.h         |  13 ++
include/hw/misc/xlnx-versal-xramc.h  |  97 ++++++++++
hw/arm/xlnx-versal.c                 |  36 ++++
hw/misc/xlnx-versal-xramc.c          | 253 +++++++++++++++++++++++++++
hw/misc/meson.build                  |   1 +
6 files changed, 401 insertions(+)
create mode 100644 include/hw/misc/xlnx-versal-xramc.h
create mode 100644 hw/misc/xlnx-versal-xramc.c
[PATCH v2 0/2] hw/arm: versal: Add support for the XRAMs
Posted by Edgar E. Iglesias 4 years, 8 months ago
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

This series adds support for the 4x1MB Versal Accelerator RAMs (XRAMs).
Most of the controller is dummy, but it's got enough to make firmware
and some of our test SW happy.

Cheers,
Edgar

ChangeLog:

v1 -> v2:
* Reduce list of included files in both .h and .c.
* Remove unnecessary MR container around regarray.
* Don't leak regarray.


Edgar E. Iglesias (2):
  hw/misc: versal: Add a model of the XRAM controller
  hw/arm: versal: Add support for the XRAMs

 docs/system/arm/xlnx-versal-virt.rst |   1 +
 include/hw/arm/xlnx-versal.h         |  13 ++
 include/hw/misc/xlnx-versal-xramc.h  |  97 ++++++++++
 hw/arm/xlnx-versal.c                 |  36 ++++
 hw/misc/xlnx-versal-xramc.c          | 253 +++++++++++++++++++++++++++
 hw/misc/meson.build                  |   1 +
 6 files changed, 401 insertions(+)
 create mode 100644 include/hw/misc/xlnx-versal-xramc.h
 create mode 100644 hw/misc/xlnx-versal-xramc.c

-- 
2.25.1


Re: [PATCH v2 0/2] hw/arm: versal: Add support for the XRAMs
Posted by Peter Maydell 4 years, 8 months ago
On Mon, 8 Mar 2021 at 22:46, Edgar E. Iglesias <edgar.iglesias@gmail.com> wrote:
>
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> This series adds support for the 4x1MB Versal Accelerator RAMs (XRAMs).
> Most of the controller is dummy, but it's got enough to make firmware
> and some of our test SW happy.



Applied to target-arm.next, thanks.

-- PMM