All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: endpoint: Fix core_init_notifier feature
@ 2021-09-01  5:15 Kunihiko Hayashi
  2021-09-01  5:16 ` [PATCH v2 1/2] PCI: endpoint: pci-epf-test: register notifier if only core_init_notifier is enabled Kunihiko Hayashi
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Kunihiko Hayashi @ 2021-09-01  5:15 UTC (permalink / raw)
  To: Jingoo Han, Gustavo Pimentel, Lorenzo Pieralisi, Rob Herring,
	Krzysztof Wilczyński, Bjorn Helgaas, Kishon Vijay Abraham I
  Cc: Xiaowei Bao, Om Prakash Singh, Vidya Sagar, linux-pci,
	linux-kernel, Kunihiko Hayashi

This series has two fixes for core_init_notifier feature.

Fix the bug that the driver can't register its notifier function
if core_init_notifier == true and linkup_notifier == false.

If enabling the controller is delayed due to core_init_notifier, 
accesses to the controller register should be avoided rather than
enabling the controller.

Changes since v1:
- Add Acked-by and Reviewed-by lines

Kunihiko Hayashi (2):
  PCI: endpoint: pci-epf-test: register notifier if only
    core_init_notifier is enabled
  PCI: designware-ep: Fix the access to DBI/iATU registers before
    enabling controller

 drivers/pci/controller/dwc/pcie-designware-ep.c | 81 +++++++++++++------------
 drivers/pci/endpoint/functions/pci-epf-test.c   |  2 +-
 2 files changed, 42 insertions(+), 41 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-02-10 11:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01  5:15 [PATCH v2 0/2] PCI: endpoint: Fix core_init_notifier feature Kunihiko Hayashi
2021-09-01  5:16 ` [PATCH v2 1/2] PCI: endpoint: pci-epf-test: register notifier if only core_init_notifier is enabled Kunihiko Hayashi
2021-12-03  4:35   ` Kishon Vijay Abraham I
2021-09-01  5:16 ` [PATCH v2 2/2] PCI: designware-ep: Fix the access to DBI/iATU registers before enabling controller Kunihiko Hayashi
2021-12-03  5:06   ` Kishon Vijay Abraham I
2021-12-06 11:23     ` Lorenzo Pieralisi
2022-01-05 10:43       ` Kunihiko Hayashi
2022-01-05 15:46         ` Manivannan Sadhasivam
2022-02-10 11:02     ` Manivannan Sadhasivam
2022-02-10 11:04   ` Manivannan Sadhasivam
2021-09-16 11:30 ` [PATCH v2 0/2] PCI: endpoint: Fix core_init_notifier feature Kunihiko Hayashi
2021-12-01 15:04   ` Lorenzo Pieralisi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.