[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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
-- 
2.39.5




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.