OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ff0e9
)
s390/pci: correctly handle MIO opt-out
author
Sebastian Ott
<sebott@linux.ibm.com>
Thu, 27 Jun 2019 13:47:13 +0000
(15:47 +0200)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Thu, 4 Jul 2019 11:13:59 +0000
(13:13 +0200)
Do not issue CLP_SET_ENABLE_MIO after opting out of MIO instruction
usage. This should not fix a bug but reduce overhead within firmware.
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/pci/pci_clp.c
patch
|
blob
|
history
diff --git
a/arch/s390/pci/pci_clp.c
b/arch/s390/pci/pci_clp.c
index
d03631d
..
9bdff4d
100644
(file)
--- a/
arch/s390/pci/pci_clp.c
+++ b/
arch/s390/pci/pci_clp.c
@@
-291,7
+291,7
@@
int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as)
goto out;
zdev->fh = fh;
- if (z
dev->mio_capable
) {
+ if (z
pci_use_mio(zdev)
) {
rc = clp_set_pci_fn(&fh, nr_dma_as, CLP_SET_ENABLE_MIO);
zpci_dbg(3, "ena mio fid:%x, fh:%x, rc:%d\n", zdev->fid, fh, rc);
if (rc)