From: Marcin Dalecki <dalecki@evision.ag>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: martin@dalecki.de, Alan Cox <alan@lxorguk.ukuu.org.uk>,
William Lee Irwin III <wli@holomorphy.com>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC/CFT] cmd640 irqlocking fixes
Date: Thu, 25 Jul 2002 10:56:01 +0200 [thread overview]
Message-ID: <3D3FBD21.2020607@evision.ag> (raw)
In-Reply-To: 20020725105538.B21927@ucw.cz
Vojtech Pavlik wrote:
> On Thu, Jul 25, 2002 at 10:28:56AM +0200, Marcin Dalecki wrote:
>
>>Vojtech Pavlik wrote:
>>
>>
>>>The kernel functions are OK. The problem is that the kernel can use
>>>PCIBIOS calls to set the registers. And certain old buggy BIOSes which
>>>violate the PCI spec can use wrong size data transfers to set the
>>>registers, which the CMD640 doesn't like.
>>>
>>>IMHO the best workaround here would be either to disable PCIBIOS calls
>>>and revert to conf1 or conf2 in the PCI code if a CMD640 is present, or
>>>just panic() in the CMD640 code and suggest to the user to use
>>>"pci=nobios" on the kernel command line. I'd actually prefer the later.
>>>
>>
>> From a long long time ago during the first days of this driver I
>>remember that those chips could be wired to both PCI and VLB(ISA) bus.
>>And this is the main reaons why the functions is question exist in first
>>place -> "emulating" PCI configuration space access on VLB.
>
>
> No. For VLB the CMD640 has a somewhat different configuration method.
> See the source. ;) We really should be using pci_write_config_* and
> create vlb_write_config_* in CMD640 for the VLB accesses, panic() in
> case we have a PCI system that uses BIOS and we found a CMD640, and
> remove the duplicate PCI conf1 and PCI conf2 code from cmd640.c
OK. Right. We have to touch this code anyway. Do you know first hand how
to detect programmatically which configuration method is in charge? If
not I can look it up on my own..
next prev parent reply other threads:[~2002-07-25 8:58 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 22:58 [RFC/CFT] cmd640 irqlocking fixes William Lee Irwin III
2002-07-24 23:16 ` William Lee Irwin III
2002-07-25 1:05 ` Alan Cox
2002-07-25 7:54 ` Vojtech Pavlik
2002-07-25 8:28 ` Marcin Dalecki
2002-07-25 8:55 ` Vojtech Pavlik
2002-07-25 8:56 ` Marcin Dalecki [this message]
2002-07-25 10:24 ` Alan Cox
2002-07-25 10:37 ` Marcin Dalecki
2002-07-25 10:51 ` Andre Hedrick
2002-07-25 12:52 ` Alan Cox
2002-07-25 12:05 ` Andre Hedrick
2002-07-25 13:08 ` Alan Cox
2002-07-25 11:53 ` Marcin Dalecki
2002-07-25 12:30 ` Andre Hedrick
2002-07-25 14:33 ` Alan Cox
2002-07-25 13:39 ` Benjamin Herrenschmidt
2002-07-25 14:18 ` PCI config locking (WAS Re: [RFC/CFT] cmd640 irqlocking fixes)2 Benjamin Herrenschmidt
2002-07-25 15:45 ` Alan Cox
2002-07-25 14:40 ` benh
2002-07-25 16:10 ` Alan Cox
2002-07-25 23:04 ` Alan Cox
2002-07-25 14:48 ` Dave Jones
2002-07-25 15:44 ` Thunder from the hill
2002-07-29 7:13 ` David S. Miller
2002-07-26 0:41 ` Marcin Dalecki
2002-07-26 0:15 ` [RFC/CFT] cmd640 irqlocking fixes Albert D. Cahalan
2002-07-25 10:22 ` Alan Cox
2002-07-25 8:01 ` Marcin Dalecki
-- strict thread matches above, loose matches on Subject: below --
2002-07-25 12:50 Petr Vandrovec
2002-07-25 14:34 ` Alan Cox
2002-07-26 2:15 ` Marcin Dalecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D3FBD21.2020607@evision.ag \
--to=dalecki@evision.ag \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=martin@dalecki.de \
--cc=vojtech@suse.cz \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox