KVM: PPC: Book3S HV: XIVE: Show VP id in debugfs
authorGreg Kurz <groug@kaod.org>
Fri, 27 Sep 2019 11:53:49 +0000 (13:53 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 22 Oct 2019 05:29:02 +0000 (16:29 +1100)
commit8a4e7597ba1e41030189b73cd7261f4383588d1d
tree0a409969c806d71ae47245ed196d05cffaeda25c
parente7d71c943040c23f2fd042033d319f56e84f845b
KVM: PPC: Book3S HV: XIVE: Show VP id in debugfs

Print out the VP id of each connected vCPU, this allow to see:
- the VP block base in which OPAL encodes information that may be
  useful when debugging
- the packed vCPU id which may differ from the raw vCPU id if the
  latter is >= KVM_MAX_VCPUS (2048)

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_xive.c
arch/powerpc/kvm/book3s_xive_native.c