LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Brose <linuxppcdev@qbjnet.com>
To: linuxppc-dev@ozlabs.org
Subject: Problems with devices that use PCI shared memory on 2nd PCI bus (6 slot powermac)
Date: 10 Jan 2007 15:05:11 -0000	[thread overview]
Message-ID: <20070110150511.31047.qmail@kunk.qbjnet.com> (raw)

Since Ben fixed the irq routing on 32 bit powermacs with changes to pci_32.c
and prom_parse.c I've been able to use all 6 slots with interrupt
driven devices however there appears to be a problem with devices that use
memory mapping. (this is on a S900 w/ 21052 second PCI controller)

A couple of examples:
When using a 21143 tulip ethernet card on the second PCI bus and with the 
"Use PCI shared mem for NIC registers" option turned on the driver
fails with incorrect status register reads. If I compile a kernel without
this option it works fine.

Also, if I put a rage 128 video board in one of the slots on the
second bus it cannot do DRM. If I turn DRM off it works ok or if I move the
card to the first bus it works fine with DRM.

drmOpenByBusid: Searching for BusID pci:0000:01:0f.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:01:0f.0
.
.
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
(II) Generic Mouse: ps2EnableDataReporting: succeeded
(II) R128(0): [drm] removed 1 reserved context for kernel
(II) R128(0): [drm] unmapping 8192 bytes of SAREA 0xe6107000 at 0x30020000

Bob

             reply	other threads:[~2007-01-10 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10 15:05 Bob Brose [this message]
2007-01-10 21:29 ` Problems with devices that use PCI shared memory on 2nd PCI bus (6 slot powermac) Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2007-01-12  4:42 Bob Brose

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=20070110150511.31047.qmail@kunk.qbjnet.com \
    --to=linuxppcdev@qbjnet.com \
    --cc=linuxppc-dev@ozlabs.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