Skip to content

x86: Fixes for not-quite-XSA in pci_conf_write_intercept()

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/pv: Convert struct mmio_ro_emulate_ctxt to use pci_sbdf_txen/arch/x86/pv/ro-page-fault.c+11 -60 replies
2/3x86/pci: Convert pci_mmcfg_{read,write}() to use pci_sbdf_txen/arch/x86/pv/ro-page-fault.c xen/arch/x86/x86_64/mmconfig_64.c xen/arch/x86/x86_64/pci.c +1 more+19 -230 replies
3/3x86/pci: Update pci_conf_write_intercept() to use pci_sbdf_txen/arch/x86/include/asm/pci.h xen/arch/x86/pci.c xen/arch/x86/pv/emul-priv-op.c +1 more+10 -140 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJan BeulichRoger Pau MonnéTeddy AstieAndrew Cooper
SeriesR-b A-b R-b R-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] x86: Fixes for not-quite-XSA in pci_conf_write_intercept()

Plumb pci_sbdf_t up and down the callchain to simplify parameter passing and make it harder to forget the segment.

Andrew Cooper (3):
x86/pv: Convert struct mmio_ro_emulate_ctxt to use pci_sbdf_t x86/pci: Convert pci_mmcfg_{read,write}() to use pci_sbdf_t x86/pci: Update pci_conf_write_intercept() to use pci_sbdf_t

 xen/arch/x86/include/asm/pci.h    |  5 ++---
 xen/arch/x86/pci.c                |  6 ++----
 xen/arch/x86/pv/emul-priv-op.c    | 10 +++++-----
 xen/arch/x86/pv/ro-page-fault.c   | 18 ++++++++++--------
 xen/arch/x86/x86_64/mmconfig_64.c | 18 ++++++++----------
 xen/arch/x86/x86_64/pci.c         | 12 ++++++------
 xen/include/xen/pci.h             |  8 ++++----
 7 files changed, 37 insertions(+), 40 deletions(-)

base-commit: a2ca4f8b9890899ca89d6116002e7a9c5957d8c6

Signature · 1 line
2.39.5