<tnt>
Any clue what would cause the pcie core to go to Polling.Compliance ?
<tnt>
to give a little of context: this happens when loading a new bitstream when the machine is already booted and only if the machine was booted with a bitstream already loaded. Also if I reboot the PC, then the core will sync just fine (i.e. leave Compliance and go through training).
toshywoshy has quit [Read error: Connection reset by peer]
toshywoshy has joined #litex
<_florent_>
cr1901: in litex directory, there is only Minerva for now. It could also be interesting to reuse properly integrate Luna in the future
<_florent_>
tnt: sorry I saw your interesting results in the issue but haven't been able to have a closer look yet
<tnt>
TBH after the change I made I think the issue might be in the BIOS or ACPI tables.
<_florent_>
tnt: Regarding the filtering of the Clk with the reset, I added it on 7-series since was required on a custom hardware, but we should maybe make it optional
<tnt>
When the PC boots without cards, the bios doesn't init anything and I have to do it myself, that's fine. But I guess when it detects a cards, it must start some monitoring process or something and when the link is lost it doesn't restart properly.
<tnt>
_florent_: What I was thinking was to possibly add a small reset counter block so that when the external reset is released, it re-enables the clock but keeps the internal reset asserted for a bit longer.
<tnt>
Although TBH ATM the way it works is "good enough" for my application, it's mostly a curiosity as to why it doesn't behave.
<tnt>
What's a bit more annoying is that x8 doesn't work.
<_florent_>
tnt: Sorry I'm not sure to remember or find the behavior in the issue with x8? The board is not seen at all with lspci?
<tnt>
it enumerates fine and --ident works fine. But dma test just hangs.
<tnt>
I'll re-check tomorrow, and open a new issue about it with the tests / behaviors I observe.
<_florent_>
ok, if you can also share the pcie_usp_support, I'll have a look
<tnt>
What do you mean ? I use the pcie_usp_support.v is in the litepcie repo.
<tnt>
Or did you mean the .xci ?
<_florent_>
tnt: I need to have a look but the adaptation of pcie_usp_support is probably different between the x4 and x8
<tnt>
yes it is.
<tnt>
But there is a x8 version in the repo. I didn't write it.
<_florent_>
ok that's good then. I'll do some verification in the one present in the repository