Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E883C35DF5 for ; Tue, 25 Feb 2020 10:38:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E409921927 for ; Tue, 25 Feb 2020 10:38:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eKEYm87v" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730306AbgBYKiI (ORCPT ); Tue, 25 Feb 2020 05:38:08 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:46151 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729417AbgBYKiH (ORCPT ); Tue, 25 Feb 2020 05:38:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582627086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jqnld3IWzEPhjTNh7/Ue+5D/9dR2OPNa17JHf0tlptE=; b=eKEYm87v3Mz5U4AJIz0kPqn1VxpQXr1Ni+XKBixwJkKlaRHwxXEiU5/Id06tvcSK1M78bv 4xi8WO80WkIODP0JUam9jTe0xhxkbNjyCuTP0QCP+dWSBFg9/XU/8ntGA5dqYXL0iufoC5 Sk44KynEWUOh1D0B7NrulbGXD3L3+Eo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-230-j9R5V388NRyyd7Eo30mLZQ-1; Tue, 25 Feb 2020 05:38:04 -0500 X-MC-Unique: j9R5V388NRyyd7Eo30mLZQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5538E800D54; Tue, 25 Feb 2020 10:38:03 +0000 (UTC) Received: from gondolin (dhcp-192-175.str.redhat.com [10.33.192.175]) by smtp.corp.redhat.com (Postfix) with ESMTP id 07C6F19C58; Tue, 25 Feb 2020 10:37:58 +0000 (UTC) Date: Tue, 25 Feb 2020 11:37:56 +0100 From: Cornelia Huck To: Christian Borntraeger Cc: Janosch Frank , KVM , David Hildenbrand , Thomas Huth , Ulrich Weigand , Claudio Imbrenda , linux-s390 , Michael Mueller , Vasily Gorbik , Janosch Frank Subject: Re: [PATCH v4 06/36] s390/mm: add (non)secure page access exceptions handlers Message-ID: <20200225113756.3f182952.cohuck@redhat.com> In-Reply-To: <20200224114107.4646-7-borntraeger@de.ibm.com> References: <20200224114107.4646-1-borntraeger@de.ibm.com> <20200224114107.4646-7-borntraeger@de.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, 24 Feb 2020 06:40:37 -0500 Christian Borntraeger wrote: > From: Vasily Gorbik > > Add exceptions handlers performing transparent transition of non-secure > pages to secure (import) upon guest access and secure pages to > non-secure (export) upon hypervisor access. > > Acked-by: David Hildenbrand > Signed-off-by: Vasily Gorbik > [frankja@linux.ibm.com: adding checks for failures] > Signed-off-by: Janosch Frank > [imbrenda@linux.ibm.com: adding a check for gmap fault] > Signed-off-by: Claudio Imbrenda > Reviewed-by: Christian Borntraeger > [borntraeger@de.ibm.com: patch merging, splitting, fixing] > Signed-off-by: Christian Borntraeger > --- > arch/s390/kernel/pgm_check.S | 4 +- > arch/s390/mm/fault.c | 78 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 80 insertions(+), 2 deletions(-) Acked-by: Cornelia Huck