]> Git Repo - qemu.git/commit - hw/arm/versatilepb.c
hw/dma/pl080: Don't use CPU address space for DMA accesses
authorPeter Maydell <[email protected]>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
committerPeter Maydell <[email protected]>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
commit112a829f8f0add64f73bfea66c153355ea596da9
treeedbb66a6e9d77c4ca037166506b782a48c72a066
parent6d0ed6ba6c1aa0201326d4f0072e91983495bb52
hw/dma/pl080: Don't use CPU address space for DMA accesses

Currently our PL080/PL081 model uses a combination of the CPU's
address space (via cpu_physical_memory_{read,write}()) and the
system address space for performing DMA accesses.

For the PL081s in the MPS FPGA images, their DMA accesses
must go via Master Security Controllers. Switch the
PL080/PL081 model to take a MemoryRegion property which
defines its downstream for making DMA accesses.

Since the PL08x are only used in two board models, we
make provision of the 'downstream' link mandatory and convert
both users at once, rather than having it be optional with
a default to the system address space.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
hw/arm/realview.c
hw/arm/versatilepb.c
hw/dma/pl080.c
include/hw/dma/pl080.h
This page took 0.02847 seconds and 4 git commands to generate.