summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorNico Boehr <nrb@linux.ibm.com>2023-02-22 18:55:02 +0300
committerJanosch Frank <frankja@linux.ibm.com>2023-04-20 17:30:35 +0300
commit8a46df7cd135fe576c18efa418cd1549e51f2732 (patch)
tree1aa364321f53951fd6fa47c18405823cdeda62ce /tools/testing/selftests/bpf
parent7be3e3392335131b2234fa3e6feda3e989cb837c (diff)
downloadlinux-8a46df7cd135fe576c18efa418cd1549e51f2732.tar.xz
KVM: s390: pci: fix virtual-physical confusion on module unload/load
When the kvm module is unloaded, zpci_setup_aipb() perists some data in the zpci_aipb structure in s390 pci code. Note that this struct is also passed to firmware in the zpci_set_irq_ctrl() call and thus the GAIT must be a physical address. On module re-insertion, the GAIT is restored from this structure in zpci_reset_aipb(). But it is a physical address, hence this may cause issues when the kvm module is unloaded and loaded again. Fix virtual vs physical address confusion (which currently are the same) by adding the necessary physical-to-virtual-conversion in zpci_reset_aipb(). Signed-off-by: Nico Boehr <nrb@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Link: https://lore.kernel.org/r/20230222155503.43399-1-nrb@linux.ibm.com Message-Id: <20230222155503.43399-1-nrb@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions