Skip to content

x86/pci: MMCFG improvements and always use it if available

Teddy Astie xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/pci: Improve pci_mmcfg_{read,write} error handlingxen/arch/x86/x86_64/mmconfig_64.c+5 -51 reply
2/2x86/pci: Prefer using mmcfg for accessing configuration spacexen/arch/x86/x86_64/pci.c+23 -291 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] x86/pci: MMCFG improvements and always use it if available

Currently, Xen uses legacy method to access the configuration space unless the access cannot be made with it, where Xen fallbacks to MMCFG. This is not really great, as MMCFG is more flexible and doesn't require a dedicated lock, so it would be preferable to use it whenever possible.

Teddy Astie (2):
x86/pci: Improve pci_mmcfg_{read,write} error handling x86/pci: Prefer using mmcfg for accessing configuration space

 xen/arch/x86/x86_64/mmconfig_64.c | 10 +++---
 xen/arch/x86/x86_64/pci.c         | 52 ++++++++++++++-----------------
 2 files changed, 28 insertions(+), 34 deletions(-)
Signature · 10 lines
2.52.0



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech