]> git.ipfire.org Git - thirdparty/qemu.git/commit
sdhci: fix the PCI device, using the PCI address space for DMA
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 16 Jan 2018 13:28:21 +0000 (13:28 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jan 2018 13:28:21 +0000 (13:28 +0000)
commitdd55c485ec2fcd28c245061b320398d35b92d30d
treeb731c96d0524ae97c179403643d1c045673818f7
parent5d2c0464fa7e3b00ed8eb4791ba1e955e29b685b
sdhci: fix the PCI device, using the PCI address space for DMA

While SysBus devices can use the get_system_memory() address space,
PCI devices should use the bus master address space for DMA.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20180115182436.2066-14-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci.c
include/hw/sd/sdhci.h