|
@@ -425,7 +425,7 @@ int handle_sthyi(struct kvm_vcpu *vcpu)
|
|
VCPU_EVENT(vcpu, 3, "STHYI: fc: %llu addr: 0x%016llx", code, addr);
|
|
VCPU_EVENT(vcpu, 3, "STHYI: fc: %llu addr: 0x%016llx", code, addr);
|
|
trace_kvm_s390_handle_sthyi(vcpu, code, addr);
|
|
trace_kvm_s390_handle_sthyi(vcpu, code, addr);
|
|
|
|
|
|
- if (reg1 == reg2 || reg1 & 1 || reg2 & 1 || addr & ~PAGE_MASK)
|
|
|
|
|
|
+ if (reg1 == reg2 || reg1 & 1 || reg2 & 1)
|
|
return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
|
|
return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
|
|
|
|
|
|
if (code & 0xffff) {
|
|
if (code & 0xffff) {
|
|
@@ -433,6 +433,9 @@ int handle_sthyi(struct kvm_vcpu *vcpu)
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (addr & ~PAGE_MASK)
|
|
|
|
+ return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* If the page has not yet been faulted in, we want to do that
|
|
* If the page has not yet been faulted in, we want to do that
|
|
* now and not after all the expensive calculations.
|
|
* now and not after all the expensive calculations.
|