lkml.org 
[lkml]   [2022]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] PCI: Restrict pci transactions after pci suspend
Date
If the endpoint device state is D0 and irq's are not freed, then
kernel try to mask interrupts by writing in to the vector
table (for MSIX interrupts) and config space (for MSI's).

These transactions are initiated after clocks are getting disabled
as part of PM suspend call. Due to it, these transactions are
resulting in un-clocked access and eventual to crashes.

So added a logic in qcom driver to restrict the unclocked access.
And updated the logic to check the link state before masking
or unmasking the interrupts.

Krishna chaitanya chundru (2):
PCI: qcom: Add system PM support
PCI: qcom: Restrict pci transactions after pci suspend

drivers/pci/controller/dwc/pcie-designware-host.c | 14 ++-
drivers/pci/controller/dwc/pcie-qcom.c | 116 +++++++++++++++++++++-
2 files changed, 126 insertions(+), 4 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2022-06-29 11:36    [W:0.188 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site