Bug 1264728 - Allow EEH on spapr-pci-host-bridge
Allow EEH on spapr-pci-host-bridge
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
ppc64le Unspecified
medium Severity medium
: rc
: ---
Assigned To: David Gibson
Virtualization Bugs
: FutureFeature
Depends On: 1259556
Blocks: RHV4.1PPC 1288337
  Show dependency treegraph
Reported: 2015-09-21 00:35 EDT by David Gibson
Modified: 2016-11-07 15:39 EST (History)
11 users (show)

See Also:
Fixed In Version: qemu-2.6
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-11-07 15:39:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Gibson 2015-09-21 00:35:13 EDT
Description of problem:

In the current qemu code, IBM's EEH (Enhanced Error Handling) functionality is only available for VFIO passthrough devices placed on the special spapr-pci-vfio-host-bridge.

That doesn't work well with current libvirt and RHEV, because they generally use use the plain spapr-pci-host-bridge device in the guest.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a pseries VM with a VFIO device attached to an spapr-pci-host-bridge PHB.
2. Boot the guest
3. Attempt EEH actions on the passed through device

Actual results:

EEH actions will fail with RTAS errors

Expected results:

EEH operations complete successfully.

Additional info:

I'm not really sure if this meets the criteria for a blocker bug, but I'm filing it that way, because I think it should at least be assessed.
Comment 1 David Gibson 2015-09-21 01:34:37 EDT
I have posted upstream patches to address this (though they're minimally tested and not merged).

I've made a preliminary downstream port at:
    branch 'rhel7/bz1264728'

Test build of same at http://brewweb.devel.redhat.com/brew/taskinfo?taskID=9858641
Comment 2 David Gibson 2015-09-24 21:37:27 EDT
Decision has been made not to try to rush to get EEH fully working in RHEL7.2.

Bumping to RHEL7.3.
Comment 3 David Gibson 2015-09-24 21:38:06 EDT
Moving back to assigned state, since the posted patches will need a respin anyway.
Comment 5 David Gibson 2015-11-20 00:43:01 EST
I've now posted a reworked upstream series for this as RFC.
Comment 6 Zhengtong 2015-12-07 23:49:42 EST
Hi David, is it possible that spapr-pci-vfio-host-bridge will be abandoned in future? and all the functions and devices will be implemented on  spapr-pci-host-bridge?
Comment 7 David Gibson 2015-12-08 18:06:47 EST

Yes, that is my intention.
Comment 11 errata-xmlrpc 2016-11-07 15:39:29 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.