Re: [PATCH v11 03/26] KVM: s390: refactor crypto initialization

Cornelia Huck
2018-09-26T13:07:47Z

On Tue, 25 Sep 2018 19:16:18 -0400
Tony Krowiak <akrowiak@linux.vnet.ibm.com> wrote:

> From: Tony Krowiak <akrowiak@linux.ibm.com>
>
> This patch refactors the code that initializes and sets up the
> crypto configuration for a guest. The following changes are
> implemented via this patch:
>
> 1. Introduces a flag indicating AP instructions executed on
> the guest shall be interpreted by the firmware. This flag
> is used to set a bit in the guest's state description
> indicating AP instructions are to be interpreted.
>
> 2. Replace code implementing AP interfaces with code supplied
> by the AP bus to query the AP configuration.
>
> Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
> Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Acked-by: Janosch Frank <frankja@linux.ibm.com>
> Tested-by: Michael Mueller <mimu@linux.ibm.com>
> Tested-by: Farhan Ali <alifm@linux.ibm.com>
> ---
> arch/s390/include/asm/kvm_host.h | 3 ++
> arch/s390/kvm/kvm-s390.c | 70 +++++++++++++++-----------------
> 2 files changed, 36 insertions(+), 37 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>