# \[PATCH\] fsl\_pamu: erratum a007907 should be applied on all versions of E6500 chips.

- Subsystems: IOMMU SUBSYSTEM, THE REST
- Maintainers: Joerg Roedel, Will Deacon, Linus Torvalds
- List: linuxppc-dev
- 4 messages, 2 authors
- Page: https://ratatoskr.run/linuxppc-dev/2016/10/9493313/t

## \[PATCH\] fsl\_pamu: erratum a007907 should be applied on all versions of E6500 chips.

- From: jun \<hidden\>
- Date: 2016-10-26 08:49:42 
- Message: https://ratatoskr.run/linuxppc-dev/2016/10/9493313.md

```text
Signed-off-by: jun <redacted>
---
 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;
-- 
2.7.4
```

## Re: fsl\_pamu: erratum a007907 should be applied on all versions of E6500 chips.

- From: Scott Wood \<oss@buserror.net\>
- Date: 2016-11-22 07:41:36 
- Message: https://ratatoskr.run/linuxppc-dev/2016/11/9493865.md

```text
On Thu, Oct 27, 2016 at 12:50:44AM +0800, jun wrote:
> Signed-off-by: jun <redacted>
> ---
>  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
```

## RE: fsl\_pamu: erratum a007907 should be applied on all versions of E6500 chips.

- From: Jun Yang \<hidden\>
- Date: 2016-11-22 08:43:11 
- Message: https://ratatoskr.run/linuxppc-dev/2016/11/9493873.md

```text
Hello Scott,
Do you know the IOMMU maintainer's mail address?

BR
Jun

-----Original Message-----
From: Scott Wood [mailto:oss@buserror.net]=20
Sent: Tuesday, November 22, 2016 3:41 PM
To: Jun Yang
Cc: <redacted>
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 <redacted>
> ---
>  drivers/iommu/fsl_pamu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index=20
> 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 =3D mfspr(SPRN_PVR);
> =20
> -	if (PVR_VER(pvr) =3D=3D PVR_VER_E6500 && PVR_REV(pvr) <=3D 0x20)
> +	if (PVR_VER(pvr) =3D=3D PVR_VER_E6500)
>  		return true;
> =20
>  	return false;

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

-Scott
```

## Re: fsl\_pamu: erratum a007907 should be applied on all versions of E6500 chips.

- From: Scott Wood \<oss@buserror.net\>
- Date: 2016-11-23 19:14:22 
- Message: https://ratatoskr.run/linuxppc-dev/2016/11/9493949.md

```text
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 [ref]
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 [ref]

-Scott
```
