2001-12-04 23:22:06

by Andreas Tscharner

[permalink] [raw]
Subject:

--=.8W6MhE4GVHOI8P

Date: Wed, 5 Dec 2001 00:20:53 +0100
From: Andreas Tscharner <[email protected]>
To: Torvalds Linus <[email protected]>,Tosatti Marcelo <[email protected]>
Cc: Linux Kernel Mailinglist <[email protected]>,[email protected]
Subject: [PATCH] ALi M15x3 ISA DMA Hang
Message-Id: <[email protected]>
Organization: No Such Penguin
X-Mailer: Sylpheed version 0.6.5claws25 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi Linus,
Hi Marcelo,
Hi all,

The following little patch adds the Ali M15x3 chipset to the list of the buggy ones. The use of this DMA causes a hang without the workaround.

The OSS and ALSA modules for the OPL3/SA2 and OPL3/SAx soundchip use this DMA.

This combination of chipset and soundchip can be found in many Acer Laptops, for example in the whole Acer Extensa Series. Trying to make music on this machines always causes a complete system freeze.

The patch is against a debianized 2.4.16 Kernel, but it should work also with vanilla. It was originally written by Angelo Di Filippo <[email protected]> for Kernel 2.3.45. I adapted it to 2.4.16.


--- drivers/pci/quirks.c.orig Tue Dec 4 10:54:33 2001
+++ drivers/pci/quirks.c Tue Dec 4 10:59:09 2001
@@ -468,6 +468,7 @@
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, quirk_isa_dma_hangs },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C596, quirk_isa_dma_hangs },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371SB_0, quirk_isa_dma_hangs },
+ { PCI_FIXUP_FINAL, PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, quirk_isa_dma_hangs },
{ PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_868, quirk_s3_64M },
{ PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_968, quirk_s3_64M },
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82437, quirk_triton },


Best regards
Andreas
--
Andreas Tscharner [email protected]
-------------------------------------------------------------------------
"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning." -- Rich Cook

--=.8W6MhE4GVHOI8P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8DVpmd6icl+PTsS8RAiJgAJ47VWcmOsSMW2waX9NKgCOFUPbk7gCfehym
UpAqlW98jbh3X55Dbc+obRw=
=AgDC
-----END PGP SIGNATURE-----

--=.8W6MhE4GVHOI8P--