diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2013-06-04 09:53:59 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-06-05 17:36:19 +0200 |
commit | 338679f7ba4a81906b3fdfa6507824fdf704be80 (patch) | |
tree | 794df0317cf02d6b32670887f081ffc8e7e73ebc /lib/bug.c | |
parent | 4d3797d7e1861ac1af150a6189315786c5e1c820 (diff) |
s390/pgtable: Fix guest overindication for change bit
When doing the transition invalid->valid in the host page table for
a guest, then the guest view of C/R is in the pgste. After validation
the view is pgste OR real key. We must zero out the real key C/R to
avoid guest over-indication for change (and reference).
Touching the real key is ok also for the host: The change bit is
tracked via write protection and the reference bit is also ok
because set_pte_at was called and the page will be touched anyway
soon. Furthermore architecture defines reference as "substantially
accurate", over- and underindication are ok.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions