Home
last modified time | relevance | path

Searched hist:a0465f9ae4758207264a1318bb8aed617c0ea959 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/s390/kvm/
H A Dgaccess.hdiff a0465f9ae4758207264a1318bb8aed617c0ea959 Tue Feb 04 14:48:07 CET 2014 Thomas Huth <thuth@linux.vnet.ibm.com> KVM: s390: Enable DAT support for TPROT handler

The TPROT instruction can be used to check the accessability of storage
for any kind of logical addresses. So far, our handler only supported
real addresses. This patch now also enables support for addresses that
have to be translated via DAT first. And while we're at it, change the
code to use the common KVM function gfn_to_hva_prot() to check for the
validity and writability of the memory page.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
H A Dgaccess.cdiff a0465f9ae4758207264a1318bb8aed617c0ea959 Tue Feb 04 14:48:07 CET 2014 Thomas Huth <thuth@linux.vnet.ibm.com> KVM: s390: Enable DAT support for TPROT handler

The TPROT instruction can be used to check the accessability of storage
for any kind of logical addresses. So far, our handler only supported
real addresses. This patch now also enables support for addresses that
have to be translated via DAT first. And while we're at it, change the
code to use the common KVM function gfn_to_hva_prot() to check for the
validity and writability of the memory page.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
H A Dpriv.cdiff a0465f9ae4758207264a1318bb8aed617c0ea959 Tue Feb 04 14:48:07 CET 2014 Thomas Huth <thuth@linux.vnet.ibm.com> KVM: s390: Enable DAT support for TPROT handler

The TPROT instruction can be used to check the accessability of storage
for any kind of logical addresses. So far, our handler only supported
real addresses. This patch now also enables support for addresses that
have to be translated via DAT first. And while we're at it, change the
code to use the common KVM function gfn_to_hva_prot() to check for the
validity and writability of the memory page.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>