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

From: Cornelia Huck
Date: Wed Sep 26 2018 - 09:07:47 EST


On Tue, 25 Sep 2018 19:16:18 -0400
Tony Krowiak <akrowiak@xxxxxxxxxxxxxxxxxx> wrote:

> From: Tony Krowiak <akrowiak@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> Reviewed-by: Halil Pasic <pasic@xxxxxxxxxxxxx>
> Acked-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Acked-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
> Tested-by: Michael Mueller <mimu@xxxxxxxxxxxxx>
> Tested-by: Farhan Ali <alifm@xxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>