Hello, I am currently working on a XIVE model for the pseries QEMU machine and I started hacking Linux to have something to test with.
Here's a first draft of XIVE support for the guest. This is work in progress, only tested with the QEMU XIVE model I am working on. Feedback most welcome. Thanks, C. Cédric Le Goater (2): powerpc/xive: guest exploitation of the XIVE interrupt controller powerpc/xive: add XIVE exploitation mode to CAS arch/powerpc/include/asm/hvcall.h | 13 +- arch/powerpc/include/asm/xive.h | 1 + arch/powerpc/kernel/prom_init.c | 15 +- arch/powerpc/platforms/pseries/Kconfig | 1 + arch/powerpc/platforms/pseries/setup.c | 8 +- arch/powerpc/platforms/pseries/smp.c | 18 +- arch/powerpc/sysdev/xive/Kconfig | 5 + arch/powerpc/sysdev/xive/Makefile | 1 + arch/powerpc/sysdev/xive/xive-hv.c | 523 +++++++++++++++++++++++++++++++++ 9 files changed, 580 insertions(+), 5 deletions(-) create mode 100644 arch/powerpc/sysdev/xive/xive-hv.c -- 2.7.5