qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] AMD/Xilinx Versal TRNG support
@ 2023-08-31 17:18 Tong Ho
  2023-08-31 17:18 ` [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device Tong Ho
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tong Ho @ 2023-08-31 17:18 UTC (permalink / raw)
  To: qemu-arm; +Cc: qemu-devel, alistair, edgar.iglesias, peter.maydell, tong.ho

This series adds support for the True Random Number Generator
(TRNG) in the AMD/Xilinx Versal family of devices.

The series starts by introducing a non-cryptographic grade model
of the TRNG controller in the Versal family of devices, followed
by instantiating the model in Xilinx Versal machine.

The series ends with a q-test for sanity check of the TRNG model
in the Xilinx Versal machine.

Best regards,
Tong Ho

References:
[1] https://docs.xilinx.com/r/en-US/am011-versal-acap-trm/True-Random-Number-Generator

Tong Ho (3):
  hw/misc: Introduce AMD/Xilix Versal TRNG device
  hw/arm: xlnx-versal-virt: Add AMD/Xilinx TRNG device
  tests/qtest: Introduce tests for AMD/Xilinx Versal TRNG device

 hw/arm/Kconfig                      |   1 +
 hw/arm/xlnx-versal-virt.c           |  20 +
 hw/arm/xlnx-versal.c                |  16 +
 hw/misc/Kconfig                     |   3 +
 hw/misc/meson.build                 |   3 +
 hw/misc/xlnx-versal-trng.c          | 725 ++++++++++++++++++++++++++++
 include/hw/arm/xlnx-versal.h        |   5 +
 include/hw/misc/xlnx-versal-trng.h  |  58 +++
 tests/qtest/meson.build             |   2 +-
 tests/qtest/xlnx-versal-trng-test.c | 490 +++++++++++++++++++
 10 files changed, 1322 insertions(+), 1 deletion(-)
 create mode 100644 hw/misc/xlnx-versal-trng.c
 create mode 100644 include/hw/misc/xlnx-versal-trng.h
 create mode 100644 tests/qtest/xlnx-versal-trng-test.c

-- 
2.25.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-09-08 18:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 17:18 [PATCH 0/3] AMD/Xilinx Versal TRNG support Tong Ho
2023-08-31 17:18 ` [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device Tong Ho
2023-08-31 23:44   ` Richard Henderson
2023-09-01  4:16     ` Ho, Tong
2023-09-08 13:49       ` Peter Maydell
2023-09-08 17:56         ` Ho, Tong
2023-09-08 18:34           ` Peter Maydell
2023-09-08 18:41             ` Ho, Tong
2023-08-31 17:18 ` [PATCH 2/3] hw/arm: xlnx-versal-virt: Add AMD/Xilinx " Tong Ho
2023-08-31 17:18 ` [PATCH 3/3] tests/qtest: Introduce tests for AMD/Xilinx Versal " Tong Ho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).