All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (non-MMIO devices)
@ 2021-12-18 16:09 Philippe Mathieu-Daudé
  2021-12-18 16:09 ` [RFC PATCH 1/3] hw/audio/intel-hda: Do not ignore DMA overrun errors Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-12-18 16:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Martin Schrodt, Thomas Huth, Gianluca Gabruelli,
	Volker Rümelin, Li Qiang, Mauro Matteo Cascella, Qiuhao Li,
	Jon Maloy, Alexander Bulekov, Paolo Bonzini, Gerd Hoffmann,
	crazybyte, Matt Parker, Philippe Mathieu-Daudé

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: <20211218151053.1545962-1-philmd@redhat.com>
"hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 4)"
https://lore.kernel.org/qemu-devel/20211218151053.1545962-1-philmd@redhat.com/

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(-)

-- 
2.33.1




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-18 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-18 16:09 [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (non-MMIO devices) Philippe Mathieu-Daudé
2021-12-18 16:09 ` [RFC PATCH 1/3] hw/audio/intel-hda: Do not ignore DMA overrun errors Philippe Mathieu-Daudé
2021-12-18 16:09 ` [RFC PATCH 2/3] hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices) Philippe Mathieu-Daudé
2022-03-18 19:13   ` [RFC PATCH 2/3] hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices) [CVE-2021-3611] Thomas Huth
2021-12-18 16:09 ` [RFC PATCH 3/3] tests/qtest/intel-hda-test: Add reproducer for issue #542 Philippe Mathieu-Daudé
2022-03-18 19:15   ` Thomas Huth
2021-12-18 16:14 ` [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (CVE-2021-3611) Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.