commit | 0196c642f76c469c17ca09d7f904bccc123bac09 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Aug 27 08:19:27 2013 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Aug 28 09:19:28 2013 +0200 |
tree | c5b7dc666f85c6694186d98248a157b9b052f8fd | |
parent | 0587d409ec53312f735d2004d5f47f8effee1ea9 [diff] |
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: Martin Schwidefsky <schwidefsky@de.ibm.com>