All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: asm-mips/sgi/mc.h register padding broken
@ 2003-04-27 14:47 Guido Guenther
  2003-04-27 22:54 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Guido Guenther @ 2003-04-27 14:47 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

Hi Ralf,
the register layout of the IP22s mc is missing some paddings which
results in some nice bus error exceptions. Please apply this patch
against 2.4. and 2.5:

diff -u -p -r1.1.2.1 mc.h
--- include/asm-mips/sgi/mc.h	19 Mar 2003 04:23:22 -0000	1.1.2.1
+++ include/asm-mips/sgi/mc.h	27 Apr 2003 14:41:36 -0000
@@ -153,7 +153,7 @@ struct sgimc_regs {
 	volatile u32 elock;		/* Locks EISA from GIO accesses */
 
 	/* GIO dma control registers. */
-	u32 _unused22[14];
+	u32 _unused22[15];
 	volatile u32 gio_dma_trans;	/* DMA mask to translation GIO addrs */
 	u32 _unused23;
 	volatile u32 gio_dma_sbits;	/* DMA GIO addr substitution bits */
@@ -163,7 +163,7 @@ struct sgimc_regs {
 	volatile u32 dma_ctrl;		/* Main DMA control reg */
 
 	/* DMA TLB entry 0 */
-	u32 _unused26;
+	u32 _unused26[5];
 	volatile u32 dtlb_hi0;
 	u32 _unused27;
 	volatile u32 dtlb_lo0;

Regards,
 -- Guido

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

end of thread, other threads:[~2003-04-27 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-27 14:47 [PATCH]: asm-mips/sgi/mc.h register padding broken Guido Guenther
2003-04-27 22:54 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.