Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH] Request backport of a vfio patch for 5.4 stable
@ 2021-01-11 17:31 Matthew Rosato
  2021-01-11 17:31 ` [PATCH] vfio iommu: Add dma available capability Matthew Rosato
  2021-01-13 17:51 ` [PATCH] Request backport of a vfio patch for 5.4 stable Sasha Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Rosato @ 2021-01-11 17:31 UTC (permalink / raw)
  To: stable; +Cc: alex.williamson, cohuck

Upstream commit 7d6e1329652e ("vfio iommu: Add dma available capability")
should probably have been identified as a stable candidate originally, as
without this available in a KVM host QEMU guests on at least s390x can
end up with broken PCI passthrough devices, as the guest is unaware of the
vfio DMA limit and can easily overrun it. 

The commit in question won't fit cleanly to 5.4, so I've included a
proposed backport patch.

Matthew Rosato (1):
  vfio iommu: Add dma available capability

 drivers/vfio/vfio_iommu_type1.c | 22 ++++++++++++++++++++++
 include/uapi/linux/vfio.h       | 15 +++++++++++++++
 2 files changed, 37 insertions(+)

-- 
1.8.3.1


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

end of thread, other threads:[~2021-01-13 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11 17:31 [PATCH] Request backport of a vfio patch for 5.4 stable Matthew Rosato
2021-01-11 17:31 ` [PATCH] vfio iommu: Add dma available capability Matthew Rosato
2021-01-13 17:51 ` [PATCH] Request backport of a vfio patch for 5.4 stable Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox