KVM: PPC: Book3S HV: XIVE: Show detailed configuration in debug output
authorCédric Le Goater <clg@kaod.org>
Thu, 10 Dec 2020 17:14:38 +0000 (18:14 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Dec 2020 22:34:07 +0000 (09:34 +1100)
commit98983675008ab3ae9b37fc7a4bfa083998079215
tree89963ef4e9044fd90360a1f8820b6432e0ab0497
parent0be47634db0baa9e91c7e635e7e73355d6a5cf43
KVM: PPC: Book3S HV: XIVE: Show detailed configuration in debug output

This is useful to track allocation of the HW resources on per guest
basis. Making sure IPIs are local to the chip of the vCPUs reduces
rerouting between interrupt controllers and gives better performance
in case of pinning. Checking the distribution of VP structures on the
chips also helps in reducing PowerBUS traffic.

[ clg: resurrected show_sources and reworked ouput ]

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201210171450.1933725-2-clg@kaod.org
arch/powerpc/kvm/book3s_xive.c
arch/powerpc/kvm/book3s_xive.h
arch/powerpc/kvm/book3s_xive_native.c