linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] fsl_ifc: Fix csor_ext position in fsl_ifc_regs
       [not found] <420065698.56284.1408136539532.JavaMail.zimbra@xes-inc.com>
@ 2014-08-15 21:07 ` Aaron Sierra
  2014-08-20  4:05   ` Prabhakar Kushwaha
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Sierra @ 2014-08-15 21:07 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Greg Kroah-Hartman, Arnd Bergmann, Prabhakar Kushwaha

According to Freescale manuals, the IFC_CSORn_EXT register is located
immediately _after_ the bank's IFC_CSORn register.

This patch adjusts the csor_ext member of and reserved register arrays
immediately surrounding the csor_cs structure to provide proper access
to this register.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
---
 include/linux/fsl_ifc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/fsl_ifc.h b/include/linux/fsl_ifc.h
index f49ddb1..84d60cb 100644
--- a/include/linux/fsl_ifc.h
+++ b/include/linux/fsl_ifc.h
@@ -781,13 +781,13 @@ struct fsl_ifc_regs {
 		__be32 amask;
 		u32 res4[0x2];
 	} amask_cs[FSL_IFC_BANK_COUNT];
-	u32 res5[0x17];
+	u32 res5[0x18];
 	struct {
-		__be32 csor_ext;
 		__be32 csor;
+		__be32 csor_ext;
 		u32 res6;
 	} csor_cs[FSL_IFC_BANK_COUNT];
-	u32 res7[0x19];
+	u32 res7[0x18];
 	struct {
 		__be32 ftim[4];
 		u32 res8[0x8];
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] fsl_ifc: Fix csor_ext position in fsl_ifc_regs
  2014-08-15 21:07 ` [PATCH 1/2] fsl_ifc: Fix csor_ext position in fsl_ifc_regs Aaron Sierra
@ 2014-08-20  4:05   ` Prabhakar Kushwaha
  0 siblings, 0 replies; 2+ messages in thread
From: Prabhakar Kushwaha @ 2014-08-20  4:05 UTC (permalink / raw)
  To: Aaron Sierra, linuxppc-dev; +Cc: Greg Kroah-Hartman, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]


On 8/16/2014 2:37 AM, Aaron Sierra wrote:
> According to Freescale manuals, the IFC_CSORn_EXT register is located
> immediately _after_ the bank's IFC_CSORn register.
>
> This patch adjusts the csor_ext member of and reserved register arrays
> immediately surrounding the csor_cs structure to provide proper access
> to this register.
>
> Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
> ---
>

Thanks for fixing it.

Acked-by: Prabhakar Kushwaha <prabhakar@freescale.com>

Thanks,
Prabhakar

[-- Attachment #2: Type: text/html, Size: 39412 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-20  4:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <420065698.56284.1408136539532.JavaMail.zimbra@xes-inc.com>
2014-08-15 21:07 ` [PATCH 1/2] fsl_ifc: Fix csor_ext position in fsl_ifc_regs Aaron Sierra
2014-08-20  4:05   ` Prabhakar Kushwaha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).