qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ZynqMP QSPI supports SPI transfer using DMA mode, but currently this
@ 2021-02-08  5:25 Bin Meng
  2021-02-08  5:25 ` [PATCH v2 1/2] hw/ssi: xilinx_spips: Clean up coding convention issues Bin Meng
  2021-02-08  5:25 ` [PATCH v2 2/2] hw/ssi: xilinx_spips: Implement basic QSPI DMA support Bin Meng
  0 siblings, 2 replies; 11+ messages in thread
From: Bin Meng @ 2021-02-08  5:25 UTC (permalink / raw)
  To: Alistair Francis, Edgar E . Iglesias, Peter Maydell, qemu-arm,
	qemu-devel
  Cc: Bin Meng

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



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

end of thread, other threads:[~2021-02-10 10:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08  5:25 [PATCH v2 0/2] ZynqMP QSPI supports SPI transfer using DMA mode, but currently this Bin Meng
2021-02-08  5:25 ` [PATCH v2 1/2] hw/ssi: xilinx_spips: Clean up coding convention issues Bin Meng
2021-02-08  5:25 ` [PATCH v2 2/2] hw/ssi: xilinx_spips: Implement basic QSPI DMA support Bin Meng
2021-02-08 12:44   ` Edgar E. Iglesias
2021-02-08 14:10     ` Bin Meng
2021-02-08 14:34       ` Edgar E. Iglesias
2021-02-08 14:45         ` Bin Meng
2021-02-08 15:17           ` Edgar E. Iglesias
2021-02-09  2:30             ` Bin Meng
2021-02-10  9:08               ` Bin Meng
2021-02-10 10:04                 ` Edgar E. Iglesias

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).