]> asedeno.scripts.mit.edu Git - linux.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)
commit1354b38b3ddf47e0612d21f401d2bfeb8acd9b80
tree81b943a8797bf6672eab15a18b702a4c4aa9c997
parentd83623c5eab25f5a83e308f24b1e6a4cb8628eb5
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: 71ba41c9b1d9 ("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