+203
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Hot-reset or SBR when issued to the device connected directly
to the port results in the link-down interrupt. As part of the
linkdown interrupt handling PCIe driver instead of trying to
recover from link-down, asserts the PERST and expects client
driver to handle linkdown recovery.
However, some of the devices can work seamlessly if pcie-driver
can bring the link up post SBR linkdown.
Hence add support for link-down recovery if the required
resources - gcc_resets are specified via DT, otherwise continue
with legacy way of asserting PERST.
Change-Id: If7ac79a4501992b35fce823b9374d941a07234c9
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>