[PATCH] powerpc/85xx: workaround for chips with MSI hareware errata to support MSI-X

Jia Hongtao-B38951 B38951 at freescale.com
Tue Jul 17 16:18:20 EST 2012


> -----Original Message-----
> From: Wood Scott-B07421
> Sent: Tuesday, July 17, 2012 7:20 AM
> To: Jia Hongtao-B38951
> Cc: linuxppc-dev at lists.ozlabs.org; galak at kernel.crashing.org;
> soniccat.liu at gmail.com
> Subject: Re: [PATCH] powerpc/85xx: workaround for chips with MSI hareware
> errata to support MSI-X
> > diff --git a/arch/powerpc/sysdev/fsl_msi.h
> b/arch/powerpc/sysdev/fsl_msi.h
> > index 8225f86..354d546 100644
> > --- a/arch/powerpc/sysdev/fsl_msi.h
> > +++ b/arch/powerpc/sysdev/fsl_msi.h
> > @@ -25,6 +25,9 @@
> >  #define FSL_PIC_IP_IPIC   0x00000002
> >  #define FSL_PIC_IP_VMPIC  0x00000003
> >
> > +#define MSI_HW_ERRATA_MASK   0x000000F0
> > +#define MSI_HW_ERRATA_ENDIAN 0x00000010
> 
> Why do we need a mask for this?
> 

It seems this mask is not needed.
I will fix this in the next version.

Thanks.
-Hongtao.


More information about the Linuxppc-dev mailing list