vfio-pci: pass the aer error to guest
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v16 Latest14 patches 27 repliesIn review
- v1515 patches 4 repliesSuperseded
- v1413 patches 20 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v13 | 13 patches | 16 replies | Superseded |
Patches in v16 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | vfio: extract vfio_get_hot_reset_info as a single functionhw/ | +48 | 1 reply | |
| 2/14 | vfio: squeeze out vfio_pci_do_hot_reset for support bus resethw/ | +44 | 1 reply | |
| 3/14 | pcie: modify the capability size asserthw/ | +1 | 0 replies | |
| 4/14 | vfio: make the 4 bytes aligned for capability sizehw/ | +2 | 1 reply | |
| 5/14 | vfio: add pcie extanded capability supporthw/ | +69 | 2 replies | |
| 6/14 | aer: impove pcie_aer_init to support vfio devicehw/ hw/ hw/ +2 more | +6 | 0 replies | |
| 7/14 | vfio: add aer support for vfio devicehw/ hw/ | +81 | 2 replies | |
| 8/14 | vfio: add check host bus reset is support or nothw/ hw/ | +232 | 2 replies | |
| 9/14 | add check reset mechanism when hotplug vfio devicehw/ hw/ hw/ +1 more | +55 | 2 replies | |
| 10/14 | pci: introduce pci bus pre resethw/ hw/ include/ +1 more | +20 | 2 replies | |
| 11/14 | vfio: introduce last reset sequence idhw/ hw/ | +18 | 1 reply | |
| 12/14 | pcie_aer: expose pcie_aer_msg() interfacehw/ include/ | +2 | 0 replies | |
| 13/14 | vfio-pci: pass the aer error to guesthw/ | +47 | 2 replies | |
| 14/14 | vfio: add 'aer' property to expose aercaphw/ | +2 | 1 reply |
Reviews trailers per patch
6 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Marcel Apfelbaum | Michael S. Tsirkin |
|---|---|---|
| 1/14 | ||
| 2/14 | R-b | |
| 3/14 | R-b | R-b |
| 4/14 | R-b | |
| 5/14 | ||
| 6/14 | R-b | |
| 7/14 | ||
| 8/14 | ||
| 9/14 | ||
| 10/14 | ||
| 11/14 | ||
| 12/14 | R-b | |
| 13/14 | ||
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v16 00/14] vfio-pci: pass the aer error to guest
From: Chen Fan <[email protected]>
For now, for vfio pci passthough devices when qemu receives an error from host aer report, currentlly just terminate the guest, but usually user want to know what error occurred but stopping the guest, so this patches add aer capability support for vfio device, and pass the error to guest, and have guest driver to recover from the error.
v15-v16:
10/14, 11/14 are new to introduce a reset sequence id to specify the vfio devices has been reset for that reset. other patches aren't modified.
v14-v15:
1. add device hot reset callback
2. add bus_in_reset for vfio device to avoid multi do host bus reset
v13-v14:
1. for multifunction device, requiring all functions enable AER.(9/13)
2. due to all affected functions receive error signal, ignore no error occurred function. (12/13)
v12-v13:
1. since support multifuncion hotplug, here add callback to enable aer.
2. add pci device pre+post reset for aer host reset.
Chen Fan (14):
vfio: extract vfio_get_hot_reset_info as a single function
vfio: squeeze out vfio_pci_do_hot_reset for support bus reset
pcie: modify the capability size assert
vfio: make the 4 bytes aligned for capability size
vfio: add pcie extanded capability support
aer: impove pcie_aer_init to support vfio device
vfio: add aer support for vfio device
vfio: add check host bus reset is support or not add check reset mechanism when hotplug vfio device
pci: introduce pci bus pre reset
vfio: introduce last reset sequence id
pcie_aer: expose pcie_aer_msg() interface
vfio-pci: pass the aer error to guest
vfio: add 'aer' property to expose aercap
hw/pci-bridge/ioh3420.c | 2 +- hw/pci-bridge/xio3130_downstream.c | 2 +- hw/pci-bridge/xio3130_upstream.c | 2 +- hw/pci/pci.c | 42 +++ hw/pci/pci_bridge.c | 3 + hw/pci/pcie.c | 2 +- hw/pci/pcie_aer.c | 6 +- hw/vfio/pci.c | 616 +++++++++++++++++++++++++++++++++---- hw/vfio/pci.h | 9 + include/hw/pci/pci.h | 1 + include/hw/pci/pci_bus.h | 8 + include/hw/pci/pcie_aer.h | 3 +- 12 files changed, 624 insertions(+), 72 deletions(-)
Signature · 1 line
1.9.3