]> Git Repo - linux.git/commit
KVM: s390/mm: try a cow on read only pages for key ops
authorChristian Borntraeger <[email protected]>
Tue, 19 Aug 2014 14:19:35 +0000 (16:19 +0200)
committerChristian Borntraeger <[email protected]>
Mon, 25 Aug 2014 12:35:28 +0000 (14:35 +0200)
commitab3f285f227fec62868037e9b1b1fd18294a83b8
tree223d790283f4379ce84a87660d100a1f1933cffd
parent614a80e474b227cace52fd6e3c790554db8a396e
KVM: s390/mm: try a cow on read only pages for key ops

The PFMF instruction handler  blindly wrote the storage key even if
the page was mapped R/O in the host. Lets try a COW before continuing
and bail out in case of errors.

Signed-off-by: Christian Borntraeger <[email protected]>
Reviewed-by: Dominik Dingel <[email protected]>
Cc: [email protected]
arch/s390/mm/pgtable.c
This page took 0.051487 seconds and 4 git commands to generate.