]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: fix struct definition for set PCI function
authorSebastian Ott <sebott@linux.ibm.com>
Thu, 16 May 2019 11:28:17 +0000 (13:28 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 28 May 2019 12:49:29 +0000 (14:49 +0200)
commit234918f14a3b39bf7ebac2717d67ac66e08109c0
tree81b943a8797bf6672eab15a18b702a4c4aa9c997
parent88547a5929a565e2c0e8b0df5f8becf6d572a962
s390/pci: fix struct definition for set PCI function

Recent firmware will store PCI MIO information also when enabling MIO
instructions via set PCI function. We do not use this information but
currently calling enable MIO will fail because of insufficient response
block length. Fix this by putting a struct mio_info at the end of the
affected response block struct.

Fixes: b5837ab9558d ("s390/pci: provide support for MIO instructions")
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/pci_clp.h
arch/s390/pci/pci_clp.c