KVM: s390: GISA: sort out physical vs virtual pointers usage
authorNico Boehr <nrb@linux.ibm.com>
Mon, 7 Nov 2022 08:57:27 +0000 (09:57 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Wed, 8 Feb 2023 08:53:01 +0000 (09:53 +0100)
commit1abb32697a0d0a308d24fe75b1b7caf54c1f7a51
tree5724f4b831602e7da80ae9191f50e3e3cf9c8080
parent0dd714bfd200068e3c0d6b37861056367868e612
KVM: s390: GISA: sort out physical vs virtual pointers usage

Fix virtual vs physical address confusion (which currently are the same).

In chsc_sgib(), do the virtual-physical conversion in the caller since
the caller needs to make sure it is a 31-bit address and zero has a
special meaning (disassociating the GIB).

Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Link: https://lore.kernel.org/r/20221107085727.1533792-1-nrb@linux.ibm.com
Message-Id: <20221107085727.1533792-1-nrb@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
arch/s390/kvm/interrupt.c