Skip to content
Commit ab3f285f authored by Christian Borntraeger's avatar Christian Borntraeger
Browse files

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: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: default avatarDominik Dingel <dingel@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
parent 614a80e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment