linux/arch/s390/include
Christian Borntraeger 52446fb9b3 KVM: s390/mm: Fix guest storage key corruption in ptep_set_access_flags
commit 1951497d90 upstream.

commit 0944fe3f4a ("s390/mm: implement software referenced bits")
triggered another paging/storage key corruption. There is an
unhandled invalid->valid pte change where we have to set the real
storage key from the pgste.
When doing paging a guest page might be swapcache or swap and when
faulted in it might be read-only and due to a parallel scan old.
An do_wp_page will make it writeable and young. Due to software
reference tracking this page was invalid and now becomes valid.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2014-10-05 13:41:03 -07:00
..
asm KVM: s390/mm: Fix guest storage key corruption in ptep_set_access_flags 2014-10-05 13:41:03 -07:00
uapi/asm A bunch of one-liners (except the s390 one). 2014-07-01 09:27:34 -07:00