Skip to content
Commit 834c5cf2 authored by Om Prakash Singh's avatar Om Prakash Singh Committed by Lorenzo Pieralisi
Browse files

PCI: tegra194: Disable interrupts before entering L2

In suspend_noirq() call if link doesn't goto L2, PERST# is asserted
to bring link to detect state. However, this is causing surprise
link down AER error. Since Kernel is executing noirq suspend calls,
AER interrupt is not processed. PME and AER are shared interrupts
and PCIe subsystem driver enables wake capability of PME irq during
suspend. So this AER will cause suspend failure due to pending
AER interrupt.

After PCIe link is in L2, interrupts are not expected since PCIe
controller will be in reset state. Disable PCIe interrupts before
going to L2 state to avoid pending AER interrupt.

Link: https://lore.kernel.org/r/20210623100525.19944-4-omp@nvidia.com


Signed-off-by: default avatarOm Prakash Singh <omp@nvidia.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarVidya Sagar <vidyas@nvidia.com>
parent 43537cf7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment