Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: Trident video card caused Kernel Panic on HP Visualize 785/B2000 with rebuilt 2.6.11-rc6-pa1 kernel
Date: Thu, 23 Jun 2005 14:18:07 -0600	[thread overview]
Message-ID: <20050623201807.GB28240@colo.lackof.org> (raw)
In-Reply-To: <200506231324.21482.bjorn.helgaas@hp.com>

On Thu, Jun 23, 2005 at 01:24:21PM -0600, Bjorn Helgaas wrote:
> > I'm not sure it's "feasible" unless we can get around IO Port space
> > routing issues.
> 
> If the IO port routing is broken, I don't know whether we can do
> anything useful.  X emulates the option ROM to initialize the card,
> and the ROM typically does IO port accesses that have to appear on
> the bus as accesses in the 0x3b0-0x3df range.

On parisc the emulator would have to call into the Elroy PCI
support (drivers/parisc/lba_pci.c) to generate the IO port accesses.
Ie parisc has no "load/store IO Port space" instructions.
It all has to be done by directly poking the Elroy registers
on the right elroy.

IA64 could do this as well but doesn't have an "lba_pci.c" driver.
Everything is "nicely" encapsulate by SAL calls and IA64 can
directly generate IO Port space load/stores (in/out) so it
wouldn't normally need a PCI Host Bus controller driver.


> Even without Astro VGA routing, the emulator or kernel could remap
> those accesses so they get routed to the correct bus.  But that's
> not enough, because then they won't appear on the bus in the
> 0x3b0-0x3df range that the card is expecting.

Given the above, we can poke any value we want in to the Elroy registers
in order to generate the right IO port space addresses.


grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2005-06-23 20:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.1.1.6.1.20050615221250.02a429c0@pop.singnet.com.sg>
2005-06-15 19:06 ` [parisc-linux] Re: Trident video card caused Kernel Panic on HP Visualize 785/B2000 with rebuilt 2.6.11-rc6-pa1 kernel Grant Grundler
2005-06-20 20:45   ` Bjorn Helgaas
2005-06-21  2:06     ` Grant Grundler
2005-06-23 18:59       ` Kyle McMartin
2005-06-23 19:09         ` Grant Grundler
2005-06-23 19:24           ` Bjorn Helgaas
2005-06-23 20:18             ` Grant Grundler [this message]
2005-06-23 20:22               ` Bjorn Helgaas
2005-06-23 20:30               ` Kyle McMartin
2005-06-23 20:46                 ` Bjorn Helgaas
     [not found] ` <5.1.1.6.1.20050701204720.02abaec0@pop.singnet.com.sg>
2005-07-02  7:44   ` Grant Grundler

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=20050623201807.GB28240@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=bjorn.helgaas@hp.com \
    --cc=kyle@mcmartin.ca \
    --cc=parisc-linux@lists.parisc-linux.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