Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3853233ima; Mon, 4 Feb 2019 06:20:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN7C3YWJmgbR8xv63qPx2ooCs46cb8fFduzSAReWk4FmEvh1xH6amUgeFxv4hlu6vl1cLvx1 X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr52666631plb.55.1549290006460; Mon, 04 Feb 2019 06:20:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549290006; cv=none; d=google.com; s=arc-20160816; b=QtuvYf/opna4RKWrOkyeWwPWfNsqc8l1tLSMgec/+KgVFPlTys0Qk5UeFtMuEGQCx/ TRjqmOqX/ANsTti8zb0R6IqQ9e6m/sRSrKWMHJ/HeDqiyQSoAv07r4kUb3bJPzSJ2IMI QMfXraAluUfdR/qo768xySAgcGx5R+B+m+dwt+WCJImEsrf4HH3MWPS5jvOaeWAD/75w jm0BEHrGGapF3QcckbmC9BUKEv6D68zzmEYbAqM/HUD6PGUQMKyHh1i8iQw5Z5TlJZV8 uzivcTwNw5r/okwrefOU9Yz0FeJB89faD1ZJI3gnaqAFwy1Edc1t23Deg4M7aN69KLE1 SQ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=k6JmhgckMwjIE6H7dAfh/iitAtcY+wB91jXMh+A0gFo=; b=vN0WVj/TWU1+/v1gQP77xgi02Gve3Ev0hAaVuvGaHQovVGbqd15irNYmaVPOlqkC53 i+mdgF+YkdGRBFMbhn3/1k6oiLGYyuvChvT7mutQc0fWfIw5zr4qIwHXq+dNz/b/hPDU JnvBOYZ3QZx2YmiIFZUxWPiI9MrhA/DNHEF11UmBgoIpZnt4iobHXX4bFO4TUlk7VZqw WdmW9550L9Hj4ZssFWVgsXTWHo9bIHMRLcUtBfvcfkBFxT5C8DskqZbYugmJJLAR1Pr1 EdgSwOEnS62ZiwJpYSAibrQ3PcdKRzMba1HVmJ3AarfKe7PazxajWvGy0ugbTrNRY0lu lVhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n24si155772pgv.119.2019.02.04.06.19.50; Mon, 04 Feb 2019 06:20:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729862AbfBDMHZ (ORCPT + 99 others); Mon, 4 Feb 2019 07:07:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48476 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728399AbfBDMHZ (ORCPT ); Mon, 4 Feb 2019 07:07:25 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 592718764F; Mon, 4 Feb 2019 12:07:24 +0000 (UTC) Received: from gondolin (ovpn-117-129.ams2.redhat.com [10.36.117.129]) by smtp.corp.redhat.com (Postfix) with ESMTP id CF37C848D8; Mon, 4 Feb 2019 12:07:21 +0000 (UTC) Date: Mon, 4 Feb 2019 13:07:18 +0100 From: Cornelia Huck To: Harald Freudenberger Cc: Tony Krowiak , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, sebott@linux.ibm.com, oberpar@linux.ibm.com, pmorel@linux.ibm.com, pasic@linux.ibm.com Subject: Re: [PATCH] zcrypt: handle AP Info notification from CHSC SEI command Message-ID: <20190204130718.0fb8cdb3.cohuck@redhat.com> In-Reply-To: <26ec5e3e-de2c-ad82-825d-d20ba52c8937@linux.ibm.com> References: <1548870526-30595-1-git-send-email-akrowiak@linux.ibm.com> <20190131105555.4af6d8ea.cohuck@redhat.com> <2bb57977-bf03-f0c9-abd9-8baa74d31f8a@linux.ibm.com> <20190201153522.4f72cf00.cohuck@redhat.com> <26ec5e3e-de2c-ad82-825d-d20ba52c8937@linux.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.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 04 Feb 2019 12:07:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Feb 2019 11:15:25 +0100 Harald Freudenberger wrote: > On 01.02.19 15:35, Cornelia Huck wrote: > > On Thu, 31 Jan 2019 18:50:57 -0500 > > Tony Krowiak wrote: > > > >> On 1/31/19 4:55 AM, Cornelia Huck wrote: > >>> On Wed, 30 Jan 2019 12:48:46 -0500 > >>> Tony Krowiak wrote: > >>> Two questions: > >>> - Does the event cover _any_ change to the AP configuration, or can the > >>> periodic scan detect changes that are not signaled? > >> It can detect any change, such as a change to the CRYCB masks. > > Nice. I suppose we can not rely on those messages being generated, > > though, and therefore need to keep the periodic scan... > As you wrote, I am not sure if the ap bus code can rely on this to > cover all changes. For kvm guests I think it is currently not working > as there is no such notification generated at all. So I'd like to > have the periodic scan in place. Yes, and there are bound to be QEMU versions without that support in active use even if this is implemented in the future. But a quicker reaction to changes on real hardware still sounds like a win to me :)