diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2020-09-16 10:52:35 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-03-22 11:36:04 +0100 |
commit | dee60c0dbc837ddca8abcb868e53ca3e9d11ea4c (patch) | |
tree | 6a868d9d075d7ac36a300593e7e8f3fc63019a58 /arch/s390/include/asm/pci.h | |
parent | s390/pci: deconfigure device on release (diff) | |
download | linux-dee60c0dbc837ddca8abcb868e53ca3e9d11ea4c.tar.xz linux-dee60c0dbc837ddca8abcb868e53ca3e9d11ea4c.zip |
s390/pci: add zpci_event_hard_deconfigured()
Extract the handling of PEC 0x0304 into a function and make sure we only
attempt to disable the function if it is enabled. Also check for errors
returned by zpci_disable_device() and leave the function alone if there
are any.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci.h')
0 files changed, 0 insertions, 0 deletions