linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Oops in IDE probing on ppc_440 when PCI is enabled in strapping
@ 2009-09-14 12:36 Ludo Van Put
  2009-09-14 12:51 ` Josh Boyer
  0 siblings, 1 reply; 6+ messages in thread
From: Ludo Van Put @ 2009-09-14 12:36 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

Hi,

we're working with a PPC440GX on a board that has a.o. a compact flash slot.
We had the PCI subsystem of the ppc disabled in strapping for quite a while,
until we wanted to start using it.
However, when we enabled PCI in the strapping and in the (patched 2.6.10)
kernel configuration, we triggered an oops when probing for IDE devices (to
read out the first 512 bytes of the CF). I can see that the ioremap64 call
in the driver code for our CF returns a different address (compared to PCI
disabled in strapping), but using this address later on for accessing the CF
goes wrong.

Does someone has an idea why this might go wrong? Can I end up with
overlapping address ranges due to the PCI subsystem being enabled? Is this
easy to check? As far as I know, the HW address of the PCI controller is in
a non-overlapping range with the addresses we have setup in the EBC
registers to probe for the CF (u-boot can see the IDE device just fine and
it also has PCI turned on).

TIA, Ludo

[-- Attachment #2: Type: text/html, Size: 1027 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-15  9:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14 12:36 Oops in IDE probing on ppc_440 when PCI is enabled in strapping Ludo Van Put
2009-09-14 12:51 ` Josh Boyer
2009-09-14 13:08   ` Ludo Van Put
2009-09-15  0:42     ` Benjamin Herrenschmidt
2009-09-15  8:57       ` Ludo Van Put
2009-09-15  9:44         ` Benjamin Herrenschmidt

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).