diff mbox

fsl_pamu: erratum a007907 should be applied on all versions of E6500 chips.

Message ID 1477500644-31812-1-git-send-email-jun.yang@nxp.com (mailing list archive)
State Not Applicable
Delegated to: Scott Wood
Headers show

Commit Message

jun Oct. 26, 2016, 4:50 p.m. UTC
Signed-off-by: jun <jun.yang@nxp.com>
---
 drivers/iommu/fsl_pamu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Crystal Wood Nov. 22, 2016, 7:41 a.m. UTC | #1
On Thu, Oct 27, 2016 at 12:50:44AM +0800, jun wrote:
> Signed-off-by: jun <jun.yang@nxp.com>
> ---
>  drivers/iommu/fsl_pamu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
> index db3a1cd..a8fe503 100644
> --- a/drivers/iommu/fsl_pamu.c
> +++ b/drivers/iommu/fsl_pamu.c
> @@ -668,7 +668,7 @@ static bool has_erratum_a007907(void)
>  {
>  	u32 pvr = mfspr(SPRN_PVR);
>  
> -	if (PVR_VER(pvr) == PVR_VER_E6500 && PVR_REV(pvr) <= 0x20)
> +	if (PVR_VER(pvr) == PVR_VER_E6500)
>  		return true;
>  
>  	return false;

This needs to be sent to the IOMMU maintainer and list.

-Scott
jun Nov. 22, 2016, 8:43 a.m. UTC | #2
Hello Scott,
Do you know the IOMMU maintainer's mail address?

BR
Jun

-----Original Message-----
From: Scott Wood [mailto:oss@buserror.net] 
Sent: Tuesday, November 22, 2016 3:41 PM
To: Jun Yang
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: fsl_pamu: erratum a007907 should be applied on all versions of E6500 chips.

On Thu, Oct 27, 2016 at 12:50:44AM +0800, jun wrote:
> Signed-off-by: jun <jun.yang@nxp.com>
> ---
>  drivers/iommu/fsl_pamu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index 
> db3a1cd..a8fe503 100644
> --- a/drivers/iommu/fsl_pamu.c
> +++ b/drivers/iommu/fsl_pamu.c
> @@ -668,7 +668,7 @@ static bool has_erratum_a007907(void)  {
>  	u32 pvr = mfspr(SPRN_PVR);
>  
> -	if (PVR_VER(pvr) == PVR_VER_E6500 && PVR_REV(pvr) <= 0x20)
> +	if (PVR_VER(pvr) == PVR_VER_E6500)
>  		return true;
>  
>  	return false;

This needs to be sent to the IOMMU maintainer and list.

-Scott
Crystal Wood Nov. 23, 2016, 7:14 p.m. UTC | #3
On Tue, 2016-11-22 at 08:43 +0000, Jun Yang wrote:
> Hello Scott,
> Do you know the IOMMU maintainer's mail address?

From MAINTAINERS:

IOMMU DRIVERS
M:      Joerg Roedel <joro@8bytes.org>
L:      iommu@lists.linux-foundation.org
T:      git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
S:      Maintained
F:      Documentation/devicetree/bindings/iommu/
F:      drivers/iommu/

Also CC Varun Sethi <Varun.Sethi@freescale.com>

-Scott
diff mbox

Patch

diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
index db3a1cd..a8fe503 100644
--- a/drivers/iommu/fsl_pamu.c
+++ b/drivers/iommu/fsl_pamu.c
@@ -668,7 +668,7 @@  static bool has_erratum_a007907(void)
 {
 	u32 pvr = mfspr(SPRN_PVR);
 
-	if (PVR_VER(pvr) == PVR_VER_E6500 && PVR_REV(pvr) <= 0x20)
+	if (PVR_VER(pvr) == PVR_VER_E6500)
 		return true;
 
 	return false;