powerpc/fsl: add MSI support for the Freescale hypervisor
authorTimur Tabi <timur@freescale.com>
Tue, 13 Dec 2011 20:51:59 +0000 (14:51 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 4 Jan 2012 21:47:44 +0000 (15:47 -0600)
commit446bc1ffe4f2cac228909fe0ac48884d12700d81
treeebc83802cd7f4c140159384c2b7e6e492080891f
parentc6ca52ad32cb9a4b9b331a60966ffa4d00ce3f37
powerpc/fsl: add MSI support for the Freescale hypervisor

Add support for vmpic-msi nodes to the fsl_msi driver.  The MSI is
virtualized by the hypervisor, so the vmpic-msi does not contain a 'reg'
property.  Instead, the driver uses hcalls.

Add support for the "msi-address-64" property to the fsl_pci driver.
The Freescale hypervisor typically puts the virtualized MSIIR register
in the page after the end of DDR, so we extend the DDR ATMU to cover it.
Any other location for MSIIR is not supported, for now.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_msi.c
arch/powerpc/sysdev/fsl_msi.h
arch/powerpc/sysdev/fsl_pci.c