summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_msi.h
diff options
context:
space:
mode:
authorHongtao Jia <hongtao.jia@freescale.com>2015-02-26 15:23:08 +0800
committerScott Wood <scottwood@freescale.com>2015-03-23 19:51:18 -0500
commitff015659b631621fc9d60403a5dfbdf72c1cd058 (patch)
tree493c005e167a3a531c8e3363a423139c93ba58be /arch/powerpc/sysdev/fsl_msi.h
parent807d38b73b63bbbaa8e1baacf76f7874992f91e8 (diff)
downloadlinux-0-day-ff015659b631621fc9d60403a5dfbdf72c1cd058.tar.gz
linux-0-day-ff015659b631621fc9d60403a5dfbdf72c1cd058.tar.xz
powerpc/85xx: workaround for chips with MSI hardware errata
The MPIC version 2.0 has a MSI errata (errata PIC1 of mpc8544), It causes that neither MSI nor MSI-X can work fine. This is a workaround to allow MSI-X to function properly. Signed-off-by: Liu Shuo <soniccat.liu@gmail.com> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.h')
-rw-r--r--arch/powerpc/sysdev/fsl_msi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.h b/arch/powerpc/sysdev/fsl_msi.h
index 420cfcbdac01c..a67359d993e52 100644
--- a/arch/powerpc/sysdev/fsl_msi.h
+++ b/arch/powerpc/sysdev/fsl_msi.h
@@ -27,6 +27,8 @@
#define FSL_PIC_IP_IPIC 0x00000002
#define FSL_PIC_IP_VMPIC 0x00000003
+#define MSI_HW_ERRATA_ENDIAN 0x00000010
+
struct fsl_msi_cascade_data;
struct fsl_msi {