Re: [PATCH v3] KVM: PPC: Book3S HV: Native usage of the XIVE interrupt controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 26, 2017 at 12:07:30PM +1000, Michael Ellerman wrote:
> From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> 
> This patch makes KVM capable of using the XIVE interrupt controller
> to provide the standard PAPR "XICS" style hypercalls. It is necessary
> for proper operations when the host uses XIVE natively.
> 
> This has been lightly tested on an actual system, including PCI
> pass-through with a TG3 device.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> [mpe: Cleanup pr_xxx(), unsplit pr_xxx() strings, etc., fix build
>  failures by adding KVM_XIVE which depends on KVM_XICS and XIVE, and
>  adding empty stubs for the kvm_xive_xxx() routines, fixup subject]
> Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>

The Kconfig stuff for KVM_XIVE is wrong, you need:

diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index 6498424..c56939e 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -200,7 +200,7 @@ config KVM_XICS
 config KVM_XIVE
 	bool
 	default y
-	depends on KVM_XICS && XIVE_NATIVE
+	depends on KVM_XICS && PPC_XIVE_NATIVE
 
 source drivers/vhost/Kconfig
 
on top of what you posted.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux