]> git.baikalelectronics.ru Git - kernel.git/commit
s390: fix setting of mio addressing control
authorSebastian Ott <sebott@linux.ibm.com>
Wed, 10 Jul 2019 11:08:06 +0000 (13:08 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 11 Jul 2019 18:40:02 +0000 (20:40 +0200)
commit2adb29b98ee53f0ab7a64e3d33f7b6fff4c08f3e
treedf4091195e90e2cbeaf1bb4e3644825e8d207e08
parent34169b8a20b69a95337deaded0159436fe67e4c7
s390: fix setting of mio addressing control

Move enablement of mio addressing control from detect_machine_facilities
to pci_base_init. detect_machine_facilities runs so early that the
static branches have not been toggled yet, thus mio addressing control
was always off. In pci_base_init we have to use the SMP aware
ctl_set_bit though.

Fixes: a8f0ba65c2cf ("s390: enable processes for mio instructions")
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci_insn.h
arch/s390/kernel/early.c
arch/s390/pci/pci.c