diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-17 23:45:06 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-31 01:05:27 +0100 |
commit | 398f9a84ac7132e38caf7b066273734b3bf619ff (patch) | |
tree | d65ef68ad170d6223541500c7e857aeae3669a2b /hw/audio/intel-hda.c | |
parent | a423a1b523296f8798a5851aaaba64dd166c0a74 (diff) | |
download | qemu-398f9a84ac7132e38caf7b066273734b3bf619ff.zip qemu-398f9a84ac7132e38caf7b066273734b3bf619ff.tar.gz qemu-398f9a84ac7132e38caf7b066273734b3bf619ff.tar.bz2 |
pci: Let ld*_pci_dma() take MemTxAttrs argument
Let devices specify transaction attributes when calling ld*_pci_dma().
Keep the default MEMTXATTRS_UNSPECIFIED in the few callers.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211223115554.3155328-22-philmd@redhat.com>
Diffstat (limited to 'hw/audio/intel-hda.c')
-rw-r--r-- | hw/audio/intel-hda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 3309ae0..e34b7ab 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -335,7 +335,7 @@ static void intel_hda_corb_run(IntelHDAState *d) rp = (d->corb_rp + 1) & 0xff; addr = intel_hda_addr(d->corb_lbase, d->corb_ubase); - verb = ldl_le_pci_dma(&d->pci, addr + 4*rp); + verb = ldl_le_pci_dma(&d->pci, addr + 4 * rp, MEMTXATTRS_UNSPECIFIED); d->corb_rp = rp; dprint(d, 2, "%s: [rp 0x%x] verb 0x%08x\n", __func__, rp, verb); |