All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-4.15 0/4] xen/iommu: Collection of bug fixes for IOMMU teadorwn
@ 2020-12-22 15:43 Julien Grall
  2020-12-22 15:43 ` [PATCH for-4.15 1/4] xen/iommu: Check if the IOMMU was initialized before tearing down Julien Grall
                   ` (3 more replies)
  0 siblings, 4 replies; 40+ messages in thread
From: Julien Grall @ 2020-12-22 15:43 UTC (permalink / raw)
  To: xen-devel
  Cc: hongyxia, Julien Grall, Jan Beulich, Paul Durrant, Andrew Cooper,
	Roger Pau Monné,
	Wei Liu

From: Julien Grall <jgrall@amazon.com>

Hi all,

This series is a collection of bug fixes for the IOMMU teardown code.
All of them are candidate for 4.15 as they can either leak memory or
lead to host crash/host corruption.

This is sent directly on xen-devel because all the issues were either
introduced in 4.15 or happen in the domain creation code.

Cheers,

Julien Grall (4):
  xen/iommu: Check if the IOMMU was initialized before tearing down
  xen/iommu: x86: Free the IOMMU page-tables with the pgtables.lock held
  [RFC] xen/iommu: x86: Clear the root page-table before freeing the
    page-tables
  xen/iommu: x86: Don't leak the IOMMU page-tables

 xen/arch/x86/domain.c               |  2 +-
 xen/drivers/passthrough/iommu.c     | 10 +++++-
 xen/drivers/passthrough/x86/iommu.c | 47 +++++++++++++++++++++++++++--
 xen/include/asm-x86/iommu.h         |  2 +-
 4 files changed, 56 insertions(+), 5 deletions(-)

-- 
2.17.1



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

end of thread, other threads:[~2021-01-15 15:18 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 15:43 [PATCH for-4.15 0/4] xen/iommu: Collection of bug fixes for IOMMU teadorwn Julien Grall
2020-12-22 15:43 ` [PATCH for-4.15 1/4] xen/iommu: Check if the IOMMU was initialized before tearing down Julien Grall
2020-12-23 13:27   ` Jan Beulich
2020-12-23 13:50     ` Julien Grall
2020-12-23 13:59       ` Jan Beulich
2020-12-23 14:51         ` Julien Grall
2020-12-23 14:58           ` Jan Beulich
2021-01-04  9:28   ` Paul Durrant
2021-01-04 14:33     ` Julien Grall
2020-12-22 15:43 ` [PATCH for-4.15 2/4] xen/iommu: x86: Free the IOMMU page-tables with the pgtables.lock held Julien Grall
2020-12-23 13:48   ` Jan Beulich
2020-12-23 14:01     ` Julien Grall
2020-12-23 14:16       ` Jan Beulich
2021-01-14 19:19       ` Julien Grall
2021-01-15 11:06         ` Jan Beulich
2021-01-15 15:18           ` Paul Durrant
2020-12-22 15:43 ` [PATCH for-4.15 3/4] [RFC] xen/iommu: x86: Clear the root page-table before freeing the page-tables Julien Grall
2020-12-23 14:12   ` Jan Beulich
2020-12-23 14:56     ` Julien Grall
2020-12-23 15:00       ` Jan Beulich
2020-12-23 15:16         ` Julien Grall
2020-12-23 16:11           ` Jan Beulich
2020-12-23 16:16             ` Julien Grall
2020-12-23 16:24               ` Jan Beulich
2020-12-23 16:29                 ` Julien Grall
2020-12-23 16:46                   ` Jan Beulich
2020-12-23 16:54                     ` Julien Grall
2020-12-23 17:02                       ` Jan Beulich
2020-12-23 17:26                         ` Julien Grall
2021-01-04  9:53                     ` Paul Durrant
2020-12-22 15:43 ` [PATCH for-4.15 4/4] xen/iommu: x86: Don't leak the IOMMU page-tables Julien Grall
2020-12-22 17:12   ` Julien Grall
2020-12-23 14:34   ` Jan Beulich
2020-12-23 16:07     ` Julien Grall
2020-12-23 16:15       ` Jan Beulich
2020-12-23 16:19         ` Julien Grall
2020-12-23 16:35           ` Jan Beulich
2021-01-14 18:53             ` Julien Grall
2021-01-15 11:24               ` Jan Beulich
2021-01-15 11:30                 ` Julien Grall

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.