[0/1] KVM: s390: vsie: fix the length of APCB bitmap

Message ID 20230511094719.9691-1-pmorel@linux.ibm.com
Headers
Series KVM: s390: vsie: fix the length of APCB bitmap |

Message

Pierre Morel May 11, 2023, 9:47 a.m. UTC
  bit_and() uses the count of bits as the woking length.
Fix the previous implementation and effectively use
the right bitmap size.

VSIE With AP has been after the patching succesfuly tested in
VSIE with Harald's AP test zcryptping.

Fixes: 19fd83a64718 ("KVM: s390: vsie: allow CRYCB FORMAT-1")
Fixes: 56019f9aca22 ("KVM: s390: vsie: Allow CRYCB FORMAT-2")


Pierre Morel (1):
  KVM: s390: vsie: fix the length of APCB bitmap

 arch/s390/kvm/vsie.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)