]> www.infradead.org Git - users/dwmw2/qemu.git/commit
dma: Let ld*_dma() take MemTxAttrs argument
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 17 Dec 2021 21:18:07 +0000 (22:18 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:27 +0000 (01:05 +0100)
commit34cdea1db600540a5261dc474e986f28b637c8e6
treed2a8e430cce86f18e05dcaf9a9f7edf6ee403fc4
parent2280c27afc65bb2af95dd44a88e3b7117bfe240a
dma: Let ld*_dma() take MemTxAttrs argument

Let devices specify transaction attributes when calling ld*_dma().

Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-17-philmd@redhat.com>
hw/intc/pnv_xive.c
hw/usb/hcd-xhci.c
include/hw/pci/pci.h
include/hw/ppc/spapr_vio.h
include/sysemu/dma.h