Received: by 10.192.165.156 with SMTP id m28csp168283imm; Tue, 17 Apr 2018 08:13:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+UyRJ+Ceny/0WMMS77FEQeduzCVM3bLJ/St61wfKb/eDBufBy6Ps8/zn8i2Pdgi7TiZeze X-Received: by 10.98.180.2 with SMTP id h2mr2311364pfn.189.1523977986053; Tue, 17 Apr 2018 08:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523977986; cv=none; d=google.com; s=arc-20160816; b=j1L3QmlvvX5hM74Me1rNoWeBbDGwxQq2Qbu6ECfO2kRfwjXNnK7hKW4ixLg6e9Hrzw ztPSs6Gnj+susG8Ex2eMXKO+PbR91Mg8bgelK6v5TVIJuzNA+SOKo0a87F93PjuNtvVB kUP0+AqmTd/vxTrOv81tH76VFlnqbvShQaa4pltSusdffr3k7QRR0UwejAQyi++KEGIK UkRTGJe6pvByUY6RTZlyoCHhFXg0BEgZSm/u/OpQgamLA2FKX3OyN+5CdgWosxIB7Vqa hyIjj7sxFi7WAuqNtGr3YsZRKjNSfQ5+xoOPCKIFzf1IxntcflIgTiQI4y07IJywAug6 lPvg== 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:arc-authentication-results; bh=1Y11UtvKE+hU+4kRgj5KrO49O27DegipxzefPQXT0uA=; b=MGOVfBpFXvHGwIYHczt6I8cye3nw9aw5rV1jlmashkRFlmXM426HM+g26p5TNSEjla 5YF/FjB+NqawNSaAEwel42B2MASdZ74Y40F3ANYl1U4fz2QYoBzH7JuevCp0V7JljUlT hv09pWTmJ9u8OEXZtu4g4qLlp9q7SdMK9YdnWMXN7HeCO1DCeKs2Do3Aum3ZAHAYcOwo aeCYqTZ8A6w8OgzPpCjTnqc8Ku2QAoFqowvRLtV8JPLLGWPPiKxnCw/qhLqAopNSS9Ee MI9Epr6LdfmtQX1AtANuHt0XmnnOgCisT5nsrRlz9nEx8j6vCZaoWlqt6NuNQ7vLlXtO 98lA== 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 4-v6si14396833pld.371.2018.04.17.08.12.52; Tue, 17 Apr 2018 08:13:06 -0700 (PDT) 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 S1753041AbeDQPLH (ORCPT + 99 others); Tue, 17 Apr 2018 11:11:07 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:46696 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752613AbeDQPLF (ORCPT ); Tue, 17 Apr 2018 11:11:05 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9ED4C7D843; Tue, 17 Apr 2018 15:11:04 +0000 (UTC) Received: from gondolin (dhcp-192-222.str.redhat.com [10.33.192.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9016C1102E28; Tue, 17 Apr 2018 15:10:59 +0000 (UTC) Date: Tue, 17 Apr 2018 17:10:57 +0200 From: Cornelia Huck To: Tony Krowiak Cc: Halil Pasic , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, freude@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, borntraeger@de.ibm.com, kwankhede@nvidia.com, bjsdjshi@linux.vnet.ibm.com, pbonzini@redhat.com, alex.williamson@redhat.com, pmorel@linux.vnet.ibm.com, alifm@linux.vnet.ibm.com, mjrosato@linux.vnet.ibm.com, jjherne@linux.vnet.ibm.com, thuth@redhat.com, berrange@redhat.com, fiuczy@linux.vnet.ibm.com, buendgen@de.ibm.com Subject: Re: [PATCH v4 02/15] KVM: s390: reset crypto attributes for all vcpus Message-ID: <20180417171057.2030e56b.cohuck@redhat.com> In-Reply-To: <4dd8242a-4f25-065f-5eea-e53c73130763@linux.vnet.ibm.com> References: <1523827345-11600-1-git-send-email-akrowiak@linux.vnet.ibm.com> <1523827345-11600-3-git-send-email-akrowiak@linux.vnet.ibm.com> <41496d07-54b3-5cc6-8803-a935f6d821ee@linux.vnet.ibm.com> <4dd8242a-4f25-065f-5eea-e53c73130763@linux.vnet.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.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Apr 2018 15:11:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Apr 2018 15:11:04 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Apr 2018 10:55:30 -0400 Tony Krowiak wrote: > On 04/17/2018 10:29 AM, Halil Pasic wrote: > > > > > > On 04/15/2018 11:22 PM, Tony Krowiak wrote: > >> Introduces a new function to reset the crypto attributes for all > >> vcpus whether they are running or not. Each vcpu in KVM will > >> be removed from SIE prior to resetting the crypto attributes in its > >> SIE state description. After all vcpus have had their crypto attributes > >> reset the vcpus will be restored to SIE. > >> > >> This function will be used in a later patch to set the ECA.28 > >> bit in the SIE state description to enable interpretive execution of > >> AP instructions. It will also be incorporated into the > >> kvm_s390_vm_set_crypto(kvm) function to fix an issue whereby the crypto > >> key wrapping attributes could potentially get out of synch for running > >> vcpus. > >> > > > > Wasn't this 'issue' reported by me by any chance? > > Yes it was .... was I supposed to include that fact in the commit message? A Reported-by: is usually nice. > > > > > I agree with Connnie, we don't need the forward reference to > > ECA.28. > > I'm not sure that's exactly what she said, but I'd be more than happy > to remove it. It was kind of implied :)