Re: [PATCH v4 03/15] KVM: s390: refactor crypto initialization
From: Cornelia Huck
Date: Tue Apr 17 2018 - 06:10:54 EST
On Tue, 17 Apr 2018 09:49:58 +0200
"Harald Freudenberger" <FREUDE@xxxxxxxxxx> wrote:
> Didn't we say that when APXA is not available there is no Crypto support
> for KVM ?
[Going by the code, as I don't have access to the architecture]
Current status seems to be:
- setup crycb if facility 76 is available (that's MSAX3, I guess?)
- use format 2 if APXA is available, else use format 1
>From Tony's patch description, the goal seems to be:
- setup crycb even if MSAX3 is not available
So my understanding is that we use APXA only to decide on the format of
the crycb, but provide it in any case?
(Not providing a crycb if APXA is not available would be loss of
functionality, I guess? Deciding not to provide vfio-ap if APXA is not
available is a different game, of course.)