public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* mt7621/mt7628 PCIe linux driver
@ 2018-09-22 21:06 Petr Cvek
       [not found] ` <8fd595af-53fa-c100-c369-8c7a30eba8e3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Cvek @ 2018-09-22 21:06 UTC (permalink / raw)
  To: ryder.lee-NuS5LvNUpcJWk0Htik3J/w, blogic-p3rKhJxN3npAfugRpC6u6w,
	sergio.paracuellos-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-pci-u79uwXL29TY76Z2rM5mHXA

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
     [not found] ` <8fd595af-53fa-c100-c369-8c7a30eba8e3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-09-23  6:20   ` Sergio Paracuellos
2018-10-07 13:25     ` Petr Cvek
     [not found]       ` <283247bf-fa56-875a-6669-eddd6142d399-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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