summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/spinlock.h
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2022-02-24 15:45:33 +0100
committerHeiko Carstens <hca@linux.ibm.com>2022-04-25 13:54:15 +0200
commitcde8833e40dddd6e0f067f43b2734a1ad4495065 (patch)
treef6133655bac85a104b51c9fcc0c392878e38297e /arch/s390/include/asm/spinlock.h
parent723b5a9d2bb0f759c41c3cc41f7fd89a0d8278e5 (diff)
downloadlinux-cde8833e40dddd6e0f067f43b2734a1ad4495065.tar.gz
linux-cde8833e40dddd6e0f067f43b2734a1ad4495065.tar.bz2
linux-cde8833e40dddd6e0f067f43b2734a1ad4495065.zip
s390/pci: add PCI access type and length to error records
Currently when a PCI instruction returns a non-zero condition code it can be very hard to tell from the s390dbf logs what kind of instruction was executed. In case of PCI memory I/O (MIO) instructions it is even impossible to tell if we attempted a load, store or block store or how large the access was because only the address is logged. Improve this by adding an indicator byte for the instruction type to the error record and also store the length of the access for MIO instructions where this can not be deduced from the request. We use the following indicator values: - 'l': PCI load - 's': PCI store - 'b': PCI store block - 'L': PCI load (MIO) - 'S': PCI store (MIO) - 'B': PCI store block (MIO) - 'M': MPCIFC - 'R': RPCIT Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Pierre Morel <pmorel@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/spinlock.h')
0 files changed, 0 insertions, 0 deletions