* Read but not write on a PCI bus!
@ 2008-07-29 16:32 Tachwali
0 siblings, 0 replies; only message in thread
From: Tachwali @ 2008-07-29 16:32 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I am facing a problem in writing to PMC module on cPCI board through local
PCI bus. The cPCI board is equipped with an mpc7447/7448 powerpc processor
as well as a Marvell system controller (mv64462). The board is working on
Gentoo Linux (kernel version 2.6.9 built using arch/ppc).
I can read registers on a PMC module via local PCI interface, but we can't
write to any registers. I am wondering about the possible causes of such
behaviour. I need to mention that:
1- the same PMC module and driver works Ok on many x86 based systems.
2- The PCI config space seems to be OK since the PMC module can be detected
by scanpci Linux command. The PMC module registers are in Bar0 mem space
(BASE0 0x23ffff88 addr 0x23ffff80 MEM PREFETCHABLE)
3- I checked MV64462 PCI config registers carefully, and the "write protect"
and "access protect" bits in these registers are not set.
4- I have tried another debugging utility which does a basic read/write to
memory and this utility experience the same problem as our driver (it can
only read the address space of the PCI bus but cannot write to it).
I am wondering if "posted writes" option in MV64462 can cause this problem.
Did anybody encounter any problem with this option or have any hints on the
possible causes of blocking writes to the PCI bus?
Thank you in advance for your help!
--
View this message in context: http://www.nabble.com/Read-but-not-write-on-a-PCI-bus%21-tp18716235p18716235.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-29 16:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 16:32 Read but not write on a PCI bus! Tachwali
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).