From: Christian Borntraeger Date: Thu, 28 Aug 2014 19:21:41 +0000 (+0200) Subject: KVM: s390/mm: Fix storage key corruption during swapping X-Git-Tag: fixes-v3.17-rc4~13^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e03d4c46daa849880837d802e41c14132a03ef9;p=pandora-kernel.git 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 Acked-by: Martin Schwidefsky Cc: stable@vger.kernel.org # v3.12+ --- Reading git-diff-tree failed