diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2016-04-13 16:47:21 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-06-10 13:07:29 +0300 |
commit | 2c26d1d23abd9a67d056c95a0823132a71edc477 (patch) | |
tree | ebc5b10f84d5750549851f3d9ad002d3f3fdf91b /arch/s390/mm/pgtable.c | |
parent | 9a68f0af8cd907452fa6c33343d38cdacff96294 (diff) | |
download | linux-2c26d1d23abd9a67d056c95a0823132a71edc477.tar.xz |
KVM: s390: pfmf: take care of amode when setting reg2
Depending on the addressing mode, we must not overwrite bit 0-31 of the
register. In addition, 24 bit and 31 bit have to set certain bits to 0,
which is guaranteed by converting the end address to an effective
address.
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions