On Mon, 16 Mar 2015 09:51:39 +0100 Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote: > From: Alexander Yarygin <yarygin@xxxxxxxxxxxxxxxxxx> > > The kvm_s390_check_low_addr_protection() function is used only with real > addresses. According to the POP (the "Low-Address Protection" > paragraph in chapter 3), if the effective address is real or absolute, > the low-address protection procedure should rise PROTECTION exception s/rise/raise a/ > only when the low-address protection is enabled in the control register > 0 and the address is low. > This patch removes ASCE checks from the function and renames it to > better reflect its behavior. > > Cc: Thomas Huth <thuth@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Alexander Yarygin <yarygin@xxxxxxxxxxxxxxxxxx> > Reviewed-by: Thomas Huth <thuth@xxxxxxxxxxxxxxxxxx> > Reviewed-by: David Hildenbrand <dahi@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > --- > arch/s390/kvm/gaccess.c | 11 ++++++----- > arch/s390/kvm/gaccess.h | 2 +- > arch/s390/kvm/priv.c | 4 ++-- > 3 files changed, 9 insertions(+), 8 deletions(-) Acked-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html