Skip to contentSkip to conversation

IP28 fixes

PATCH In review Thomas Bogendoerfer 3 participants 4 messages Jan 12, 2008 – Jan 14, 2008 MIPS

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 IP28 fixes

- ISA DMA is broken on IP28
- bus error handler improved to not issue bus errors for speculative accesses to CPU and GIO addresses. We now treat CSTAT_ADDR and GSTAT_TIME errors as non fatal, when they are issues via MC error interrupt. For real (non speculative) bus errors a DBE will be issued, which is lethal as before. Handling the issue this way gets rid of decoding instructions

---

 arch/mips/Kconfig              |    1 +
 arch/mips/sgi-ip22/ip28-berr.c |  203 +---------------------------------------
 2 files changed, 4 insertions(+), 200 deletions(-)
arch/mips/Kconfig +1 -0
index 3541402..2996b9f 100644
@@ -457,6 +457,7 @@ config SGI_IP28
 	select CSRC_R4K
 	select DEFAULT_SGI_PARTITION
 	select DMA_NONCOHERENT
+	select GENERIC_ISA_DMA_SUPPORT_BROKEN
 	select IRQ_CPU
 	select HW_HAS_EISA
 	select I8253
arch/mips/sgi-ip22/ip28-berr.c +3 -200

217 lines not on this page · raw message

#1 lore raw
Quoted 10 lines · Thomas Bogendoerfer

- ISA DMA is broken on IP28
- bus error handler improved to not issue bus errors for speculative accesses to CPU and GIO addresses. We now treat CSTAT_ADDR and GSTAT_TIME errors as non fatal, when they are issues via MC error interrupt. For real (non speculative) bus errors a DBE will be issued, which is lethal as before. Handling the issue this way gets rid of decoding instructions

Folded into the "[MIPS] IP28 support" patch for 2.6.28.

Thanks,

Ralf

#2 lore raw
Quoted 9 lines · Ralf Baechle
Quoted 8 lines

- ISA DMA is broken on IP28
- bus error handler improved to not issue bus errors for speculative accesses to CPU and GIO addresses. We now treat CSTAT_ADDR and GSTAT_TIME errors as non fatal, when they are issues via MC error interrupt. For real (non speculative) bus errors a DBE will be issued, which is lethal as before. Handling the issue this way gets rid of decoding instructions

Quoted 3 lines
Quoted 1 line

Folded into the "[MIPS] IP28 support" patch for 2.6.28.

Poor IP32 will have to wait couple of years? ;-)

Quoted 3 lines

Thanks,

Ralf

WBR, Sergei

#3 lore raw
Quoted 9 lines · I wrote:
Quoted 8 lines
Quoted 8 lines

- ISA DMA is broken on IP28
- bus error handler improved to not issue bus errors for speculative accesses to CPU and GIO addresses. We now treat CSTAT_ADDR and GSTAT_TIME errors as non fatal, when they are issues via MC error interrupt. For real (non speculative) bus errors a DBE will be issued, which is lethal as before. Handling the issue this way gets rid of decoding instructions

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Folded into the "[MIPS] IP28 support" patch for 2.6.28.

Poor IP32 will have to wait couple of years? ;-)

I meant IP28 of course. 1:1 in typos. :-)

Quoted 3 lines
Quoted 3 lines

Thanks,

Ralf

WBR, Sergei