diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2012-12-11 14:53:35 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-12-14 10:01:17 +0100 |
commit | d0b0885316ab7a97cc8a19027905de3ff7bd1e79 (patch) | |
tree | 43a490c63baf2da1d4768f7d083e2e9d6cf8467b /arch/s390/pci/pci_event.c | |
parent | 7313264b899bbf3988841296265a6e0e8a7b6521 (diff) | |
download | linux-3.10-d0b0885316ab7a97cc8a19027905de3ff7bd1e79.tar.gz linux-3.10-d0b0885316ab7a97cc8a19027905de3ff7bd1e79.tar.bz2 linux-3.10-d0b0885316ab7a97cc8a19027905de3ff7bd1e79.zip |
s390/pci: performance statistics and debug infrastructure
Add support for reading the PCI function measurement block counters
provided by the hypervisor. Add two s390 debug features, one for
critical errors and one for tracing and provide wrappers to log data.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci_event.c')
-rw-r--r-- | arch/s390/pci/pci_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c index dbed8cd3370..ec62e3a0dc0 100644 --- a/arch/s390/pci/pci_event.c +++ b/arch/s390/pci/pci_event.c @@ -45,6 +45,8 @@ static void zpci_event_log_err(struct zpci_ccdf_err *ccdf) { struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); + zpci_err("SEI error CCD:\n"); + zpci_err_hex(ccdf, sizeof(*ccdf)); dev_err(&zdev->pdev->dev, "event code: 0x%x\n", ccdf->pec); } |