Skip to content

RFC hw/audio/intel-hda: Restrict DMA engine to memories (non-MMIO devices)

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/audio/intel-hda: Do not ignore DMA overrun errorshw/audio/intel-hda.c+7 -20 replies
2/3hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices)hw/audio/intel-hda.c+1 -11 reply
3/3tests/qtest/intel-hda-test: Add reproducer for issue #542tests/qtest/intel-hda-test.c+34 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/3
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (non-MMIO devices)

An attempt to fix the Intel HDA DMA reentrancy problem by restricting the DMA engine to memories, and reporting invalid I/O region accesses as overruns.

Based-on: <[email protected]>
"hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 4)"
https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (3):
hw/audio/intel-hda: Do not ignore DMA overrun errors hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices) tests/qtest/intel-hda-test: Add reproducer for issue #542

 hw/audio/intel-hda.c         | 11 ++++++++---
 tests/qtest/intel-hda-test.c | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 3 deletions(-)
Signature · 1 line
2.33.1