Skip to content
Commit 0196c642 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/pgtable: fix mprotect for single-threaded KVM guests



For a single-threaded KVM guest ptep_modify_prot_start will not use
IPTE, the invalid bit will therefore not be set. If DEBUG_VM is set
pgste_set_key called by ptep_modify_prot_commit will complain about
the missing invalid bit. ptep_modify_prot_start should set the
invalid bit in all cases.

Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 0587d409
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment