From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Michael Schmitz <schmitz@zirkon.biophys.uni-duesseldorf.de>
Cc: Kostas Gewrgiou <gewrgiou@imbc.gr>,
Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de>,
R Shapiro <rshapiro@bbn.com>,
Michel Dänzer <daenzerm@student.ethz.ch>,
linuxppc-dev@lists.linuxppc.org
Subject: Re: xf 4.0.1 + ati driver with rage II/rage pro
Date: Mon, 2 Oct 2000 17:00:21 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.10.10010021659560.1581-100000@cassiopeia.home> (raw)
In-Reply-To: <Pine.LNX.4.10.10010011855010.1560-100000@zirkon.biophys.uni-duesseldorf.de>
On Sun, 1 Oct 2000, Michael Schmitz wrote:
> > > Another idea (strictly in the Unix tradition): X knows how to mess up the
> > > PCI config from user space so why shouldn't we, before X gets a shot at
> > > it? 'Just' write the correct mapping to the offending BAR from a rc
> > > script. Obvious drawback: the kernel OF tree won't be updated, and the
> > > kernel can't safeguard against insane BAR settings (at least I can't tell
> > > how that would work, one of the PCI gurus please enlighten me). Makes a
> > > nice local DOS tool.
> > >
> > > (Don't tell me that's been done already - something like PCI PNP utils
> > > for Linux, anyone?)
> >
> > Hmm fixing the resources from userland wont help you, you have to do it
> > before atyfb starts up. If i remember right from your logs X didn't had
> > any problems doing the relocation.
>
> Wrong - X didn't relocate anything, X just disabled one of the overlapping
> regions IIRC (vram with the MMIO mirror region atyfb uses, in my case).
> Even assuming X relocates the vram region, atyfb would never know it.
> That's the root cause of our problem: X changing the PCI config while
> kernel drivers rely on the PCI config remaining unchanged once the driver
> inits.
>
> I know it doesn't sound like it can work, but in this particular case
> (MMIO regs being accessed not via the MMIO PCI mapping but via one of the
> MMIO register mirror areas in video RAM) the user space tool would
> actually work if we relocate the MMIO resource - it's not used by the
> kernel, and the video RAM mapping can remain untouched by X.
Ever tried setpci (from pciutils)?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-10-02 15:00 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-23 12:52 xf 4.0.0/1 with rage II/rage pro -- should the ati driver work? R Shapiro
2000-09-23 15:00 ` Michel Dänzer
2000-09-23 15:32 ` R Shapiro
2000-09-23 16:09 ` Michael Schmitz
2000-09-23 22:19 ` R Shapiro
2000-09-23 22:25 ` Michael Schmitz
2000-09-24 13:42 ` Geert Uytterhoeven
2000-09-25 17:37 ` Michael Schmitz
2000-09-26 10:13 ` Geert Uytterhoeven
2000-09-25 17:39 ` Kostas Gewrgiou
2000-09-25 18:38 ` Michael Schmitz
2000-09-23 23:20 ` Michel Dänzer
2000-09-23 17:08 ` Michel Lanners
2000-09-24 13:30 ` Michel Dänzer
2000-09-24 16:02 ` Martin Costabel
2000-09-24 16:14 ` Michel Dänzer
2000-09-29 10:35 ` Michel Dänzer
2000-09-29 15:24 ` Kohkichi Hosoda
2000-09-29 15:32 ` Michel Dänzer
2000-09-30 6:21 ` Kohkichi Hosoda
2000-09-24 13:43 ` Geert Uytterhoeven
2000-09-25 8:56 ` Michael Schmitz
2000-09-23 17:37 ` William Blew
2000-09-24 19:51 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! R Shapiro
2000-09-24 23:17 ` Michel Dänzer
2000-09-25 1:24 ` R Shapiro
2000-09-25 6:43 ` Martin Costabel
2000-09-25 9:52 ` Kostas Gewrgiou
2000-09-25 10:38 ` xf 4.0.1 fbdev screenblanking R Shapiro
2000-09-25 12:52 ` xf 4.0.1 with rage II/rage pro -- multi-headed display, xinerama R Shapiro
2000-09-25 17:43 ` Michel Dänzer
2000-09-25 18:57 ` R Shapiro
2000-09-25 18:59 ` Michel Dänzer
2000-09-25 9:03 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! Michael Schmitz
2000-09-25 11:39 ` R Shapiro
2000-09-25 12:42 ` Michael Schmitz
2000-09-26 16:26 ` Geert Uytterhoeven
2000-09-26 18:35 ` Michael Schmitz
2000-09-26 18:46 ` Olaf Hering
2000-09-26 19:27 ` Michael Schmitz
2000-09-26 19:32 ` Olaf Hering
2000-09-26 19:51 ` Michael Schmitz
2000-09-26 21:02 ` Benjamin Herrenschmidt
2000-09-27 5:32 ` PCI fixups (was: re: xf 4.0.1 with rage II/rage...) Michel Lanners
2000-09-27 10:33 ` Benjamin Herrenschmidt
2000-09-28 6:00 ` Michel Lanners
2000-09-27 10:08 ` xf 4.0.1 with rage II/rage pro -- multi-headed display! Olaf Hering
2000-09-27 11:43 ` Geert Uytterhoeven
2000-09-27 17:22 ` Benjamin Herrenschmidt
2000-09-27 17:49 ` Kostas Gewrgiou
2000-09-28 10:00 ` Geert Uytterhoeven
2000-09-29 14:57 ` Kostas Gewrgiou
2000-09-27 11:20 ` Geert Uytterhoeven
2000-09-27 18:21 ` Michael Schmitz
2000-09-27 20:32 ` Benjamin Herrenschmidt
2000-09-28 17:55 ` Michael Schmitz
2000-09-26 19:04 ` xf 4.0.1 + ati driver with rage II/rage pro R Shapiro
2000-09-26 19:24 ` Michel Dänzer
2000-09-26 19:33 ` Michael Schmitz
2000-09-26 20:55 ` R Shapiro
2000-09-26 21:19 ` R Shapiro
2000-09-27 18:36 ` Michael Schmitz
2000-09-27 18:45 ` R Shapiro
2000-09-27 19:07 ` Michael Schmitz
2000-09-27 19:16 ` R Shapiro
2000-09-27 19:18 ` Michael Schmitz
2000-09-28 0:05 ` Michel Dänzer
2000-09-28 17:14 ` Kostas Gewrgiou
2000-09-29 9:03 ` Michel Dänzer
2000-09-29 16:55 ` Kostas Gewrgiou
2000-09-28 11:18 ` Geert Uytterhoeven
2000-09-29 12:02 ` Michel Dänzer
2000-09-29 14:17 ` R Shapiro
2000-09-29 14:34 ` Michael Schmitz
2000-09-29 15:33 ` R Shapiro
2000-09-29 19:33 ` Michael Schmitz
2000-09-29 20:54 ` R Shapiro
2000-09-29 21:04 ` Michael Schmitz
2000-09-30 1:40 ` R Shapiro
2000-09-29 21:14 ` lsprop Hollis R Blanchard
2000-09-29 16:25 ` xf 4.0.1 + ati driver with rage II/rage pro Kostas Gewrgiou
2000-09-29 16:39 ` Michel Dänzer
2000-09-29 19:40 ` Michael Schmitz
2000-09-30 14:10 ` Kostas Gewrgiou
2000-10-01 17:02 ` Michael Schmitz
2000-10-02 9:52 ` Michel Dänzer
2000-10-02 15:00 ` Geert Uytterhoeven [this message]
2000-10-02 19:50 ` Michael Schmitz
2000-10-01 17:59 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + ati driver with rage II/rage pro) Michael Schmitz
2000-10-01 20:44 ` Olaf Hering
2000-10-02 14:59 ` Geert Uytterhoeven
2000-10-02 20:11 ` Michael Schmitz
2000-10-02 20:48 ` Benjamin Herrenschmidt
2000-10-02 20:52 ` Michael Schmitz
2000-10-03 11:10 ` Geert Uytterhoeven
2000-10-03 15:15 ` Michael Schmitz
2000-10-03 17:20 ` Geert Uytterhoeven
2000-10-02 20:47 ` Olaf Hering
2000-10-02 20:56 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriver " Michel Dänzer
2000-10-02 21:04 ` Olaf Hering
2000-10-02 21:11 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriverwith " Michel Dänzer
2000-10-02 21:33 ` Olaf Hering
2000-10-03 11:14 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriver with " Geert Uytterhoeven
2000-10-03 16:19 ` Michael Schmitz
2000-10-03 17:12 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + atidriverwith " Michel Dänzer
2000-10-03 17:23 ` Michael Schmitz
2000-10-03 11:01 ` Patch: PCI resource fixup for atyfb (was: Re: xf 4.0.1 + ati driver with " Geert Uytterhoeven
2000-10-03 15:42 ` Olaf Hering
2000-10-03 16:33 ` Michael Schmitz
2000-10-04 18:09 ` Geert Uytterhoeven
2000-10-02 20:57 ` Olaf Hering
2000-10-01 21:52 ` William Blew
2000-10-02 20:21 ` R Shapiro
2000-10-02 20:27 ` Michael Schmitz
2000-09-29 17:23 ` xf 4.0.1 + ati driver with rage II/rage pro R Shapiro
2000-09-29 19:45 ` Michael Schmitz
2000-09-29 14:55 ` Michel Dänzer
2000-09-29 17:27 ` R Shapiro
2000-09-30 15:05 ` Michel Dänzer
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=Pine.LNX.4.10.10010021659560.1581-100000@cassiopeia.home \
--to=geert@linux-m68k.org \
--cc=daenzerm@student.ethz.ch \
--cc=gewrgiou@imbc.gr \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=rshapiro@bbn.com \
--cc=schmitz@opal.biophys.uni-duesseldorf.de \
--cc=schmitz@zirkon.biophys.uni-duesseldorf.de \
/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).