Skip to content

hw/nvram: hw/arm: Introduce Xilinx eFUSE and BBRAM

Tong Ho qemu-arm qemu-devel 3 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 4 repliesApplied
  2. v29 patches 5 repliesSuperseded
  3. v19 patches 1 replySuperseded

Changes in v3 from the cover letter

* Move drive-backend attaching to board models
* Use OBJECT_DECLARE_SIMPLE_TYPE instead of OBJECT_CHECK
* Use reg_array->mem directly instead of an extra mr-container
* Add doc comments for .h file API
* Remove "qemu/osdep.h" from .h files
* Remove ad-hoc endianess detection
* Remove error_abort from device models
* Remove empty vmstate and mininum_version_id_old
* Remove unused #define macros
* Remove unavailable references from comments
* Kconfig & meson.build:
- Add CONFIG_XLNX_EFUSE_CRC in patch 1
- Select bbram and efuse devices from boards' Kconfig
- Remove 'if' from meson.build
* Fix spelling and wording in comments and docs

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/9hw/nvram: Introduce Xilinx eFuse QOMhw/nvram/Kconfig hw/nvram/meson.build hw/nvram/xlnx-efuse-crc.c +2 more+540 -00 replies
2/9hw/nvram: Introduce Xilinx Versal eFuse devicehw/nvram/Kconfig hw/nvram/meson.build hw/nvram/xlnx-versal-efuse-cache.c +2 more+972 -00 replies
3/9hw/nvram: Introduce Xilinx ZynqMP eFuse devicehw/nvram/Kconfig hw/nvram/meson.build hw/nvram/xlnx-zynqmp-efuse.c +1 more+905 -00 replies
4/9hw/nvram: Introduce Xilinx battery-backed ramhw/nvram/Kconfig hw/nvram/meson.build hw/nvram/xlnx-bbram.c +1 more+604 -00 replies
5/9hw/arm: xlnx-versal-virt: Add Xilinx BBRAM devicehw/arm/Kconfig hw/arm/xlnx-versal-virt.c hw/arm/xlnx-versal.c +1 more+60 -00 replies
6/9hw/arm: xlnx-versal-virt: Add Xilinx eFUSE devicehw/arm/Kconfig hw/arm/xlnx-versal-virt.c hw/arm/xlnx-versal.c +1 more+102 -00 replies
7/9hw/arm: xlnx-zcu102: Add Xilinx BBRAM devicehw/Kconfig hw/arm/xlnx-zcu102.c hw/arm/xlnx-zynqmp.c +1 more+38 -00 replies
8/9hw/arm: xlnx-zcu102: Add Xilinx eFUSE devicehw/Kconfig hw/arm/xlnx-zcu102.c hw/arm/xlnx-zynqmp.c +1 more+48 -00 replies
9/9docs/system/arm: xlnx-versal-virt: BBRAM and eFUSE Usagedocs/system/arm/xlnx-versal-virt.rst+49 -00 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by.

PatchEdgar E. IglesiasSai Pavan Boddu
1/9Co-authored-by Co-authored-by
2/9Co-authored-by Co-authored-by
3/9Co-authored-by Co-authored-by
4/9Co-authored-by Co-authored-by
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] hw/nvram: hw/arm: Introduce Xilinx eFUSE and BBRAM

This series implements the Xilinx eFUSE and BBRAM devices for the Versal and ZynqMP product families.

Furthermore, both new devices are connected to the xlnx-versal-virt board and the xlnx-zcu102 board.

See changes in docs/system/arm/xlnx-versal-virt.rst for detail.

---

Changelogs:

v2->v3:
* Move drive-backend attaching to board models
* Use OBJECT_DECLARE_SIMPLE_TYPE instead of OBJECT_CHECK
* Use reg_array->mem directly instead of an extra mr-container
* Add doc comments for .h file API
* Remove "qemu/osdep.h" from .h files
* Remove ad-hoc endianess detection
* Remove error_abort from device models
* Remove empty vmstate and mininum_version_id_old
* Remove unused #define macros
* Remove unavailable references from comments
* Kconfig & meson.build:
- Add CONFIG_XLNX_EFUSE_CRC in patch 1
- Select bbram and efuse devices from boards' Kconfig
- Remove 'if' from meson.build
* Fix spelling and wording in comments and docs

v1->v2:
* Move doc change from 1st to last of this series
* Remove outdated comment of 'autogenerated by xregqemu.py' from all affected files.

---

Tong Ho (9):
hw/nvram: Introduce Xilinx eFuse QOM
hw/nvram: Introduce Xilinx Versal eFuse device hw/nvram: Introduce Xilinx ZynqMP eFuse device hw/nvram: Introduce Xilinx battery-backed ram hw/arm: xlnx-versal-virt: Add Xilinx BBRAM device hw/arm: xlnx-versal-virt: Add Xilinx eFUSE device hw/arm: xlnx-zcu102: Add Xilinx BBRAM device hw/arm: xlnx-zcu102: Add Xilinx eFUSE device docs/system/arm: xlnx-versal-virt: BBRAM and eFUSE Usage

 docs/system/arm/xlnx-versal-virt.rst |  49 ++
 hw/Kconfig                           |   2 +
 hw/arm/Kconfig                       |   2 +
 hw/arm/xlnx-versal-virt.c            |  88 +++
 hw/arm/xlnx-versal.c                 |  57 ++
 hw/arm/xlnx-zcu102.c                 |  30 +
 hw/arm/xlnx-zynqmp.c                 |  49 ++
 hw/nvram/Kconfig                     |  19 +
 hw/nvram/meson.build                 |   8 +
 hw/nvram/xlnx-bbram.c                | 545 +++++++++++++++++
 hw/nvram/xlnx-efuse-crc.c            | 119 ++++
 hw/nvram/xlnx-efuse.c                | 280 +++++++++
 hw/nvram/xlnx-versal-efuse-cache.c   | 114 ++++
 hw/nvram/xlnx-versal-efuse-ctrl.c    | 783 ++++++++++++++++++++++++
 hw/nvram/xlnx-zynqmp-efuse.c         | 855 +++++++++++++++++++++++++++
 include/hw/arm/xlnx-versal.h         |  15 +
 include/hw/arm/xlnx-zynqmp.h         |   5 +
 include/hw/nvram/xlnx-bbram.h        |  54 ++
 include/hw/nvram/xlnx-efuse.h        | 132 +++++
 include/hw/nvram/xlnx-versal-efuse.h |  68 +++
 include/hw/nvram/xlnx-zynqmp-efuse.h |  44 ++
 21 files changed, 3318 insertions(+)
 create mode 100644 hw/nvram/xlnx-bbram.c
 create mode 100644 hw/nvram/xlnx-efuse-crc.c
 create mode 100644 hw/nvram/xlnx-efuse.c
 create mode 100644 hw/nvram/xlnx-versal-efuse-cache.c
 create mode 100644 hw/nvram/xlnx-versal-efuse-ctrl.c
 create mode 100644 hw/nvram/xlnx-zynqmp-efuse.c
 create mode 100644 include/hw/nvram/xlnx-bbram.h
 create mode 100644 include/hw/nvram/xlnx-efuse.h
 create mode 100644 include/hw/nvram/xlnx-versal-efuse.h
 create mode 100644 include/hw/nvram/xlnx-zynqmp-efuse.h
Signature · 1 line
2.25.1