[PATCH v2 0/2] ZynqMP QSPI supports SPI transfer using DMA mode, but currently this

Bin Meng posted 2 patches 4 years, 9 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1612761924-68000-1-git-send-email-bmeng.cn@gmail.com
Maintainers: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Alistair Francis <alistair@alistair23.me>, Peter Maydell <peter.maydell@linaro.org>
include/hw/ssi/xilinx_spips.h |   3 +-
hw/ssi/xilinx_spips.c         | 230 ++++++++++++++++++++++++++++++++++++------
2 files changed, 200 insertions(+), 33 deletions(-)
[PATCH v2 0/2] ZynqMP QSPI supports SPI transfer using DMA mode, but currently this
Posted by Bin Meng 4 years, 9 months ago
From: Bin Meng <bin.meng@windriver.com>

is unimplemented. When QSPI is programmed to use DMA mode, QEMU will
crash. This is observed when testing VxWorks 7.

Add a basic implementation of QSPI DMA functionality.

Changes in v2:
- Remove unconnected TYPE_STREAM_SINK link property
- Add a TYPE_MEMORY_REGION link property, to allow board codes to tell
  the device what its view of the world that it is doing DMA to is
- Replace cpu_physical_memory_write() with address_space_write()

Xuzhou Cheng (2):
  hw/ssi: xilinx_spips: Clean up coding convention issues
  hw/ssi: xilinx_spips: Implement basic QSPI DMA support

 include/hw/ssi/xilinx_spips.h |   3 +-
 hw/ssi/xilinx_spips.c         | 230 ++++++++++++++++++++++++++++++++++++------
 2 files changed, 200 insertions(+), 33 deletions(-)

-- 
2.7.4