diff options
author | Sebastian Ott | 2019-04-23 13:14:28 +0200 |
---|---|---|
committer | Martin Schwidefsky | 2019-04-29 10:47:01 +0200 |
commit | 833b441ec0f6f3c57cc2106ef628bb19d8fb0ee2 (patch) | |
tree | f4571f3acf790048456f3025eb05f1b3ac4cce3d /arch/s390/kernel/early.c | |
parent | 56271303808fb86375ec33183d56c21fdeb836ea (diff) |
s390: enable processes for mio instructions
Allow for userspace to use PCI MIO instructions.
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r-- | arch/s390/kernel/early.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index c196abda36c7..ab09ada0e930 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -30,6 +30,7 @@ #include <asm/sclp.h> #include <asm/facility.h> #include <asm/boot_data.h> +#include <asm/pci_insn.h> #include "entry.h" /* @@ -235,6 +236,7 @@ static __init void detect_machine_facilities(void) clock_comparator_max = -1ULL >> 1; __ctl_set_bit(0, 53); } + enable_mio_ctl(); } static inline void save_vector_registers(void) |