OSDN Git Service

pci: Let pci_dma_rw() take MemTxAttrs argument
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 15 Dec 2021 21:18:19 +0000 (22:18 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 00:05:23 +0000 (01:05 +0100)
commite2d784b67dc724a9b0854b49255ba0ee8ca46543
tree6271b6862784be702db97a9d90754fd97235af73
parent5e468a36dcdd8fd5eb04282842b72967a29875e4
pci: Let pci_dma_rw() take MemTxAttrs argument

Let devices specify transaction attributes when calling pci_dma_rw().

Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.

Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-10-philmd@redhat.com>
hw/audio/intel-hda.c
hw/scsi/esp-pci.c
include/hw/pci/pci.h