diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-08-28 21:21:41 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-02 10:30:43 +0200 |
commit | 3e03d4c46daa849880837d802e41c14132a03ef9 (patch) | |
tree | 758d0d843efe23586a2546ee9edf04e506231c25 /arch/m32r | |
parent | KVM: s390/mm: try a cow on read only pages for key ops (diff) | |
download | linux-3e03d4c46daa849880837d802e41c14132a03ef9.tar.xz linux-3e03d4c46daa849880837d802e41c14132a03ef9.zip |
KVM: s390/mm: Fix storage key corruption during swapping
Since 3.12 or more precisely commit 0944fe3f4a32 ("s390/mm:
implement software referenced bits") guest storage keys get
corrupted during paging. This commit added another valid->invalid
translation for page tables - namely ptep_test_and_clear_young.
We have to transfer the storage key into the pgste in that case.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: stable@vger.kernel.org # v3.12+
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions