All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] x86/iommu: improve setup time of hwdom IOMMU
@ 2024-01-24 17:29 Roger Pau Monne
  2024-01-24 17:29 ` [PATCH v5 1/3] x86/iommu: remove regions not to be mapped Roger Pau Monne
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Roger Pau Monne @ 2024-01-24 17:29 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Paul Durrant, Jan Beulich, Andrew Cooper,
	Wei Liu, Oleksii Kurochko, Community Manager, Lukasz Hawrylko,
	Daniel P. Smith, Mateusz Mówka

Hello,

The aim of the series is to reduce boot time setup of IOMMU page tables
for dom0.

This patches rework the hardware domain IOMMU setup to use a rangeset
instead of iterating over all addresses up to the max RAM page.  See
patch 2/3 for performance figures.

Jan: I've kept your RB in patch 1 with the off-by-one adjustments, and
dropped it for patch 2 with the addition of the default label in the
switch over the e820 ranges.  Such default label is required to continue
to deal equally with the  ACPI and NVS ranges.

Thanks, Roger.

Roger Pau Monne (3):
  x86/iommu: remove regions not to be mapped
  x86/iommu: switch hwdom IOMMU to use a rangeset
  x86/iommu: cleanup unused functions

 CHANGELOG.md                        |   2 +
 xen/arch/x86/hvm/io.c               |  15 ++-
 xen/arch/x86/include/asm/hvm/io.h   |   4 +-
 xen/arch/x86/include/asm/setup.h    |   2 +-
 xen/arch/x86/setup.c                |  81 ++++++------
 xen/arch/x86/tboot.c                |   2 +-
 xen/drivers/passthrough/x86/iommu.c | 196 ++++++++++++----------------
 7 files changed, 146 insertions(+), 156 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-01-29 16:31 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 17:29 [PATCH v5 0/3] x86/iommu: improve setup time of hwdom IOMMU Roger Pau Monne
2024-01-24 17:29 ` [PATCH v5 1/3] x86/iommu: remove regions not to be mapped Roger Pau Monne
2024-01-25  8:34   ` Jan Beulich
2024-01-25  8:47     ` Roger Pau Monné
2024-01-25 11:13       ` Jan Beulich
2024-01-25 12:37         ` Roger Pau Monné
2024-01-25 12:55           ` Andrew Cooper
2024-01-25 13:13             ` Jan Beulich
2024-01-25 13:22               ` Andrew Cooper
2024-01-25 14:37                 ` Roger Pau Monné
2024-01-25 13:26   ` [PATCH v6 " Roger Pau Monne
2024-01-25 13:36     ` Jan Beulich
2024-01-25 16:46     ` Jan Beulich
2024-01-29 16:23     ` Paul Durrant
2024-01-24 17:29 ` [PATCH v5 2/3] x86/iommu: switch hwdom IOMMU to use a rangeset Roger Pau Monne
2024-01-25 14:17   ` Jan Beulich
2024-01-29 16:28   ` Paul Durrant
2024-01-24 17:29 ` [PATCH v5 3/3] x86/iommu: cleanup unused functions Roger Pau Monne
2024-01-29 16:31   ` Paul Durrant

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.