linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Egbert Eich <eich@suse.de>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: Xserver development <xorg@freedesktop.org>,
	fbdev <linux-fbdev-devel@lists.sourceforge.net>,
	Egbert Eich <eich@pdx.freedesktop.org>
Subject: Re: Who is stomping PCI config space?
Date: Fri, 4 Mar 2005 13:02:34 +0100	[thread overview]
Message-ID: <16936.20058.49842.231100@xf14.local> (raw)
In-Reply-To: jonsmirl@gmail.com wrote on Thursday, 3 March 2005 at 22:03:43 -0500


Jon,

you know well that we are not living in the same time zone, so you
may want to give me some time to answer.

Jon Smirl writes:
 > Hopefully someone who knows what is going on with VT switching and how
 > hardware gets enabled will respond and we can get this fixed in the
 > server.  I see Zoltan's patch but we shouldn't have to tell X to leave
 > hardware alone that doesn't belong to it. X just has no business
 > messing with cards it does not own.

Err. We can reenable the card if no other card is interested in this
kind of legacy resource (we distinguish between mem and io resources
as we can disable them separately). And as far as I remember X does
this already when it is not in setup mode.
However if your X driver says it needs these resources - during 
'normal' operation, not setup - then there is no way around turning
of other cards.

 > 
 > Meanwhile I am forced to write to PCI config space and reenable IO
 > access from inside my interrupt handler. Yuck, yuck, yuck!!!

Even with a central resource manager (regardless if you have it inside
the kernel or not) your interrupt code would have to do this - as 
you don't know if the code you are coming from needed to access these 
these ports on another card.

Egbert.

  parent reply	other threads:[~2005-03-04 12:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03 19:03 Who is stomping PCI config space? Jon Smirl
2005-03-03 23:07 ` Benjamin Herrenschmidt
2005-03-04  0:15   ` Jon Smirl
2005-03-04  3:03     ` Jon Smirl
2005-03-04  6:40       ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2005-03-04 12:07         ` Egbert Eich
2005-03-04 17:35           ` Jon Smirl
2005-03-04 22:42             ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2005-03-05 19:06               ` Egbert Eich
2005-03-05 22:42                 ` Benjamin Herrenschmidt
2005-03-07 11:19                   ` Egbert Eich
2005-03-08  3:21                     ` Benjamin Herrenschmidt
2005-03-05 17:33             ` Egbert Eich
2005-03-04 17:58           ` Jon Smirl
2005-03-04 22:45             ` Benjamin Herrenschmidt
2005-03-05 19:07               ` Egbert Eich
2005-03-05 22:43                 ` Benjamin Herrenschmidt
2005-03-04 22:27           ` Benjamin Herrenschmidt
2005-03-05 18:26             ` Egbert Eich
2005-03-05 22:39               ` Benjamin Herrenschmidt
2005-03-07 11:05                 ` Egbert Eich
2005-03-04 12:02       ` Egbert Eich [this message]
2005-03-04 11:25   ` Egbert Eich
2005-03-04 22:16     ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2005-03-05 17:36       ` Egbert Eich
2005-03-04 11:12 ` Egbert Eich
2005-03-04 22:51   ` Benjamin Herrenschmidt
     [not found] ` <42278AEC.4080706@dunaweb.hu>
2005-03-04 11:21   ` Egbert Eich

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=16936.20058.49842.231100@xf14.local \
    --to=eich@suse.de \
    --cc=eich@pdx.freedesktop.org \
    --cc=jonsmirl@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=xorg@freedesktop.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;
as well as URLs for NNTP newsgroup(s).