X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fs390%2Fkernel%2Fearly.c;h=9857cb04672680c81c4ab81b82a380b8f1e2ba58;hb=a2d616b935a0df24bc9375785b19bf30d7fc9c6a;hp=fb84e3fc1686d49618706373f4490234220a544e;hpb=46466ae3a105d9620e1355e33125a413b8c6ce18;p=linux-2.6-microblaze.git diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index fb84e3fc1686..9857cb046726 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -236,6 +236,10 @@ static __init void detect_machine_facilities(void) clock_comparator_max = -1ULL >> 1; __ctl_set_bit(0, 53); } + if (IS_ENABLED(CONFIG_PCI) && test_facility(153)) { + S390_lowcore.machine_flags |= MACHINE_FLAG_PCI_MIO; + /* the control bit is set during PCI initialization */ + } } static inline void save_vector_registers(void)