linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mt7621/mt7628 PCIe linux driver
@ 2018-09-22 21:06 Petr Cvek
  2018-09-23  6:20 ` Sergio Paracuellos
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Cvek @ 2018-09-22 21:06 UTC (permalink / raw)
  To: ryder.lee, blogic, sergio.paracuellos
  Cc: linux-mediatek, linux-mips, linux-pci

Hello,

I'm trying to play with mt7628 PCIe (and it's old driver mt7620), but
the system keeps freezing. It is probably because of bus master access
of my PCIe cards but I don't see any memory access controls for PCIe <->
RAM in the datasheet. The same problem is with MSI. It seems the root
complex supports MSI (it has an MSI capability field), but there isn't
any mention in the MT7628 datasheet too. As it seems the MT7628 PCIe is
based on MT7621 PCIe, I went for an MT7621 datasheet, but sadly in the
datasheet the PCIe section is missing completely.

Does anybody have a working MT7621/28 bus master setup or a more
completed datasheet? I would like to get some information for fixing the
mt7620 PCIe driver. It is possible the MSI/bus master is controlled by
the undocumented bridge registers (in the pci-mt7621 they controls the
manual oscillator settings, I've found a link quality register at
0x101490c4) or in a PCI config space of the root complex (around 0x700
offset). If you have a working SoC with MSI/bus mastering (= mem access
from card), can you send me the dump of there spaces?

Thanks

best regards,
Petr

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

end of thread, other threads:[~2018-10-08  4:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-22 21:06 mt7621/mt7628 PCIe linux driver Petr Cvek
2018-09-23  6:20 ` Sergio Paracuellos
2018-10-07 13:25   ` Petr Cvek
2018-10-08  4:20     ` Sergio Paracuellos

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