diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-04-12 12:59:59 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-04-12 13:48:35 +0200 |
commit | 80248559992a05573b2db7865490eb82c745db87 (patch) | |
tree | dc5a0c830f9613d876fc737b67100bd41e7f4d25 /drivers/s390/char/sclp_early.c | |
parent | KVM: s390: Fix sdnxo setting for nested guests (diff) | |
download | linux-80248559992a05573b2db7865490eb82c745db87.tar.xz linux-80248559992a05573b2db7865490eb82c745db87.zip |
KVM: s390: fix stale machine check data for guarded storage
When delivering a machine check the CPU state is "loaded", which
means that some registers are already in the host registers.
Before writing the register content into the machine check
save area, we must make sure that we save the content of the
registers into the data structures that are used for delivering
the machine check.
We already do the right thing for access, vector/floating point
registers, let's do the same for guarded storage.
Fixes: 4e0b1ab72b8a ("KVM: s390: gs support for kvm guests")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_early.c')
0 files changed, 0 insertions, 0 deletions