public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SiS 5513 ATA133 support patch for 2.4.19-rc3-ac3
@ 2002-07-28 23:37 Lionel Bouton
  2002-07-28 23:43 ` Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Lionel Bouton @ 2002-07-28 23:37 UTC (permalink / raw)
  To: Alan Cox, Lei-Chun Chang, Andre Hedrick, Marcelo Tosatti,
	linux-kernel

Hi,

Marcelo, I was mistaken when I told you that the patch (adding ATA133
support and bringing sis5513.c from v0.13 to v0.14) only brought
performance enhancements.

The matter is far more complicated.
Background:
- sis5513.c v0.13 looks only for a set of known northbridge PCI IDs 
instead of using a more fine probing,
- SiS started to produce separate northbridge/southbridge chips.

 From earliest bugreports I believed updated southbridges came
with new northbriges too (reports indicated "646" for 645DX and thus the 
driver didn't recognised the chip and fallbacked to original SiS5513 
mode -> no data corruption) and didn't bother.

Today I received a report for v0.13 with a *645* ID for a 645DX. This ID 
is recognised as only ATA100-capable -> data corruption occured (problem 
solved with v0.14).

So I'm now sure we will have data corruption with v0.13 (we overclock 
the IDE UDMA writes for problematic configurations).

A workaround would be to remove support for problematic PCI IDs in v0.13.

*But* I guess we have an unresolvable problem in v0.13 with latest 
southbridges (962/963): the register layout changed completely. Unlike 
previous chipsets, fallback to sis5513 mode could fail. I guess that the 
master of the primary controller would be fine when the registers aren't 
relocated (may be BIOS dependant or even worse, having booted another OS 
dependant). But all other IDE devices could be screwed up and all of 
them can be if the registers have been remapped.
The only workaround for this is a v0.14 with enough time for tests.

Before releasing 2.4.19 I think we should either :
- completely remove the affected northbridges (645, 650, 745, 750) 
support in v0.13, this is a simple patch. Then we wait for 2.4.20 to 
include v0.14.
- put v0.14 in.

 From past experiences we need 2 weeks of availability of code in
the AC/pre kernels before the wave of meaningful bugreports ends.

LB.


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

end of thread, other threads:[~2002-07-30 16:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-28 23:37 SiS 5513 ATA133 support patch for 2.4.19-rc3-ac3 Lionel Bouton
2002-07-28 23:43 ` Alan Cox
2002-07-29  7:11 ` Daniela Engert
2002-07-29  8:56   ` Lionel Bouton
2002-07-29  9:15     ` Daniela Engert
2002-07-29 11:35     ` L.C. Chang
2002-07-29 19:12 ` Marcelo Tosatti
2002-07-30 16:38   ` Lionel Bouton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox