kvm-s390.c (48ee7d3a7f8f3ca90dfc5e1103e68c0044051acc) | kvm-s390.c (873b425e4c2fd0ba6617d67a45fbf119b65575b4) |
---|---|
1/* 2 * hosting zSeries kernel virtual machines 3 * 4 * Copyright IBM Corp. 2008, 2009 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License (version 2 only) 8 * as published by the Free Software Foundation. --- 1829 unchanged lines hidden (view full) --- 1838 kvm_s390_vcpu_setup_model(vcpu); 1839 1840 vcpu->arch.sie_block->ecb = 0x02; 1841 if (test_kvm_facility(vcpu->kvm, 9)) 1842 vcpu->arch.sie_block->ecb |= 0x04; 1843 if (test_kvm_facility(vcpu->kvm, 50) && test_kvm_facility(vcpu->kvm, 73)) 1844 vcpu->arch.sie_block->ecb |= 0x10; 1845 | 1/* 2 * hosting zSeries kernel virtual machines 3 * 4 * Copyright IBM Corp. 2008, 2009 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License (version 2 only) 8 * as published by the Free Software Foundation. --- 1829 unchanged lines hidden (view full) --- 1838 kvm_s390_vcpu_setup_model(vcpu); 1839 1840 vcpu->arch.sie_block->ecb = 0x02; 1841 if (test_kvm_facility(vcpu->kvm, 9)) 1842 vcpu->arch.sie_block->ecb |= 0x04; 1843 if (test_kvm_facility(vcpu->kvm, 50) && test_kvm_facility(vcpu->kvm, 73)) 1844 vcpu->arch.sie_block->ecb |= 0x10; 1845 |
1846 if (test_kvm_facility(vcpu->kvm, 8)) | 1846 if (test_kvm_facility(vcpu->kvm, 8) && sclp.has_pfmfi) |
1847 vcpu->arch.sie_block->ecb2 |= 0x08; 1848 vcpu->arch.sie_block->eca = 0x1002000U; 1849 if (sclp.has_cei) 1850 vcpu->arch.sie_block->eca |= 0x80000000U; 1851 if (sclp.has_ib) 1852 vcpu->arch.sie_block->eca |= 0x40000000U; 1853 if (sclp.has_siif) 1854 vcpu->arch.sie_block->eca |= 1; --- 1370 unchanged lines hidden --- | 1847 vcpu->arch.sie_block->ecb2 |= 0x08; 1848 vcpu->arch.sie_block->eca = 0x1002000U; 1849 if (sclp.has_cei) 1850 vcpu->arch.sie_block->eca |= 0x80000000U; 1851 if (sclp.has_ib) 1852 vcpu->arch.sie_block->eca |= 0x40000000U; 1853 if (sclp.has_siif) 1854 vcpu->arch.sie_block->eca |= 1; --- 1370 unchanged lines hidden --- |