OSDN Git Service

s390/pci: add zpci_report_error interface
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 18 Jul 2016 12:05:21 +0000 (14:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Aug 2016 07:23:56 +0000 (09:23 +0200)
commitbd3a172557d6685f5fbd4b09713f74b84872e2b9
tree92adc43266a1f53cfc70114ddbd89652bb582724
parent6c29588578edc9ae2c9fae27ff96f443cf39c0f3
s390/pci: add zpci_report_error interface

The 'report_error' interface for PCI devices found on s390 can be
used by a user space program to inject an adapter error notification.
Add a new kernel interface zpci_report_error to allow a PCI device
driver to inject these error notifications without a detour over
user space.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci.c