From: "Tobias Oed" <tobiasoed@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Badness in pci_find_subsys
Date: 23 Feb 2004 08:51:45 -0800 [thread overview]
Message-ID: <BAY12-F104dqK4Zd2yg00005ba3@hotmail.com> (raw)
Date: Mon, 23 Feb 2004 11:51:45 -0500
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Please cc me as I'm not subscribed to the list.
Robin Rosenberg wrote:
>Tracing the stack, I see:
>
>pci_find_subsys is deprecated which is called from
>pci_find_device which is deprecated which is called from
>pci_find_slot, which is NOT deprecated.
>
I noticed that a while ago and modified the nvidia kernel interface
(os-interface.c): I save a reference to struct pci_dev and return that when
called in interrupt context [*]. Unfortunately it doesn't fix the problem:
the badness goes away as expected but X is still frozen.
>From what I understand it's an agp related problem (specially on via
chipset). The driver is hopelessly confused and tries to reinit itself and
the card. Limiting my agp rate to x2in the bios makes things stable. With
that even gaim runs stable. (gaim triggers the problem systematically when
displaying the buddy list if I use agp x4).
btw I'm running 4620 as all later releases of the driver have terrible
performance with my tnt2.
[*]
Do I need to hold the pci_bus_lock spinlock for the following (checks for
NULL omitted here)
dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
dev = pci_dev_get(dev);
I'd rater use pci_get_slot instead of pci_find_slot, but I don't know how to
get a struct pci_bus * from an int.
Tobias.
_________________________________________________________________
Watch high-quality video with fast playback at MSN Video. Free!
http://click.atdmt.com/AVE/go/onm00200365ave/direct/01/
next reply other threads:[~2004-02-23 16:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 16:51 Tobias Oed [this message]
2004-02-23 21:09 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2004-02-23 23:12 Tobias Oed
2004-02-23 4:44 vishwas manral
2004-02-23 5:39 ` Robin Rosenberg
2004-02-23 7:30 ` Martin
2004-02-23 8:30 ` Robin Rosenberg
2004-02-23 21:08 ` Greg KH
2004-02-23 4:43 vishwas manral
2004-02-22 17:46 Robin Rosenberg
2004-02-22 17:52 ` Prakash K. Cheemplavam
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=BAY12-F104dqK4Zd2yg00005ba3@hotmail.com \
--to=tobiasoed@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®