Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: s390: Fix sdnxo setting for nested guests

If the guest does not use the host register management, but it uses
the sdnx area, we must fill in a proper sdnxo value (address of sdnx
and the sdnxc).

Reported-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>

+1 -1
+1 -1
arch/s390/kvm/vsie.c
··· 627 627 rc = set_validity_icpt(scb_s, 0x10b0U); 628 628 if (rc) 629 629 goto unpin; 630 - scb_s->sdnxo = hpa; 630 + scb_s->sdnxo = hpa | sdnxc; 631 631 } 632 632 return 0; 633 633 unpin: