public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pci/quirks.c - VIA PCI latency in 2.4.4
@ 2001-04-30 13:19 Oliver Feiler
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver Feiler @ 2001-04-30 13:19 UTC (permalink / raw)
  To: linux-kernel

Hi,

	pci/quirks.c in Linux 2.4.4 contains the latency patch for the VIA 
686B southbridge. However the line 315 in the file reads:

        { PCI_FIXUP_FINAL,      PCI_VENDOR_ID_VIA,      PCI_DEVICE_ID_VIA_8363_0
,       quirk_vialatency },


	Doesn't this only activate the patch on KT133 boards and not on AMD760
boards for example that use the 686B southbridge as well? So shouldn't be
PCI_DEVICE_ID_VIA_82C686 (I don't know the correct ID for the 686B chip)  
placed there instead? Is this correct?

Bye

Oliver


-- 
Oliver Feiler                                               kiza@gmx.net
http://www.lionking.org/~kiza/pgpkey              PGP key ID: 0x561D4FD2
http://www.lionking.org/~kiza/

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

* pci/quirks.c - VIA PCI latency in 2.4.4
@ 2001-04-30 13:48 Charl P. Botha
  2001-04-30 13:58 ` Charl P. Botha
  0 siblings, 1 reply; 5+ messages in thread
From: Charl P. Botha @ 2001-04-30 13:48 UTC (permalink / raw)
  To: kiza; +Cc: linux-kernel

You're right, this is a problem, your solution is not entirely correct
though (the south bridge has to be checked, but the patch is to the config
registers of the pci-host bridge).  Please see my patch posted on this list
with subject "Re: 2.4.4 Sound corruption [PATCH] NEW, ignore previous
patch".

Regards,

-- 
charl p. botha      | computer graphics and cad/cam 
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/

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

* Re: pci/quirks.c - VIA PCI latency in 2.4.4
  2001-04-30 13:48 Charl P. Botha
@ 2001-04-30 13:58 ` Charl P. Botha
  2001-04-30 14:33   ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Charl P. Botha @ 2001-04-30 13:58 UTC (permalink / raw)
  To: kiza; +Cc: linux-kernel

I should probably clarify.  The fix is *only* valid for the VIA VT8363 host to
pci bridge, therefore the test for the 686B south bridge only gets done if a
8363 is found.  

No fix is known for intel pci-to-host bridges with the 686B south bridge,
and in the case of the AMD-761 chipset, there are certain BIOS settings you
can change.  See: http://home.tiscalinet.de/au-ja/review-kt133a-4-en.html

On Mon, Apr 30, 2001 at 03:48:52PM +0200, Charl P. Botha wrote:
> You're right, this is a problem, your solution is not entirely correct
> though (the south bridge has to be checked, but the patch is to the config
> registers of the pci-host bridge).  Please see my patch posted on this list
> with subject "Re: 2.4.4 Sound corruption [PATCH] NEW, ignore previous
> patch".

-- 
charl p. botha      | computer graphics and cad/cam 
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/

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

* Re: pci/quirks.c - VIA PCI latency in 2.4.4
  2001-04-30 13:58 ` Charl P. Botha
@ 2001-04-30 14:33   ` Alan Cox
  2001-04-30 15:39     ` Charl P. Botha
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2001-04-30 14:33 UTC (permalink / raw)
  To: c.p.botha; +Cc: kiza, linux-kernel

> I should probably clarify.  The fix is *only* valid for the VIA VT8363 host to
> pci bridge, therefore the test for the 686B south bridge only gets done if a
> 8363 is found.  
> 
> No fix is known for intel pci-to-host bridges with the 686B south bridge,
> and in the case of the AMD-761 chipset, there are certain BIOS settings you
> can change.  See: http://home.tiscalinet.de/au-ja/review-kt133a-4-en.html

The -ac tree has the ability to kill IDE DMA across the entire system. It may
be this is what should be done with all hybrid setups where there is no known
fix.


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

* Re: pci/quirks.c - VIA PCI latency in 2.4.4
  2001-04-30 14:33   ` Alan Cox
@ 2001-04-30 15:39     ` Charl P. Botha
  0 siblings, 0 replies; 5+ messages in thread
From: Charl P. Botha @ 2001-04-30 15:39 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

On Mon, Apr 30, 2001 at 03:33:49PM +0100, Alan Cox wrote:
> > No fix is known for intel pci-to-host bridges with the 686B south bridge,
> > and in the case of the AMD-761 chipset, there are certain BIOS settings you
> > can change.  See: http://home.tiscalinet.de/au-ja/review-kt133a-4-en.html
> 
> The -ac tree has the ability to kill IDE DMA across the entire system. It may
> be this is what should be done with all hybrid setups where there is no known
> fix.

Alternatively, too much time shouldn't be spent on this specific bug.  VIA
has recognised it, and motherboard vendors are already starting to release
updated BIOSes that sport the required settings (e.g. Abit, see
http://www.viahardware.com/faq/kt7/faqbios.html).  I'm just afraid if the
kernel starts disabling IDE DMA on certain of these setups, there'll have to
be checks (in the kernel) for possible future updated BIOSes as well (else
we disable IDE DMA where it's not necessary).

Selective application of the fix (as in my patch) does no harm on the known
combinations though.

My very humble 2c,

-- 
charl p. botha      | computer graphics and cad/cam 
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/

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

end of thread, other threads:[~2001-04-30 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-30 13:19 pci/quirks.c - VIA PCI latency in 2.4.4 Oliver Feiler
  -- strict thread matches above, loose matches on Subject: below --
2001-04-30 13:48 Charl P. Botha
2001-04-30 13:58 ` Charl P. Botha
2001-04-30 14:33   ` Alan Cox
2001-04-30 15:39     ` Charl P. Botha

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